Accessing OUTPUT Statement Information

The exit can access the OUTPUT statement associated with the data set through a pointer (ws)-prn-output-record-ptr, defined in the cascbprn.cpy copybook. This structure is defined in the IDADOUTP.cpy copybook. For an illustration of this, please refer to the process-output-statements section of sampprnx.