Is there any batch utility for printing the contents of QREVIEW?
QREVIEW lists the contents of abend situations but can only be viewed online.
The is no batch print utility for QREVIEW
However, the DCUF SIMULATE command can be used in a UCF/Batch job to do this.
Use the following SYSIPT in your UCF/Batch job stream:-
//SYSIPT DD *
SIGNON userid password%ENTER
DCUF SIMULATE OFF
Replace “userid” and “password” with your own values.
The 4 will cause the contents of the first QREVIEW item to be printed.
To print others, increment it each time.
5 will print the second item, 6 will print the third, etc.
Note there is no functional link between QREVIEW and DCUF SIMULATE.
DCUF SIMULATE can be used to simulate any online activity and list the screen contents to the output of the batch job.