ENDREQ—Terminate a request

Use the ENDREQ macro to end a request, such as releasing exclusive control of a control interval containing a record.

The format of the ENDREQ macro is:

label
specifies 1 to 8 characters that provide a symbolic address for the ENDREQ macro.
RPL=address
specifies the address of the request parameter list that defines the request. Specify the address either in register notation (using a register from 1 through 12, enclosed in parentheses) or as an RX-type address.

Requirement: The ENDREQ macro must not be issued when records are being loaded into a VSAM data set (load mode). ENDREQs issued while in load mode are not processed. ENDREQ will wait for the target RPL to post and, for that reason, it should not be issued in an attempt to terminate a hung request.