IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Sort Abend s322


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Wed Feb 08, 2006 11:52 pm
Reply with quote

while running a sort job its abending with s322.

//SORT1 EXEC PGM=ICETOOL
//SYSOUT DD SYSOUT=*
//TOOLMSG DD SYSOUT=*
//LIST99 DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN1 DD DSN=f1,DISP=SHR
//IN2 DD DSN=f2,DISP=SHR
//T1 DD DSN=&&T1,UNIT=SYSDA,SPACE=(CYL,(50,50)),DISP=(MOD,PASS)
//OU1 DD DSN=outfile,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// LRECL=1200
//TOOLIN DD *
COPY FROM(IN1) TO(T1) USING(CTL1)
SELECT FROM(IN2) TO(T1) ON(1,28,CH) FIRST USING(CTL2)
SPLICE FROM(T1) TO(OU1) ON(1,28,CH) WITHEACH -
WITH(1202,1) USING(CTL3) KEEPNODUPS
/*
//CTL1CNTL DD *
OUTFIL FNAMES=T1,OVERLAY=(1201:C'11')
/*
//CTL2CNTL DD *
OUTFIL FNAMES=T1,OVERLAY=(1201:C'22')
/*
//CTL3CNTL DD *
OUTFIL FNAMES=OU1,INCLUDE=(1201,2,CH,EQ,C'12')
/*

while running the job abends. f1 is a huge file with 3200000+ records.

These are the messages its giving in DFSMSG. No chance for a timeout since I used to run job which are much longer than this.


MODS E35=(ICE35DU,12288)
RECORD TYPE IS F - DATA STARTS IN POSITION 1
C5-K05352 C6-Q95214 C7-K90000 C8-K05352 E4-K06751 C9-BASE E5-K90000 E6-K90000
ICEAM2 ENVIRONMENT IN EFFECT - ICETD2 INSTALLATION MODULE SELECTED
NXP0027L.SORT1 . , INPUT LRECL = 1202, BLKSIZE = 27646, TYPE = FB
MAIN STORAGE = (MAX,23865625,23865625)
MAIN STORAGE ABOVE 16MB = (23715111,23698727)
OPTIONS: OVFLO=RC4 ,PAD=RC0 ,TRUNC=RC0 ,SPANINC=RC4 ,VLSCMP=N,SZERO=Y,RESET=Y,VS
OPTIONS: SIZE=23865625,MAXLIM=2097152,MINLIM=450560,EQUALS=Y,LIST=Y,ERET=RC16 ,M
OPTIONS: VIO=Y,RESDNT=NONE,SMF=FULL ,WRKSEC=Y,OUTSEC=Y,VERIFY=N,CHALT=N,DYNALOC=
OPTIONS: RESALL=12288,RESINV=0,SVC=109 ,CHECK=N,WRKREL=Y,OUTREL=Y,CKPT=N,STIMER=
OPTIONS: TMAXLIM=10485760,ARESALL=0,ARESINV=0,OVERRGN=65536,CINV=Y,CFW=N,DSA=64
OPTIONS: VLSHRT=N,ZDPRINT=Y,IEXIT=N,TEXIT=N,LISTX=N,EFS=NONE ,EXITCK=W,PARMDD
OPTIONS: HIPRMAX=OPTIMAL,DSPSIZE=64 ,ODMAXBF=2097152,SOLRF=Y,VLLONG=N,VSAMIO=N,
OPTIONS: NULLOUT=RC0
EXCP ACCESS METHOD USED FOR T1
DC 3906932720 TC 0 CS DSVVV KSZ 32 VSZ 32
FSZ=3250360 RC IGN=0 E AVG=1208 0 WSP=5099765 C DYN=0 0
BA-K90000 BB-K06751 DA-K90000
DFSORT TERMINATED WITH S322 ABEND DURING PHASE S 1

Please help.

Thanks,
Nithin.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Thu Feb 09, 2006 12:37 am
Reply with quote

Quote:
These are the messages its giving in DFSMSG. No chance for a timeout since I used to run job which are much longer than this.


The S322 does indicate the job took longer than allowed. I don't know what you're looking for here. "No chance for a timeout" seems to be an incorrect conclusion. The new job may be running longer than the jobs you used to run for many reasons. Try giving the job more time to run.

If you think DFSORT is looping or working incorrectly, this bulletin board is NOT the place to report that. Instead, you need to open a PMR with IBM service so they can collect the needed doc and investigate the situation.
Back to top
View user's profile Send private message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Thu Feb 09, 2006 1:05 am
Reply with quote

The job hardly ran for 3 mnts and abended. I used to sun jobs longer than this so i dont think it can be time issue.
Can it be a problem since the number of records is very high and the temp dataset cannot hold that much.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Thu Feb 09, 2006 1:17 am
Reply with quote

Quote:
Can it be a problem since the number of records is very high and the temp dataset cannot hold that much.


If data set space was the issue, you would get some kind of capacity error (Sx37 ABEND), not a S322 ABEND.

Quote:
The job hardly ran for 3 mnts and abended. I used to sun jobs longer than this so i dont think it can be time issue.


The S322 abend means the job exceeded the time ALLOWED for it. For example, if you had TIME=2 on the JOB statement and it ran over 2 minutes, you'd get a S322 ABEND. I don't know what you mean when you say you used to "run jobs longer than this so I don't think it can be a time issue". For all I know, you ran those jobs with TIME=15 and you're running with TIME=2 now, or your site changed the default time to be lower than it used to be.

I think you're chasing the problem from the wrong end. Try using TIME=x where x gives the job sufficient time to run. If you have your old runs, look to see how long they actually took (elapsed time) and set your TIME parameter for that or above. Of course, that's assuming the old jobs are really comparable in filesize, memory, resource usage, etc to the new job and that nothing has changed in your system.

Maybe somebody who knows more about the TIME parameter and relevant defaults relative to the S322 ABEND can say more about this.
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Thu Feb 09, 2006 10:28 am
Reply with quote

Try changing the MSGCLASS.....


Thanks,
Rajesh
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top