REGISTRATION_FAILURE

REGISTRATION_FAILURE indicates that an attempt to register resources with the network node server failed.

VCB Structure

typedef struct registration_failure
{
   unsigned short  opcode;                /* verb operation code      */
   unsigned char   reserv2;               /* reserved                 */
   unsigned char   format;                /* format                   */
   unsigned short  primary_rc;            /* primary return code      */
   unsigned long   secondary_rc;          /* secondary return code    */
   unsigned char   data_lost;             /* previous indication lost */
   unsigned char   resource_name[17];     /* network qualified        */
                                          /* resource name            */
   unsigned short  resource_type;         /* resource type            */
   unsigned char   description[RD_LEN];   /* resource description     */
   unsigned char   reserv2b[2];           /* reserved                 */
   unsigned long   sense_data;            /* sense data               */
   unsigned char   reserva[20];           /* reserved                 */
} REGISTRATION_FAILURE;

Parameters

opcode
AP_REGISTRATION_FAILURE
format
Identifies the format of the VCB. This field is set to zero to specify the version of the VCB listed above.
primary_rc
AP_OK
secondary_rc
Equals zero.
data_lost
Specifies whether data has been lost (AP_YES or AP_NO). It is set when an internal component detects a failure that has caused a previous indication to be lost. If the data_lost flag is set to AP_YES, then subsequent data fields may be set to null. The application should issue a QUERY verb to update the information that has been lost.
resource_name
Name of resource that failed to register. This name is 17 bytes long and is right-padded with EBCDIC spaces. It is composed of two type A EBCDIC character strings concatenated by an EBCDIC dot. (Each name can have a maximum length of 8 bytes with no embedded spaces.)
resource_type
Resource type. One of the following values:

AP_NNCP_RESOURCE
AP_ENCP_RESOURCE
AP_LU_RESOURCE

description
Resource description (as specified on DEFINE_LOCAL_LU, or DEFINE_ADJACENT_NODE).
sense_data
Sense data (specified in SNA Formats).