How to retrieve the CA View report output to a dataset by DD?
search cancel

How to retrieve the CA View report output to a dataset by DD?

book

Article ID: 241296

calendar_today

Updated On:

Products

View

Issue/Introduction

Looking for a batch job or utility that can be used to retrieve the CA View report output and send it to a dataset.

Environment

Release : 14.0

Component : View

Resolution

Report output can be retrieved to a dataset by DD by using the below SARBCH  /PRINT utility: 

//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=*
//RPTXXXXX DD  DSN=<Dataset Name>,                    
                              DISP=nnn, UNIT=nnnnn,VOL=SER=nnn,                       
                              SPACE=nnn,DCB=nnn
//SYSIN    DD  *
/PRINT ID=nnnnn GEN=nnn SEQ=nnn DDNAME=RPTXXXXX 
           BANNER=* DSLIST=(ddname,stepname,proc_stepname)                                      

/*

Note: the 'ddname' in DSLIST parameter specifies the qualified data definition name within the SYSOUT group to be printed.

 

Additional Information

Please refer to the following link for more details about PRINT control statement in SARBCH Utility,

https://techdocs.broadcom.com/us/en/ca-mainframe-software/traditional-management/ca-view/14-0/reference/use-sarbch-utility-to-collect-output/sarbch-control-statements/print-control-statement.html