MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sort performance

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
apiyan
Beginner


Joined: 16 May 2009
Posts: 9
Topics: 5

PostPosted: Mon Jun 15, 2009 8:57 am    Post subject: sort performance Reply with quote

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                                               
Back to top
View user's profile Send private message
amargulies
Beginner


Joined: 10 Jan 2007
Posts: 123
Topics: 0

PostPosted: Mon Jun 15, 2009 9:58 am    Post subject: Reply with quote

Which SORT utility and version are you running?
_________________
Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group