View previous topic :: View next topic
|
Author |
Message |
ARUN.A.NAIR Warnings : 1 New User
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? |
|
Back to top |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
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)
/* |
|
|
Back to top |
|
|
ARUN.A.NAIR Warnings : 1 New User
Joined: 07 Mar 2007 Posts: 12 Location: MAHARASHTRA
|
|
|
|
Thanks a lot. That really helped |
|
Back to top |
|
|
|