Redirecting output to a dataset on z/OS
The following procedure describes how to redirect output to a dataset on z/OS.
- Allocate a large enough dataset with the following attributes:
Organization . . . : PS
Record format . . . : VB
Record length . . . : 1028
Block size . . . . : 6144
- In the QPMON procedure add the following DD statement:
//MYOUTPUT DD DISP=SHR,DSN=<dataset name used in Step 1>
- In the LOGINI member, change the
logFilenameattribute and specify the DD name added in Step 2.
Redirecting output to a dataset may impact QPMON performance.
In addition, if the allocated dataset is not large enough QPMON will be terminated by the system with the code
*37 (B37, D37, …)