Joined: 29 Jun 2004 Posts: 106 Topics: 41 Location: Bangalore, INDIA
Posted: Wed Dec 01, 2004 4:47 am Post subject: How can we solve when SORT Capacity exceeded?
Hi Board,
In my installation we are using SYNCSORT. When I ran the JOB with less number of records it was executed fine. But when more number records are encountered it has got abended with
Joined: 29 Jun 2004 Posts: 106 Topics: 41 Location: Bangalore, INDIA
Posted: Wed Dec 01, 2004 4:50 am Post subject:
In addition to the above mentioned information I am supplying some more information. At this SORT step REGION=1M, COND=(0,NE) have been kept. Do I need to change REGION parameter with anyother value?
If I need to change the REGION parameter what value should be kept. REGION=?
(Or) Anyother solution is available? _________________ Best Regards,
----------------
Rammohan Pabba
Software Engineer
This sort control card Wastes resources. You seem to have only one input & one output file. If you use OUTFIL INCLUDE the include/omit takes place just before the records are written to the output file. But the sorting is done on the entire file.
You should use INCLUDE COND= instead of OUTFIL INCLUDE. In this case the records are eliminated before SORTING. So u have lesser no. of records to be sorted. So change ur control card as shown below.
Joined: 29 Jun 2004 Posts: 106 Topics: 41 Location: Bangalore, INDIA
Posted: Wed Dec 01, 2004 6:26 am Post subject:
Hi Phantom,
I changed my Sort Card as you suggested and I increased the REGION=3M also. Still I am getting the same abend. Is there is any other way to resolve this error. _________________ Best Regards,
----------------
Rammohan Pabba
Software Engineer
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
Posted: Wed Dec 01, 2004 6:37 am Post subject:
Ramu,
What is the size of the Input file (No. of records) ?
Did u allocate any SORTWORK datasets yourself ? If so, remove the SORTWK datasets. Its better to let SORT allocate the WORK datasets dynamically depending on the file size.
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Wed Dec 01, 2004 6:38 am Post subject:
ramu_mohan21,
I am assuming that your input file is a tape. Since you are sorting you need SORTWORK datasets also. Post your JCL and entire SYSOUT messages from your sort step.
Joined: 29 Jun 2004 Posts: 106 Topics: 41 Location: Bangalore, INDIA
Posted: Wed Dec 01, 2004 6:47 am Post subject:
Hi Kolusu,
Yes you are right. The input file is Tape File.
Quote:
JOB29338 ---- WEDNESDAY, 01 DEC 2004 ----
JOB29338 $HASP373 RMP0I0A STARTED - INIT 24 - CLASS Z - SYS SYSN
JOB29338 ACF9CCCD USERID RMP0I0 IS ASSIGNED TO THIS JOB - RMP0I0A
JOB29338 IEF403I RMP0I0A - STARTED - TIME=06.25.47
JOB29338 IEF233A M 1305,SCRTCH,SL,RMP0I0A,PROCSTP1
JOB29338 _ --TIMINGS (MINS.)--
JOB29338 _JOBNAM STEPNAME PROCSTEP RC EXCP CPU SRB CLOCK SERV
JOB29338 _RMP0I0A PROGSTP1 PROCSTP1 00 39 .00 .00 .0 41
JOB29338 IEF233A M 1301,470936,,RMP0I0A,PROCSTP2, 453
EHAH.EHPT010M.ITCP6800.UNLD.FILE1.G0084V00
JOB29338 IEF233A M 1337,PRIVAT,SL,RMP0I0A,PROCSTP2,TEST.CR84003.FDBFILE.SRTFL0
JOB29338 +WER268A RMP0I0A ,PROGSTP1,PROCSTP2-INCLUDE STATEMENT : SYNTAX ERROR
JOB29338 +WER275A RMP0I0A ,PROGSTP1,PROCSTP2-NO KEYWORDS FOUND ON CONTROL STATE
JOB29338 +WER275A RMP0I0A ,PROGSTP1,PROCSTP2-NO KEYWORDS FOUND ON CONTROL STATE
JOB29338 +WER275A RMP0I0A ,PROGSTP1,PROCSTP2-NO KEYWORDS FOUND ON CONTROL STATE
JOB29338 IEF450I RMP0I0A PROCSTP2 PROGSTP1 - ABEND=S000 U0016 REASON=00000000
TIME=06.25.50
JOB29338 IEF234E K 1301,470936,PVT,RMP0I0A,PROCSTP2
JOB29338 _RMP0I0A PROGSTP1 PROCSTP2 U0016 14 .00 .00 .1 349
JOB29338 _RMP0I0A PROGSTP1 PROCSTP3 FLUSH 0 .00 .00 .0 0
JOB29338 _RMP0I0A PROGSTP1 PROCSTP4 FLUSH 0 .00 .00 .0 0
JOB29338 _RMP0I0A PROGSTP1 PROCSTP5 FLUSH 0 .00 .00 .0 0
JOB29338 IEF404I RMP0I0A - ENDED - TIME=06.25.56
JOB29338 _RMP0I0A ENDED. NAME-EHIMS-Q/10 TOTAL CPU TIME= .00 TOT
JOB29338 $HASP395 RMP0I0A ENDED
S2 JOB STATISTICS ------
2004 JOB EXECUTION DATE
28 CARDS READ
328 SYSOUT PRINT RECORDS
0 SYSOUT PUNCH RECORDS
27 SYSOUT SPOOL KBYTES
0.15 MINUTES EXECUTION TIME
Above is the SYSOUT message. Pleaset look into and refer me the solution. I will try with SORTWORK files also and I will let your know the result. _________________ Best Regards,
----------------
Rammohan Pabba
Software Engineer
Still I'm getting the same abend. How much space should I increa in SPACE parameter of the SORTWK files. _________________ Best Regards,
----------------
Rammohan Pabba
Software Engineer
Joined: 29 Jun 2004 Posts: 106 Topics: 41 Location: Bangalore, INDIA
Posted: Wed Dec 01, 2004 7:24 am Post subject:
Hi Kolusu & Phantom,
I'm sorry for not posting the SYSOUT message.
Here is the SYSOUT message shown below:
Quote:
SYNCSORT FOR Z/OS 1.1CR TPF2 U.S. PATENTS: 4210961, 5117495 (C) 2002 SYNC
EMPIRE BLUE CROSS / BLUE SHIELD z/OS 1.4
PRODUCT LICENSED FOR CPU SERIAL NUMBER 11F57, MODEL 2064 103 LICEN
SYSIN :
INCLUDE=((18,2,CH,EQ,C'11',OR,18,3,CH,EQ,C'221',OR,
*
(18,2,CH,EQ,C'38',AND,35,3,CH,NE,C'999')),AND,
*
(22,2,CH,EQ,C'1A',OR,
*
22,2,CH,EQ,C'A5',OR,22,2,CH,EQ,C'05'))
*
SORT FIELDS=(1,17,CH,A,18,2,CH,A,22,2,CH,A)
OUTFIL FNAMES=SORTOUT
WER268A INCLUDE STATEMENT : SYNTAX ERROR
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
I found the error in SORT card and I changed the SORT card as you suggested and submitted the JCL again. Here TAPE file as an input. Hence it is taking lot of time. I will let you know the result soon.
Thank you very much Phantom and Kolusu for suggesting me solution. I learnt so many things today. _________________ Best Regards,
----------------
Rammohan Pabba
Software Engineer
Joined: 29 Jun 2004 Posts: 106 Topics: 41 Location: Bangalore, INDIA
Posted: Wed Dec 01, 2004 9:00 am Post subject:
Hi Kolusu & Phantom,
Now the job has been completed successfully. The problem has been resolved. Thank you very much for suggesting me the efficient solution. _________________ Best Regards,
----------------
Rammohan Pabba
Software Engineer
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Wed Dec 01, 2004 9:47 am Post subject:
Ramu_mohan21,
You can also add FILSZ parm to your sort which provides an estimate of the number of input file records for a sort or merge operation.This parameter helps the sort optimize its performance. In most cases, SORT can determine the file size automatically, so FILSZ isn't needed. Sometimes SORT cannot determine the file size (1) when an E15 supplies all of the input records and (2) when the input is a data set on tape that isn't managed by SMS.
Since your input is on tape, you can provide an estimate of the total no: of records. Right now if your input file has 20 million records (20000000) then take into consideration for 20% of growth of current no: of records.
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
Posted: Wed Dec 01, 2004 10:11 am Post subject:
Good that everything is working fine now.
Just Go thro' the DFSORT flow diagram that was provided in my previous post. Always try to minimize the records that are being processed (using SKIPREC, STARTREC, INCLUDE/OMIT etc...) so that the job uses less resources & be more efficient.
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