CA View - Add ARCHDATE Date Range to Program SARGRW09
search cancel

CA View - Add ARCHDATE Date Range to Program SARGRW09

book

Article ID: 130957

calendar_today

Updated On:

Products

Deliver View

Issue/Introduction

The client requested to have a way to provide a date range for the selection of Job data using SARGRW program CVDEJCL(SARGRW09).
 

Environment

CA View - Release 12.2 and higher

Resolution

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]

/END

Note: In the above, the /IF comes before the first PRINT statement, and the /END is added after the last END.