View previous topic :: View next topic
|
Author |
Message |
prashant.k.gupta
New User
Joined: 08 Oct 2007 Posts: 6 Location: Pune
|
|
|
|
HI,
I would like to use SYNCSORT to SORT an input file on the field which contain the comp values.
Could you please help me out? |
|
Back to top |
|
|
Ajay Baghel
Active User
Joined: 25 Apr 2007 Posts: 206 Location: Bangalore
|
|
|
|
I know how to do it with DFSORT.
//xxxx EXEC PGM=SORT
Use the below sort card..
//SYSIN DD *
SORT FIELDS=(start_col,lengthinbytes,BI,A)
/*
-Ajay |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Ajay's solution should work for Syncsort as well.
If there are problems or questions, please post them here. |
|
Back to top |
|
|
prashant.k.gupta
New User
Joined: 08 Oct 2007 Posts: 6 Location: Pune
|
|
|
|
Thanx,
It's working.
Prashant |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome - thanks for letting us know
d |
|
Back to top |
|
|
|