Utility to PRINT all of archived reports from View.
search cancel

Utility to PRINT all of archived reports from View.

book

Article ID: 11794

calendar_today

Updated On:

Products

View

Issue/Introduction

Utility that would allow to PRINT all of archived report data in View.

Resolution

By using a combination of two different View utility programs, View provides the ability to PRINT all of archived report data.

1. Execute the ADLIST program with the //CTLCARD DD setup to write to a dataset, and with the following control parameter:
/LIST ARCHDATE=* CCREATE(PRINT)

This will do two things. It will produce a report showing all of the reports that archived in View. And it will also write SARBCH "/PRINT" transaction records into the //CTLCARD DD file. The transaction records would look similar to the following: 

/PRINT 
ID='VICTORY-RPT' 
GEN=00060 SEQ=00002 

2. Then feed the above //CTLCARD DD file as INPUT file into SARBCH utility and run the job. (i.e. As the //SYSIN DD specification instead of a SARBCH control parameter).

Additional Information

For additional information on the SARSAM utilities, you can refer to SARSAM Routines in the View Programming Guide.