You can use the information passed to the governor on the first call of a session for subsequent calls to the governor routine. You can use the 2,048-byte scratchpad areas provided in the DXEGOVA and DXEXCBA control blocks to obtain the necessary storage to hold the resource control information. These fields can contain any information you need to store. The information persists from one call to the governor to the next (if a CONNECT call doesn't change it).
The IBM-supplied governor uses the code shown in Figure 244 to address GOVUSERS, the scratchpad area in the DXEGOVA control block. You can use similar code to address the XCBUSERS scratchpad area in the DXEXCBA control block, by replacing GOVUSERS in the following example with XCBUSERS. WORK is the name of a DSECT, and WORKPTR is equated to general register 4. The WORK DSECT contains the definition for the fields that hold the information in the scratchpad areas.
The governor might also issue GETMAIN macros to obtain needed storage.
LA WORKPTR,GOVUSERS USING WORK,WORKPTR