CA View - SARGRW Syntax Inquiry
search cancel

CA View - SARGRW Syntax Inquiry

book

Article ID: 195482

calendar_today

Updated On:

Products

OM Deliver OM View

Issue/Introduction

What are the SARGRW statement, or set of statements, used to build a JCL DSN statement based on the fields found on the first View Sysout Selection List information?

 

Environment

Release : 14.0

Component : CA View

Resolution

To use program SARGRW to build a JCL DSN statement, from information found on the first View Sysout Selection List panel, the client was asked to consider using the following:

/OUTPUT "//                             DSN="       COL(1)
/OUTPUT SUBSTR(ID,1,8)                       COL(21)
/OUTPUT "."                                              COL(29)
/OUTPUT SUBSTR(JOBNAME,1,8)         COL(30)
/OUTPUT "."                                              COL(38)
/OUTPUT SUBSTR(JOBID,1,8)                COL(39)
/OUTPUT ".D"                                            COL(47)
/OUTPUT EDIT(ARCHDATE,’YYMMDD’)  COL(49)
/OUTPUT ".T"                                            COL(55)
/OUTPUT EDIT(ARCHTIME,’HHMMSS’) COL(57)