Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
Posted: Wed Mar 17, 2004 2:28 pm Post subject:
Subra,
The following DFSORT/ICETOOL JCl will give you the desired results.If you have syncsort at your shop then change the pgm name to synctool. I assumed that your input file is 80 bytes in length and is of FB Recfm.
A brief explanation of the job. We first add a seqnum to the input using seqnum, starting with a value of 2 as we want all the records after the specified string.
Now we include only the records which has 'PROCESSED B RECS' and we use the seqnum to generate a dynamic control card which actually writes all the records found after the desired string.
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