gtpg2m2sGeneral Macros

GLOBZ-Define Global Fields

This general macro calls the global definition macros for global areas 1 or 3 (or both), and establishes addressability for the user by loading a specified base register if desired. The existing global fields for global area 1 are defined in the GLOBA macro. The existing global fields for global area 3 are defined in the GLOBY macro.

See the global area program material in the TPF System Installation Support Reference.

Format




label
A symbolic name can be assigned to the macro statement.

FLD=symbol
This is an optional keyword.

If coded, global symbol will be used to determine the global area in which the record descriptor is stored.

Any one of the register keywords must be specified. Those not specified default to REGx=NO.

REGC=Rx|NO
The register designated by Rx is loaded with the address of the GL0BY area belonging to the first subsystem user of the subsystem. This keyword should be used for establishing addressability to SSU-common fields.

If coded with NO, only the GLOBAL3 DSECT macros are called; no register is loaded.

REGR=Ry|NO
If coded with Ry then segment GLOB defines all the DSECTs associated with the GLOBAL1 area; namely, GL0BA, GL0BB, GL0BC, GL0BD, GL0BE, GL0BF, and GL0BG. In addition, the register designated by Ry is loaded with the address of GL0BA.

If coded with NO, only the GLOBAL1 DSECT macros are called; no register is loaded.

At least one of the register keywords REGx must be specified.

REGS=Rz|NO
This is an optional keyword.

If coded with Rz the GLOBAL3 DSECTs are defined and the register designated by Rz is loaded with the address of GL0BY.

If coded with NO, only the GLOBAL3 DSECT macros are called; no register is loaded.

At least one of the register keywords REGx must be specified.

Entry Requirements

Return Conditions

Programming Considerations

Examples

GLOBZ   FLD=@NSCKAA,REGR=R1

R1 will be loaded with the address of the global area in which @NSCKAA resides.