HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DELETE_LU_0_TO_3
Chapter 3 445
DELETE_LU_0_TO_3
This verb is used to delete an LU used for 3270 emulation or LUA (an LU
of type 0-3).
VCB Structure
typedef struct delete_lu_0_to_3
{
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 lu_name[8]; /* LU name */
} DELETE_LU_0_TO_3;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_LU_0_TO_3
lu_name
Name of the local LU to be deleted. 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
AP_INVALID_LU_NAME