Use the IAZXCTKN macro to compare two client tokens. This service should be used anytime client tokens have to be compared.
Environmental factor | Requirement |
---|---|
Minimum authorization: | Problem state, any PSW key |
Dispatchable unit mode: | Task or SRB |
Cross memory mode: | Any PASN, any HASN, any SASN |
AMODE: | 24- or 31-bit |
ASC mode: | Primary Secondary |
Interrupt status: | Enabled for I/O and external interrupts |
Locks: | The caller may hold locks, but is not required to hold any. |
Control parameters: | None |
Include the IAZXCTKN mapping macro.
None.
Before issuing the IAZXCTKN macro, the caller does not have to place any information into any register unless using it in register notation for a particular parameter, or using it as a base register.
None.
The IAZXCTKN macro is written as follows:
Syntax | Description |
---|---|
CTOKENA=ctoken addr | ctoken addr: RX-type address or address in register (2) - (13). |
CTOKENB=ctoken addr | ctoken addr: RX-type address or address in register (2) - (13). |
The IAZXCTKN parameters are explained as follows:
None.
When IAZXCTKN macro returns control to your program. GPR 15 contains a return code.
Hexadecimal Return Code | Meaning |
---|---|
00 | Meaning: CTOKENA and CTOKENB contain the same significant information. |
04 | Meaning: CTOKENA and CTOKENB contain different significant information and CTOKENA's sort information is less than CTOKENB's sort information. |
08 | Meaning: CTOKENA and CTOKENB contain different significant information and CTOKENB's sort information is less than CTOKENA's sort information. |
12 | Meaning: CTOKENA and CTOKENB contain different significant information and at least one of these ctokens contains no sort information. |
16 | Meaning: CTOKENA and CTOKENB contain different significant information but the sort information in the two ctokens is equal. This indicates a "collision" of the two ctokens. |
IAZXCTKN CTOKENA=BILL,CTOKENB=SAM