HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DELETE_MODE
Chapter 3 455
DELETE_MODE
DELETE_MODE deletes the definition of a mode. You cannot delete
SNA-defined modes such as SNASVCMG and CPSVCMG.
VCB Structure
typedef struct delete_mode
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char mode_name[8]; /* mode name */
} DELETE_MODE;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_MODE
mode_name
Name of the mode. This is an 8-byte type-A EBCDIC
string (starting with a letter), padded on the right with
EBCDIC spaces if the name is shorter than 8
characters.
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters:
primary_rc
AP_OK
Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2
returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are: