Stand-alone log CLOSE request

A stand-alone log CLOSE request deallocates any log data sets that were dynamically allocated by previous processing. In addition, all storage that was obtained by previous functions, including the request block that is specified on the request, is freed.

Begin program-specific programming interface information.The syntax for the stand-alone log CLOSE request is:

{label} DSNJSLR   FUNC=CLOSE
                  ,RBR=(Reg. 1-12)
Keyword
Explanation
FUNC=CLOSE
Requests the CLOSE function.
RBR
Specifies a register that contains the address of the request block that this function uses. Although you can specify any register in the range 1–12, using register 1 (RBR=(1)) avoids the generation of an unnecessary load register and is therefore more efficient.
Output
Explanation
GPR 15
Register 15 contains a return code upon completion of a request. For nonzero return codes, a corresponding reason code is contained in register 0.
GPR 0
Register 0 contains a reason code that is associated with a nonzero return code that is contained in register 15. The only reason code used by the CLOSE function is 00D10030.

End program-specific programming interface information.