I need the output to be as shown below: The record with '8SL28' and its immediate next record to be the top records and remaining records should go to bottom. Sorting is not a problem.
Copy 1st lines to a separate file
Copy 2nd lines to a separate file
Do Join keys based on matching field to club both 1st and 2nd line into a single record
Copy only required records (67,5,ch,eq,c'8SL28').
Sort records according to requirement.
Split the single record into two halves using (1,80,/,81,80)
Ahh.....now, I understand why it is very useful to have WHEN=GROUP.
Thanks. _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard
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