View previous topic :: View next topic
|
Author |
Message |
karthik_sripal
New User
Joined: 28 Mar 2008 Posts: 69 Location: 125.16.180.5
|
|
|
|
Can we do Date format conversion using sort ??
say my input file records is like
i want my output file record as
possible ?? if so how ??
Thanks!! |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
karthik_sripal,
The following DFSORT JCL will give you the desired results
Code: |
//STEP0100 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD *
10223
//SORTOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
INREC BUILD=(1,5,Y2T,TOGREG=(Y4T(-)))
//* |
|
|
Back to top |
|
|
karthik_sripal
New User
Joined: 28 Mar 2008 Posts: 69 Location: 125.16.180.5
|
|
|
|
Thank you so much Kolusu . Once again i wanna salute to your team for good support and for this wondefull product.
all that is required when it comes to sort is that you need to belive it can be done.
thanks again.!! |
|
Back to top |
|
|
|