Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Job abended while SORTING Files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
k.junaid83

New User


Joined: 19 Apr 2006
Posts: 22
Location: bangalore

PostPosted: Mon Apr 02, 2007 7:26 pm    Post subject: Job abended while SORTING Files
Reply with quote

I have a Job which is sorting huge files. My job looks like

Code:

//STEP01   EXEC PGM=SORT,REGION=0M
//SYSOUT   DD SYSOUT=(,)           
//SORTIN   DD DSN=xxx.xxx.xxx,DISP=SHR
//              DD DSN=xxx.xxx.xxxx,DISP=SHR
//              DD DSN=xxx.xxx.xxxx,DISP=SHR
//SORTOUT  DD DSN=&&SRTFILE1,                           
//          DISP=(,PASS,DELETE),                         
//          DCB=(BLKSIZE=0,LRECL=32400,RECFM=FB,DSORG=PS)
//          SPACE=(CYL,(500,500),RLSE),                 
//          UNIT=(SYSDA,30)                             
//SYSIN DD DISP=SHR,DSN=GFVKIH.FCGHN.JCLPARM(PARM101)


The PARM101/SORT Card looks like
Code:

SORT FIELDS=(5000,10,CH,A),DYNALLOC=(SYSDA,30)
SUM FIELDS=NONE


The Message in the SYSOUT is
Code:

ICE084I 0 EXCP ACCESS METHOD USED FOR SORTOUT                                   
ICE084I 0 BSAM ACCESS METHOD USED FOR SORTIN                                   
ICE750I 0 DC 48060187500 TC 0 CS DSVUU KSZ 14 VSZ 14                           
ICE752I 0 FSZ=1478775 RC  IGN=0 E  AVG=32504 0  WSP=62429606 C  DYN=984984 53216
ICE046A 0 SORT CAPACITY EXCEEDED - RECORD COUNT 1454322                         
ICE753I 1 FWK=(24,984984) SWK=(0,0) TWK=(0,0) RWK=(0,0) TOTAL=(24,984984) BLK=53216
ICE751I 1 DE-K10929 D5-K05352 C4-K90000 E8-K90000                               
ICE052I 0 END OF DFSORT                                                         


The Job is bending with S000 , USER COMPLETION CODE=0046
My question is even though I am allocating Sort space Dynamically why the job is abending.
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


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

PostPosted: Mon Apr 02, 2007 8:40 pm    Post subject:
Reply with quote

This has nothing to do with the SORTOUT space, so the comments about SORTOUT are irrelevant.

The ICE046A indicates there wasn't enough work space to complete the sort. DFSORT processed 1.4+ million records, but then ran out of work space. Approx. how many records do the three concatenated input files actually contain? What is the approx. average record length (if you know)?

If you add the following to the job:

//SORTDIAG DD DUMMY

to get diagnostic messages, rerun it and send me all of the JES and DFSORT messages offline (yaeger@us.ibm.com), I'll take a look at the diagnostic messages to see what's going on. In your offline note, please put "DFSORT" in your Subject line to catch my attention.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 6 Thu May 25, 2017 3:49 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us