Posted: Wed May 09, 2007 9:28 am Post subject: Improve performance of Sort and OMIT COND in the same step?
I have a job which sorts three files into one file. But to do this task it takes almost 55 mins...Will SORTWK files improve the runtime of syncsort????
now I have a requirement to remove particular records while sorting, i.e I have to remove the records which have date other than 20070605 data at position 12.can I code OMIT COND in the same STEP. Pls advice. Any help is greatly appreciated..
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Thu May 10, 2007 5:17 am Post subject:
vak255,
You know you would learn more if you had that investigated yourself. A simple search for DYNALLOC in any sort manual and you would have found the answer yourself. I specifically did not explain everything as I want you also to do some legwork. Trust me you will learn a lot
I have tried with and without the below option, for both the cases I am getting the same results i.e the Job is taking same time to complete...almost 45mins.
Quote:
OPTION DYNALLOC=(SYSDA,5)
Is there a way to optimize this to reduce the runtime. Is there any optimization manual available?
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
Posted: Mon May 21, 2007 2:09 pm Post subject:
1600 cyls prime allocation and 250 secondary. Must be really big files so no wonder it takes a long time. How many records are involved? It may not help but have you tried extracting the records by processing each file in separate steps and then merging the 3 extracts together? _________________ Utility and Program control cards are NOT, repeat NOT, JCL.
I changed the input file for quick testing and also ran STROBE for the step.
Quote:
CPS TIME PERCENT - 15.89
WAIT TIME PERCENT - 84.11
RUN MARGIN OF ERROR PCT - 2.30
CPU MARGIN OF ERROR PCT - 5.77
TOTAL SAMPLES TAKEN - 3,813
TOTAL SAMPLES PROCESSED - 1,812
INITIAL SAMPLING RATE- 16.67/SEC
FINAL SAMPLING RATE - 4.17/SEC
SESSION TIME - 8 MIN 4.08 SEC
CPU TIME - 0 MIN 30.63 SEC
WAIT TIME - 2 MIN 42.08 SEC
STRETCH TIME - 4 MIN 51.36 SEC
Here I see wait time accts to 84 percent, can anyone help me in understanding this report as I am new to STROBE and unfortunately i don't have STROBE manual to refer to...
I am guessing why its 84% of wait time.
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