This general macro causes the control program to release the entry control
block (ECB), any working storage, or program record blocks held by the ECB,
thereby ending the life of the entry in the system.
Format
- label
- is a symbolic name that can be assigned to the macro statement.
- RC=reg
- specifies the general register (R0-R7, R14, or R15) that contains
the return code to be passed back to the parent ECB.
Entry Requirements
- All held records must be released before executing an EXITC.
- The ECB reference register (R9) contains the address of the ECB being
processed before using this macro.
Return Conditions
- The contents of R14 and R15 are unknown. The contents of all other
registers are preserved across this macro call.
- The ECB and all attached core storage blocks will be released.
- No return is made to the operational program.
Programming Considerations
- This macro can be executed on any I-stream.
- Following the use of this macro, no return is made to the operational
program. This operational program may be executed for processing of
other messages. Accordingly, it may be necessary to reset temporary
counters, program switches, or other ECB-controlled resources to allow for
proper execution of this program.
- If the ECB using the EXITC macro is currently holding any file record,
control is transferred to the system error routine.
- If the ECB using the EXITC macro currently has a commit scope open,
control is transferred to the system error routine and processing ends as if a
TXRBC macro was entered.
Examples
None.