Hi,
I am generating a report through JCL and the Report is to get the statistics of the previous day.
I have used DM4/ to get the current date. But could you please advise me on how to get a previous day value from DM4?
My Input File is as below:
================================
Statistics for DD/MM/CCYY
================================
My code is as below:
SORT FIELDS=COPY
INREC IFTHEN=(WHEN=(1,1,CH,NE,C'S'),BUILD=(1,180)),
IFTHEN=(WHEN=(1,1,CH,EQ,C'S'),
BUILD=(1,15,X,DATE=(DM4/)))
I use ICETOOL and the code above replaces DD/MM/CCYY with current date. But I would like to see the previous date.
Please advise.