gtpg2m12General Macros

CORHC-Define and Hold Resource

This general macro is used to define to the control program a shared resource and to control access to the resource among ECBs. The macro returns control to the calling ECB only when the shared resource is available for use by the ECB. This macro is used with the CORUC macro.

Format




Notes:

  1. resource

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

resource
Is the 32-bit resource identification to be held, coded in either of the following formats:

(reg)
A register which contains the 32-bit resource identification to be held.

label1
A symbolic label that is a 4-byte field containing the 32-bit resource identification to be held.

This parameter is optional. If it is not coded, R14 must contain the 32-bit resource identification to be held.

Entry Requirements

R9 must contain the address of the ECB being processed.

Return Conditions

Programming Considerations

Examples

None.