gtpg2m3iGeneral Macros

REHKA-Rehook Core Block

This general macro transfers the information from a specified 8-byte field to a specified core block reference word (CBRW) in the ECB, and zeroes the 8-byte field. This allows access to the specified block by successive ECBs. If the field specified is in protected application or global storage, the GLMOD and KEYRC macros are used to allow modification of the specified field and restoration of the working storage protect key. The core block referenced by the 8-byte field must have been unhooked by using the UNHKA macro. The UNHKA and REHKA functions are designed for use by programs with unique buffering requirements.

Format




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

FIXCEL
This parameter is used to specify the address of the data field.

address
The operand 'address' must be the symbolic address of the 8-byte field that will be placed in the requested CBRW.

GLOB
The parameter specifies where the FIXCEL address resides in storage.

YES
YES means the specified FIXCEL area is in global area 1. This is the default if GLOB is not coded.

NO
NO means the specified FIXCEL area is not in protected application or global storage.

symbol
The operand 'symbol' must represent a protected application or global storage area corresponding to the FIXCEL area location. Valid symbols are GLOBAL1, GLOBAL2, GLOBAL3 and APL1.

LEVEL
This parameter is used to specify a core block level.

literal
A valid ECB data level (D0-DF). If not coded level 6 is assumed.

Entry Requirements

Return Conditions

Programming Considerations

Examples