r23051984
New User
Joined: 24 May 2009 Posts: 10 Location: chennai
|
|
|
|
hi all,
I am using the below JCL for..
a) Sorting the input files,
b) Skipping the first record which is always header
c) formatting and outrec the necessary fields.
d) writing the output to the file
e) Removing the duplicates
This particular Sort step is taking more than 4 hours to complete, my Input file details
LRECL = 126
RECFM = FB
Total counts = 145601566
Is there any other way to reduce the steps (inside the Sysin statement) to tune the performance..
Code: |
//SYSIN DD *
SORT FIELDS=(100,9,CH,A,109,4,CH,A,113,11,CH,A),
SKIPREC=1,STOPAFT=145601566
OUTREC FIELDS=(1:1,06,PD,EDIT=(TTTTTTTTTTT),12:7,2,BI,EDIT=(TTTT),
16:9,3,19:12,21,40:33,4,44:37,4,48:41,2,BI,EDIT=(TTTT),
52:43,1,53:44,30,83:74,26,109:100,09,118:109,04,
122:113,11,133:124,03)
OUTFIL FNAMES=SORTOUT
SUM FIELDS=NONE,XSUM
/* |
|
|