View - Can SARGRW be used to create a report displaying particular job run information?
search cancel

View - Can SARGRW be used to create a report displaying particular job run information?

book

Article ID: 217840

calendar_today

Updated On:

Products

View

Issue/Introduction

Need help with SARGRW in creating a report showing particular job run information.

Environment

Release : 14.0

Component : CA Deliver

Resolution

In this instance, the client was looking for information that would be found in JOB records (from SARINIT JOBMODE=YES), but when the client was asked to be in a View online session and be in JOB mode, it was found that there were no records from which information could be extracted.

As the client was actually looking for information from ALL mode, it was then recommended that the client use the following SARGRW program:

/CONTROL DATABASE=view_hlq        
/SELECT SUBSTR(JOBNAME,1,3) = 'ABC'       
/IF EXECSDAT = CDATE                      
/TITLE 'ABC JOBS RUN - SNAPSHOT 9AM TODAY'
/PRINT JOBNAME 'JOBNAME' COL(1)           
/PRINT SYSID ' SYSTEM'                 
/PRINT CLASS 'CLASS'                   
/PRINT ID ' ID'                     
/PRINT EXECSDAT 'START DATE'              
/PRINT EXECSTIM ' TIME'                   
/PRINT EXECEDAT ' END DATE'               
/PRINT EXECETIM ' TIME'                   
/PRINT XCODE 'XCODE'                   
/PRINT EDIT(LINES,'ZZZZZZZZ9') ' LINES'
/PRINT EDIT(PAGES,'ZZZZZZZ9') ' PAGES' 
/END