gtpg2m2s | General Macros |
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
|
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.
If coded with NO, only the GLOBAL3 DSECT macros are called; no register is loaded.
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.
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
The contents of all other registers are preserved across this macro call.
Programming Considerations
For example, if FLD=@GBFLD,REGS=R1 is coded and the @GBFLD field actually resides in global area 1, then R1 is loaded with the base address of global area 1, even though REGS (indicating global area 3) was specified.
Examples
GLOBZ FLD=@NSCKAA,REGR=R1
R1 will be loaded with the address of the global area in which @NSCKAA resides.