The DEACTIVATE_LU_0_TO_3 verb requests SNAplus2 to deactivate the
session for a particular LU for use with 3270 emulation or LUA (an LU
of type 0, 1, 2, or 3) SNAplus2 deactivates the session by sending
a TERM_SELF message to the host for the PLU-SLU session.
This verb must be issued to a running node.
VCB
Structure |
 |
typedef struct deactivate_lu_0_to_3 { AP_UINT16 opcode; /* verb operation code */ unsigned char reserv2; unsigned char format; AP_UINT16 primary_rc; /* primary return code */ AP_UINT32 secondary_rc; /* secondary return code */ unsigned char lu_name[8]; /* LU Name */ } DEACTIVATE_LU_0_TO_3; |
Supplied
Parameters |
 |
The application supplies the following parameters:
- opcode
AP_DEACTIVATE_LU_9_TO_3
- lu_name
LU name of the LU, as defined to SNAplus2. This
is an 8-byte type-A EBCDIC string, padded on the right with spaces
if the name is shorter than 8 bytes.
Returned
Parameters: Successful Execution |
 |
If the verb executes successfully, SNAplus2 returns the following parameters.
This return code can also indicate that there was no active session
for the specified LU (implying that the session has already been deactivated).
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:
- AP_INVALID_LU_NAME
The lu_name parameter did not match any defined LU name.
Appendix A “Common
Return Codes” lists further
secondary return codes associated with AP_PARAMETER_CHECK, which
are common to all NOF verbs.
Returned
Parameters: Other Conditions |
 |
Appendix A “Common
Return Codes” lists further
combinations of primary and secondary return codes that are common
to all NOF verbs.