MAINFRAME - TIP OF THE DAY :
Q. If there is a situation, where we need to code more than 255 steps in a JOB?
A. We need to split jcl into two jcls , at the end of the first jcl check the condition code and initiate the second jcl.
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
Posted: Thu Nov 09, 2006 5:33 pm Post subject: Remove Duplicates and rewrite file unsorted
I have a file that I need to remove duplicates from. When the duplicates are removed, I need an output file that is unsorted - that is, it hasn't changed the order of the original file - that I'm getting the original file minus the duplicates.
It kinda does do it - it gives me the orignal file minus the duplicates but the file is sorted - I need the file in it's original order. I don't want the file sorted sequentially. Is there something I can add to the first sorting? :o
The seqno added (appended) to the output record needs to be added in the input phase of the sort, not the output phase, that way the seqno represents the original order. _________________ Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
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