In XPCREQ
- Scan the global work area (GWA) to locate a suitable CICS region; for example, the region currently processing the least number of LINK requests.
- Having decided which system to route the request to, increment the use count for this system.
- Obtain a 4-byte area in which to store the SYSID for this request (this can be allocated from the GWA to avoid issuing a GETMAIN). If the area is obtained by issuing a GETMAIN, set UEPPCTOK to the address of the storage obtained.
- Set PC_ADDR7 to the address of the 4-byte area.
- If setting PC_ADDR7 now makes it the last address, set the high-order bit in the address, and unset the high-order bit in what was previously the last address.
- Set the X'02' existence bit on in PC_BITS1 to indicate that a SYSID is specified.
- Return to CICS.