Author: Suganya87
Subject: How to pass the previous month date in include condition
Posted: Mon Oct 31, 2016 4:13 pm (GMT 5.5)
Hi
I have requirement to automate the below JCL and control cards to run on 19 of every month
to fetch the data in 2016-09-17 & 2016-10-18
Please let me know to achieve the same
Coded
_________________
TIA
Subject: How to pass the previous month date in include condition
Posted: Mon Oct 31, 2016 4:13 pm (GMT 5.5)
Hi
I have requirement to automate the below JCL and control cards to run on 19 of every month
to fetch the data in 2016-09-17 & 2016-10-18
Code: |
//SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SORTIN DD DISP=SHR,DSN= dsn name //SORTOUT DD DSN=dsn name1, // DISP=(NEW,DELETE,DELETE), // SPACE=(CYL,(10,05)),MGMTCLAS=LUSE180, // DCB=(RECFM=FB,LRECL=58,BLKSIZE=5800) //SYSIN DD * INCLUDE COND=(001,10,CH,GE,C'2016-09-17',&, 001,10,CH,LE,C'2016-10-18') SORT FIELDS=(1,04,CH,A) END /* |
Please let me know to achieve the same
Coded
_________________
TIA