Redirecting output to a dataset on z/OS


The following procedure describes how to redirect output to a dataset on z/OS.

  1. Allocate a large enough dataset with the following attributes:
    • Organization . . . : PS 
    • Record format . . . : VB 
    • Record length . . . : 1028 
    • Block size . . . . : 6144
  2. In the QPMON procedure add the following DD statement:

    //MYOUTPUT DD DISP=SHR,DSN=<dataset name used in Step 1>
  3. In the LOGINI member, change the logFilename attribute and specify the DD name added in Step 2.

    (QPMON) 
    logFilename=DD:MYOUTPUT

 

Note

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, …) 

 

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*