CA View - Add ARCHDATE Date Range to Program SARGRW09
Article ID: 130957
The client requested to have a way to provide a date range for the selection of Job data using SARGRW program CVDEJCL(SARGRW09).
CA View - Release 12.2 and higher
To do an ARCHDATE date range selection, use the following:
/IF (ARCHDATE GE 'mm/dd/yyyy') AND (ARCHDATE LE 'mm/dd/yyyy')
[SARGRW09 program, starting with PRINT, ending with DO - END]
Note: In the above, the /IF comes before the first PRINT statement, and the /END is added after the last END.