DELETE_DOWNSTREAM_LU


The Communications Server icon lets you know that there is a change in the way things operate.
This verb applies only to Communications Server.

VCB Structure

typedef struct delete_downstream_lu
{
        unsigned short  opcode;           /* verb operation code        */
        unsigned char   attributes;       /* verb attributes            */
        unsigned char   format;           /* format                     */
        unsigned short  primary_rc;       /* primary return code        */
        unsigned long   secondary_rc;     /* secondary return code      */
        unsigned char   dslu_name[8];     /* Downstream LU name         */
} DELETE_DOWNSTREAM_LU;

Supplied Parameters

The application supplies the following parameters:
opcode
AP_DELETE_DOWNSTREAM_LU
attributes
The attributes of the verb. This field is a bit field. The first bit contains the visibility of the resource to be defined and corresponds to one of the following:

AP_EXTERNALLY_VISIBLE
AP_INTERNALLY_VISIBLE

The other values that can be bit-wise ORed into this field are as follows:
AP_DELAY_IF_REQUIRED
This specifies that the downstream LU specified by dslu_name is currently active, this verb should be queued inside the Program until the LU becomes inactive. In this case, the verb is processed to completion when the LU becomes inactive.
format
Identifies the format of the VCB. Set this field to zero to specify the version of the VCB listed above.
dslu_name
Name of the downstream LU that is being deleted. This is an 8-byte alphanumeric type-A EBCDIC string (starting with a letter), padded to the right with EBCDIC spaces.

Returned Parameters

If the verb executes successfully, the Program returns the following parameter:
primary_rc
AP_OK
If the verb does not execute because of a parameter error, the Program returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
AP_INVALID_LU_NAME

AP_DSLU_ACTIVE
AP_DELAYED_VERB_PENDING

If the verb does not execute because of a state error, the Program returns the following parameters:
primary_rc
AP_STATE_CHECK
secondary_rc
AP_INVALID_LU_NAME
If the verb does not execute because the node has not yet been started, the Program returns the following parameter:
primary_rc
AP_NODE_NOT_STARTED
If the verb does not execute because the node is stopping, the Program returns the following parameter:
primary_rc
AP_NODE_STOPPING
If the verb does not execute because of a system error, the Program returns the following parameter:
primary_rc
AP_UNEXPECTED_SYSTEM_ERROR