Previous Topic: The $J6PCB MacroNext Topic: The $JCLCALL Macro


The $J6XGBL Macro

Use this macro to locate the extended global. Use only the LOCATE service.

Example:

$J6XGBL LOCATE,BASEREG=reg

This example assigns the address of the extended global to general purpose register 5. You must be in 31-bit addressing mode to properly locate an extended global on an MVS system; therefore, the $J631 macro must precede this macro.

LOCATE

$J6XGBL is a service request macro.

The only valid service request for users is LOCATE.

BASEREG=

Specifies a general purpose register to contain the address of the extended global (R1 to R15).