Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Thu Mar 06, 2003 1:38 pm Post subject:
Vallish,
The following JCL will give you the desired results for the records which are sorted.
A brief explanation of the Job.
In step0100 We first take the input and copy it into a tempfile with lrecl of 6 and blksize 36.
In step0200, we take the file created in step0100 and contatenate the same file 6 times and we will override the lrecl to 36. By overriding the Lrecl to 36 we are reading 6 records as a single record.And now using outrec fields we are writting only the fields which we want.
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