Retrieve OM View report output to a dataset by DD
search cancel

Retrieve OM View report output to a dataset by DD

book

Article ID: 241296

calendar_today

Updated On:

Products

OM View

Issue/Introduction

Looking for a batch job or utility that can be used to retrieve the OM 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: 

//SARBCH   EXEC PGM=SARBCH,PARM='your view HLQ'             
//SYSPRINT DD SYSOUT=*                                         
//REPORT   DD SYSOUT=*                                         
//RPTnnn   DD DSN=<Dataset Name>,DISP=xxx     
//SYSIN    DD *                                  
/PRINT ID=xxxxx GEN=nnn SEQ=nnn DDNAME=RPTnnn
       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:


PRINT Control Statement