gtps4m0rSystem Generation

Application Global Area

SIP for Globals

GLOBAL Macro

GLOBAL is a SIP macro that initializes fields in keypoint A to define the size of the I-stream shared or unique areas. The GLOBAL parameters must be large enough to accommodate all the globals that users intend to load from the pilot tape. Once all the STC input is coded for the pilot tape, users must calculate how many 4K blocks will be needed for each of the I-stream shared or unique areas of both primary and extended globals. The result of the calculations must then be used as the parameters for the GLOBAL macro.

When manually preparing records for STC input you can designate global records as primary area resident or extended area resident by setting the global attribute byte of the GOA to the desired option. Likewise, records that are designated I-stream shared must have the correct indicator set in the Global Attribute byte.

Where a Global resides is essentially transparent to users. The only requirement an application program must observe is that it must be in a 31-bit mode to access extended globals.

Extended Globals Considerations

The SIP GLOBAL macro, mentioned previously, is used to select extended globals. Parameters SSUXUNQ1, SSUXUNQ2, and SSUXUNQ3, are used in the same way as SSUIUNQ1, -2, and -3 to define the number of 4096-byte blocks desired for the three respective extended global areas for the main I-stream. Three other fields, SSUXSHR1, SSUXSHR2, and SSUXSHR3, provide the corresponding information as SSUISHR1, -2, and -3 for application I-streams.

If all such parameters are omitted or set to zero, the CCCTIN system initialization program generates a system with no extended globals.

If any extended global is defined, an extended globals area will be carved by CCCTIN in upper storage just below the CIO area. Its size will depend on the GLOBAL parameters just described.

GLOBAL also initializes the fields in keypoint A that indicate which load mode each subsystem user will load. This load mode is also stored in the Subsystem User Table entry for each subsystem user. When GOGO is retrieving GOA records, it will only load the entries that reside in a GOA whose GO1NUM field is equal to the Load Mode specified in the Subsystem User Table entry for the loading subsystem user.

GLSYNC Macro

To allow a global to be synchronizable, users must code a GLSYNC macro in the Stage I deck for each global field or record to be so designated.

Note:
All I-streams in an LC or TC complex must load the same file address for a particular synchronizable global record. If a synchronizable global record is I-stream unique, each I-stream must also load the same file address for that record.

For more information about globals, see TPF System Installation Support Reference.