View previous topic :: View next topic
|
Author |
Message |
priyamnavada
New User
Joined: 24 Dec 2005 Posts: 52 Location: hyderabad
|
|
|
|
Hi,
Is there any difference while sorting Variable lenght records and the fixed length records....
If there is any difference, tell me how to handle it... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
For VB records add 4 to the position of the data you wish to SORT to cater for the RDW of a VB record |
|
Back to top |
|
|
priyamnavada
New User
Joined: 24 Dec 2005 Posts: 52 Location: hyderabad
|
|
|
|
Is it possible to explain with an example? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
DATA = AAAAAA
To sort if this was FB - SORT FIELDS=(1,5,CH,A)
To sort if this was VB - SORT FIELDS=(5,5,CH,A)
A VB record has a 4 byte RDW in positions 1-4. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
Back to top |
|
|
|