Is there a batch print utility for QREVIEW?

Document ID : KB000010521
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Is there any batch utility for printing the contents of QREVIEW?

Background:

QREVIEW lists the contents of abend situations but can only be viewed online.

Environment:
CA-IDMS, all supported releases.
Instructions:

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 *
DCUF SIMULATE
SIGNON userid password%ENTER
QREVIEW%ENTER
%MOVECUR(4,3) S%ENTER
%PF3
%PF3
DCUF SIMULATE OFF
BYE

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.

Additional Information:

For more information, see the following CA IDMS DocOps pages:

DCUF SIMULATE

Simulating 3270-Type Terminals