View - Need information on offloading of Reports

book

Article ID: 221766

calendar_today

Updated On:

Products

CA View

Issue/Introduction

A user is looking for the below information:

1) Wilcdard for jobname to back up some reports. 
2) Back up of jobname in LOC=TEMP once brought back from tape. 
3) Back up data for ARCH specific date. 

Environment

Release : 14.0

Component : CA View

Resolution

The way to extract multiple text reports from a View database is to use the SARBCH /LOAD function, as shown below:

//XXXXXXXX JOB ...                                                
//SARBCH   EXEC PGM=SARBCH,PARM='VIEW_HLQ'  <=== MODIFY DB NAME   
//STEPLIB  DD  DISP=SHR,DSN=VIEW.CVDELOAD     <=== MODIFY, IF USED
//SYSPRINT DD  SYSOUT=*                                           
//REPORT   DD   SYSOUT=*                                          
//RPTOUT01 DD  DSN=XXXXXX.XXXXXX.RPTOUT01,                        
//             DISP=(,CATLG,DELETE),                              
//             UNIT=XXXX,VOL=SER=YYYYYY,                          
//             DCB=(RECFM=VB,LRECL=32756,BLKSIZE=32760),          
//             SPACE=(CYL,(NNN,NNN),RLSE)                         
//SYSIN    DD   *                                                 
/LOAD ID=XXXXXXXXXXXX GEN=NNNN SEQ=NN DDNAME=RPTOUT01   
/LOAD ID=XXXXXXXXXXXX GEN=NNNN SEQ=NN DDNAME=RPTOUT01             
/*
//

Note in the above that reports cannot be wildcarded, in that each report to be extracted needs to have its own entry, defined by ID, GEN, and SEQ. 

It is suggested to test the above with a few reports, to ensure that it gives the desired result. 

Regarding reports with a LOC of TEMP (or PTMP), it is possible only through programming a SARGRW report, to create /LOAD cards similar to those above, where again each report needs to be referred to individually. 

Regarding a specific ARCH date, again, it is possible only through progamming a SARGRW report, to create /LOAD cards as above, where each report would be referred to individually.