apiyan Beginner
Joined: 16 May 2009 Posts: 9 Topics: 5
|
Posted: Mon Jun 15, 2009 8:57 am Post subject: sort performance |
|
|
the below Sort card will Sort the input files,
Skip the first record which is always header, format and outrec the necessary fields, writes the output to the file
and Removes the duplicates
This particular Sort step is taking more than 4 hours to complete, my Input file details
LRECL = 126
RECFM = FB
Total counts = 145601599
I want to reduce the run time to minimise the CPU , utilisation..Can anyone help...
Code: |
SORT FIELDS=(11,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
|
|
|