Posted: Wed Feb 24, 2010 11:12 pm Post subject: Two different record length files
I have a requirement where in a single GDG, I have two versions which is of different record lengths and I need to sort this GDG bases and need to write to an output file with the minimum record length format.
For ex: I have a GDG and it has two versions in it.
The first version has a record length of 100 and the second version has a record length of 120. So, I need to sort these two versions and write to the output file with a record length of 100 where I should extract only 100 bytes of the second version.
I have to do this in a single step of SORT.
Could you please let me know how to do this in SORT.
I don't understand the fascination for doing everything in a single step which in this case can turn out to be quite inefficient. Even though it is a single step , it would actually require 3 passes of data to get the desired results. But using 2 steps it would be just 2 passes of data and this is much more efficient.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum