Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
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

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


//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),                         
//          SPACE=(CYL,(500,500),RLSE),                 
//          UNIT=(SYSDA,30)                             

The PARM101/SORT Card looks like


The Message in the SYSOUT is

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:


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
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Adding records from two files into on... shiitiizz SYNCSORT 4 Mon Sep 19, 2016 8:41 pm
No new posts Stripping and Sorting of VB file G SRINIVASA RAO SYNCSORT 5 Wed Sep 14, 2016 1:34 pm
No new posts Icetool or Joinkeys example to compar... ishant chauhan DFSORT/ICETOOL 21 Sat Aug 20, 2016 2:40 am
No new posts stacking files on a tape Pedro JCL & VSAM 7 Wed Aug 17, 2016 11:11 pm

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