Joined: 07 Mar 2007 Posts: 12 Location: MAHARASHTRA
Hi,
I went through the different topics but was unable to get the answer for my query.
I have a file which contains Julian date(YYYYDDD) as one of its fields. I need to use SYNCSORT to sort out the records with current julian date into another file. Can anyone help me in this?
Since you did not provide details as to what position your date field was in, nor did you provide the RECFM or LRECL of the file, let's assume the data set is FB 80 and the date field starts in the first position.
Try this:
Code:
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(1,7,CH,EQ,&DATE3)
/*