gtpg2m3m | General Macros |
This general macro checks the correctness of resource IDs (RIDs), resource vector table addresses (RVT1s and RVT2s), pseudo-LNIATAs, network addresses, and session control block IDs (SCBIDs), and session control block addresses (SCB1s and SCB2s), and converts them to other formats.
Format
|
Entry Requirements
R15 must contain an appropriate entry parameter to be validated and converted.
Return Conditions
Bytes | Label | Content |
---|---|---|
0 |
| Reserved; set to zero. |
1-3 | RIDRID3 | 3-byte RID of the network addressable unit (NAU). If the input parameter is an SCBID, SCB1, or SCB2, RIDRID3 contains the SCBID. |
1 |
| Reserved. |
2-3 | RIDRID | 2-byte RID of the NAU. |
4-7 | RIDRVT1 | Address of the RVT1 entry for the NAU. If the input parameter is an SCBID, SCB1, or SCB2, RIDRVT1 contains the address of the SCB1. |
8-11 | RIDRVT2 | Address of the RVT2 entry for the NAU. If the input parameter is an SCBID, SCB1, or SCB2, RIDRVT2 contains the address of the SCB2. |
12 | Reserved; set to zero. | |
13-15 | RIDPLIT | The pseudo-LNIATA for the NAU, if applicable.
|
16-19 | RIDSAT | When nonzero, it is the SAT entry address for the NAU. |
20-23 | RIDNETA | Network address of NAU. |
20-21 | RIDSUBA | The subarea portion of the network address. |
22-23 | RIDELEM | The element portion of the network address. |
24-25 | Reserved; set to zero. | |
26 | RIDSCBIN | SCB indicator. If the input parameter was an SCBID, SCB1, or SCB2, this byte is set to 1 (X'01'); otherwise, is set to zero. |
27 | Reserved; set to zero. |
Programming Considerations
Register R9 must contain the address of the ECB if the SVC=YES option is selected.
Examples