DLUR_LU_INDICATION
This indication is generated whenever a DLUR LU is activated or deactivated. This allows a registered application to maintain a list of currently active DLUR LUs.
VCB Structure
typedef struct dlur_lu_indication
{
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 reason; /* reason for this indication */
unsigned char lu_name[8]; /* LU name */
unsigned char pu_name[8]; /* PU name */
unsigned char nau_address; /* NAU address */
unsigned char reserv5[7]; /* reserved */
} DLUR_LU_INDICATION;Parameters
- opcode
- AP_DLUR_LU_INDICATION
- 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 can be set to null. The application should issue a QUERY verb to update the information that has been lost.
- reason
- Set to AP_ADDED if the DLUR LU has just been activated by the DLUS. Set to AP_REMOVED if the DLUR LU has been deactivated, either explicitly by the DLUS or implicitly by a link failure or the deactivation of the PU.
- lu_name
- Name of the LU. This is an 8-byte alphanumeric type A EBCDIC string (starting with a letter), padded to the right with EBCDIC spaces.
- pu_name
- Name of the PU that this LU uses. This is an 8-byte alphanumeric type A EBCDIC string (starting with a letter), padded to the right with EBCDIC spaces.
- nau_address
- Network addressable unit address of the LU, which must be in the range 1–255.