HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
STOP_INTERNAL_PU
This verb must be issued to a running node.
3.190.1 VCB Structure
typedef struct stop_internal_pu
{
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 pu_name[8]; /* internal PU name */
unsigned char stop_type; /* type of stop requested */
} STOP_INTERNAL_PU;
3.190.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_STOP_INTERNAL_PU
pu_name
Name of the internal PU for which the SSCP-PU session will be deactivated. This is an 8-byte type-A
EBCDIC string (starting with a letter), padded to the right with EBCDIC spaces.
stop_type
Specifies how to stop the PU. Possible values are:
AP_ORDERLY_STOP
Deactivate all underlying PLU-SLU and SSCP-LU sessions before deactivating the SSCP-PU session.
AP_IMMEDIATE_STOP
Deactivate the SSCP-PU session immediately.
3.190.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.190.4 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_STOP_TYPE
The stop_type parameter was not set to a valid value.
744