Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts How to build one file from two input ... daniele DFSORT/ICETOOL 5 Tue Feb 27, 2018 6:45 pm
No new posts ABENDED S000 U0922 Vignesh Sid DB2 3 Thu Feb 01, 2018 3:20 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us