gtps1m11System Macros

$RELRC - Release a Control Record

Use this system macro to release control records associated with TPF transaction services processing. This macro is only for use by the transaction manager (TM) and resource managers (RMs). Through the use of the $RELRC macro, the TM and RMs are able to control and release the commit scope environment.

Format




TYPE
Defines the type of control record to be released. This parameter is required. The following control record types are valid:

TMCR
Releases the transaction manager control record (TMCR).

RMCR
Releases the resource manager control record (RMCR) and all associated commit scope control records.

CCR
Releases a single commit scope control record.

ECB
Defines the area to which the TMCR is anchored. This parameter is required when you code TYPE=TMCR.

YES
Specifies that the TMCR is anchored out of the ECB at the CE2TMCR field.

NO
Specifies that the ECB TMCR anchor is not to be used. Instead, the TMCR address is supplied in the register specified in the CR parameter.

CR=Rx
A register (R1-R7) that contains the address of the record to be released. This parameter is required when you code ECB=NO, TYPE=RMCR, or TYPE=CCR.

Entry Requirements

Return Conditions

Programming Considerations

Examples

$RELRC TYPE=TMCR,ECB=YES
 
$RELRC TYPE=RMCR,CR=R2
 
$RELRC TYPE=CCR,CR=R2