View previous topic :: View next topic
|
Author |
Message |
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Hi all,
I am using an input file with varible blocks.In using JCLSORT i get a problem.The return code is zero but no record is found in output file .Is there any special case that i have to use for sorting when i use variable block file as input....
Please provide suggestions..
Thanks in Advance,
Muthuvel. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
muthuvel wrote: |
Is there any special case that I have to use for sorting when I use variable block file as input |
Other than accomodating the 4-byte RDW at the begining of each variable-length record, no.
Maybe you could post your dataset attributes, your SORT control parameters, and some samples of your input data? |
|
Back to top |
|
|
nal_satish
New User
Joined: 20 Jun 2005 Posts: 26 Location: Hyderabad
|
|
|
|
Hi ,
While sorting Variable length Records we need to add 4 to the position from where we want to sort. then it will work.
e.g : suppose we have 100 length variable record
we want sort from position 10 to 20 then we have to give
14 to 24 in the sort card then it will work.
Regards,
Satish.N |
|
Back to top |
|
|
|