A question for the DFSort experts.
I have a job that fails with
ICE085A 0 SECOND COMMUNICATION AREA SPACE EXCEEDED - ADD AT LEAST 0K BYTES TO 
REGION
I understand what the message manual is telling me (reduce the complexity of 
the application), but how do I determine what the limits are or what clauses 
influence the memory usage?

The JCL is pretty straightforward
//SORT         EXEC PGM=ICEMAN
//SYSOUT   DD  SYSOUT=*
//SORTIN    DD DISP=SHR,DSN=U762837.PERM.ANLA.RAW
//SYMNAMES  DD DISP=(OLD,DELETE),DSN=&&SYMNAMES
//OUT       DD DUMMY
//SYSIN     DD DISP=(OLD,DELETE),DSN=&&OUTREC

The control statements after symbol substitution, as shown by sort:

ICE282I 0 PERFORMING SYMBOL SUBSTITUTION AS NEEDED
ICE805I 1 JOBNAME: SSSAPEX5 , STEPNAME: EXTRACT
ICE802I 0 BLOCKSET     TECHNIQUE IN CONTROL
ICE143I 0 BLOCKSET     COPY  TECHNIQUE SELECTED
ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES 
AND MORE
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R12 - 13:09 ON TUE 
APR 02, 2019 -
           OPTION COPY,NOVLSHRT,MAINSIZE=MAX
           OUTFIL 
FNAMES=OUT,VTOF,OUTREC=(5,2,C'|',7,1,BI,TO=ZD,LENGTH=2,C'|',8,1*
                         
,C'|',9,2,C'|',11,3,C'|',14,8,C'|',22,3,C'|',28,2,C'|',3*
                         
0,1,C'|',31,6,C'|',40,6,C'|',46,12,C'|',61,1,C'|',62,4,C*
                         
'|',66,8,C'|',74,8,C'|',82,1,C'|',83,4,C'|',87,4,C'|',91*
                         
,4,C'|',96,11,C'|',107,15,C'|',122,2,C'|',124,8,C'|',132*
                         
,8,C'|',140,3,C'|',143,1,C'|',147,10,C'|',157,1,BI,TO=ZD*
                         
,LENGTH=2,C'|',158,2,C'|',160,8,C'|',168,8,C'|',176,2,C'*
                         
|',178,8,C'|',186,8,C'|',194,2,C'|',196,8,C'|',204,8,C'|*
                         
',212,2,C'|',214,8,C'|',222,8,C'|',230,2,C'|',232,8,C'|'*
                         
,240,8,C'|',252,8,C'|',260,2,C'|',262,2,C'|',267,2,PD,TO*
                         
=ZD,LENGTH=3,C'|',269,4,C'|',273,2,C'|',275,1,C'|',276,1*
                         
,C'|',280,8,C'|',288,8,C'|',296,8,C'|',308,8,C'|',316,3,*
                         
C'|',319,12,C'|',331,8,C'|',346,8,C'|',354,8,C'|',362,8,*
                         
C'|',370,8,C'|',378,2,C'|',383,25,C'|',408,25,C'|',433,2*
                         
5,C'|',458,25,C'|',486,4,C'|',490,7,PD,EDIT=(IIIIIIIIIII*
                         
.II),C'|',509,6,PD,EDIT=(IIIIIIIII.II),C'|',515,3,C'|',5*
                         
18,25,C'|',543,8,C'|',551,8,C'|',559,6,PD,EDIT=(IIIIIIII*
                         
I.II),C'|',565,6,PD,EDIT=(IIIIIIIII.II),C'|',571,8,C'|',*
                         
579,2,C'|',581,7,PD,EDIT=(IIIIIIIIIII.II),C'|',591,2,C'|*
...
                         
169,6,PD,EDIT=(IIIIIIIII.II),C'|',3175,6,PD,EDIT=(IIIIII*
                         
III.II),C'|',3181,6,PD,EDIT=(IIIIIIIII.II),C'|',3187,3,P*
                         
D,EDIT=(III.II),C'|',3190,6,PD,EDIT=(IIIIIIIII.II),C'|',*
                         3196,8,C'|',3207,8,C'|',3215,8,C'|',3226,81)
ICE085A 0 SECOND COMMUNICATION AREA SPACE EXCEEDED - ADD AT LEAST 0K BYTES TO 
REGION
ICE751I 0 C5-K76982 C6-K90026 E7-K95469
ICE052I 3 END OF DFSORT

If anybody wants to see the complete list, let me know. There are 473 input 
fields that are copied over, some of them converted, with '|' inserted as 
separator.
I realize this is z/OS 1.12 and not supported. This is an older system that we 
hope to retire later this year. The job in question will be used to extract 
tape data to import into another solution before we turn off the system.

I can find ways to split up the job to make it work, but would rather not. So 
my questions are
Are there any easy fixes where I use different clauses to reduce the complexity?
If not, what determines the limits? Something like "You've got xK, each field 
will use y bytes, a conversion add z bytes, etc." ? Or is it a matter of trial 
and error until I find something that works?

Thanks,
Bart

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to