Batch print utility for QREVIEW
search cancel

Batch print utility for QREVIEW

book

Article ID: 10521

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

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

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

Environment

Releases: All supported releases.

Resolution

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