gtpg2m0z | General Macros |
Use the CNOSC general macro with the INITIALIZE verb specified to initialize the LU 6.2 session limit and the contention-winner polarities for parallel or single session connections.
Format
|
The specified limit must be greater than zero and greater than or equal to the sum of the numbers specified in the CONW and CONL parameters. If you do not specify LIMIT, the value defaults to 2.
If you specify MODE=SNASVCMG, do not specify LIMIT; the value is set to 2.
If you specify MODE=singmode, do not specify LIMIT; the value is set to 1.
If you do not specify LOCAL, the value is the default local TPF/APPC LU. The default local TPF/APPC LU is defined using the MSGRTA macro. See TPF System Generation for more information about the MSGRTA macro.
The specified number must be zero or greater and the sum of this number and the number specified for CONL cannot exceed the number specified with LIMIT. If you do not specify CONW, the value defaults to 0.
If you specify MODE=SNASVCMG, do not specify CONW; the value is set to 1.
If you specify MODE=singmode, do not specify CONW; the value is set to 0.
The specified number must be zero or greater and the sum of this number and the number specified for CONW cannot exceed the number specified with LIMIT. If you do not specify CONL, the value defaults to 0.
If you specify MODE=SNASVCMG, do not specify CONL; the value is set to 1.
If you specify MODE=singmode., do not specify CONL; the value is set to 0.
Entry Requirements
See Entry Requirements for the entry requirements relating to the CNOSC macro in general.
Symbolic Name | Primary Code | Secondary Code |
---|---|---|
CNOSRC_OK | 0000 | |
CNOSRC_AS_SPECIFIED | .... | 00000000 |
CNOSRC_AS_NEGOTIATED | .... | 00000004 |
CNOSRC_PARAMETER_ERROR | 0004 | |
CNOSRC_INVALID_LU | .... | 00000014 |
CNOSRC_INVALID_MODE | .... | 00000018 |
CNOSRC_NON_ZERO_LIMIT_REQ | .... | 0000001C |
CNOSRC_SUM_ERROR | .... | 00000024 |
CNOSRC_LOCAL_LU_INVALID | .... | 0000003C |
CNOSRC_INVALID_CDRM | .... | 00000040 |
CNOSRC_CDRM_NOT_ACTIVE | .... | 00000044 |
CNOSRC_MAX_SESSION_EXCEED | .... | 00000054 |
CNOSRC_CP_NOT_VALID | .... | 00000068 |
CNOSRC_CP_NOT_ACTIVE | .... | 0000006C |
CNOSRC_ALLOC_ERROR | 0008 | |
CNOSRC_RETRY_LATER | .... | 0000000C |
CNOSRC_NO_RETRY | .... | 00000010 |
CNOSRC_RACE_REJECT | 000C | |
CNOSRC_RESOURCE_FAILURE | 0014 | |
CNOSRC_NO_RETRY | .... | 00000010 |
CNOSRC_HOST_VIOLATION | .... | 00000060 |
CNOSRC_LOCAL_NOT_ACTIVE | .... | 00000064 |
CNOSRC_LIMIT_CLOSED | 0018 | |
CNOSRC_LIMIT_NOT_ZERO | 001C | |
CNOSRC_INVALID_REQ | 0020 | |
CNOSRC_INVALID_STATE | .... | 00000030 |
CNOSRC_LOCAL_LU_MISMATCH | 0024 |
Programming Considerations
See TPF ACF/SNA Data Communications Reference for more information about how the TPF system selects the path to use when starting a new LU-LU session.
Examples
SYMB100 CNOSC INITIALIZE, X LUNAME=EBX024, X MODE=EBW080, X LIMIT=EBW020, X CONW=(R4), X CONL=(R3), X RCODE=EBX000