Fetch records using JCL based on current date (yyyy-mm-dd)
Posted: Thu Dec 01, 2016 6:50 pm
I have a file of record length 592 . I have a date field in yyyy-mm-dd format . Now, i should get records only of current date.
I have written jcl code
SORT FIELDS=COPY
INCLUDE COND=(583,7,ZD,EQ,DATE1P)
This is working only for format yyyymmdd but my requirement is to get records of current date which has format yyyy-mm-dd
can anyone please help me ?
I have written jcl code
SORT FIELDS=COPY
INCLUDE COND=(583,7,ZD,EQ,DATE1P)
This is working only for format yyyymmdd but my requirement is to get records of current date which has format yyyy-mm-dd
can anyone please help me ?