Based on the record statement and the FILSZ specified, DFSORT estimated it
would need 469577MB of disk work space.  Your installation default for
DYNALOC is probably the shipped default of SYSDA,4.  This is going to cause
DFSORT to allocate 4 work data sets.  The work space allocation will be
spread across three of those with one set aside to be used for recovery if
the work space requirement is larger than expected.  So with such a small
number of work data sets, you need to have at least 3 volumes with 156526MB
of free space.  Since there were not any volumes available with that much
free space, your sort failed.  On your OPTION statement you might want to
change DYNALLOC=SYSDA to DYNALLOC=(SYSDA,30).  This would cause DFSORT to
spread that 469577MB allocation across 29 work data sets (with 1 set
aside).  So now you need at least 29 volumes that have 16192MB available.
If your storage group has mostly MOD 54s or MOD27s defined, that should be
fine.  If it has something like a bunch of MOD 9s defined, you'd have to
increase DYNALLOC further to spread the work space allocation across
more/smaller work data sets.


Have a nice day,
Dave Betten
DFSMS Performance Engineer
IBM Corporation
email:  [email protected]
DFSORT/MVSontheweb at http://www.ibm.com/storage/dfsort/

IBM Mainframe Discussion List <[email protected]> wrote on
10/03/2012 03:00:19 AM:

> From: "Hunkeler Peter (KIUP 4)" <[email protected]>
> To: [email protected],
> Date: 10/03/2012 03:01 AM
> Subject: Help with DF-Sort not being able to allocat enough work
> data set space
> Sent by: IBM Mainframe Discussion List <[email protected]>
>
> We've got a Cobol program (vendor software) that finally invoked DF-Sort
> to sort a bigger amount of data. In a first try, we had JCL allocated
> sort work data sets. It turned out that the about was insufficient. I'm
> now trying to get sort to dynamically allocate the work space. It
> complains that it could not allocate sufficient space either.
>
> These are the control statements in use:
>           SORT FIELDS=(0005,0605,CH,A)
>
>           RECORD TYPE=V,LENGTH=(009332,,,000629,00003000)
>
>           OPTION MSGDDN=SYSPRINT,DYNALLOC=SYSDA,EQUALS,FILSZ=E79326420
>
>
> And these are the messages I got:
>
>    ICE201I H RECORD TYPE IS V - DATA STARTS IN POSITION 5
>
>    ICE083A D RESOURCES WERE UNAVAILABLE FOR DYNAMIC ALLOCATION OF
> WORK DATA SETS (9700)
>    ICE753I 0 FWK=(0,0) SWK=(0,0) TWK=(0,0) RWK=(0,0) TOTAL=(0,0)
> BLK=56664
>    ICE755I 0 8689607 56664 3
>
>    ICE248I 0 ATTEMPTED TO ALLOCATE 469577MB OF DISK WORK SPACE ON 3
> WORK DATA SETS
>    ICE249I 0 SUCCESSFULLY ALLOCATED 0MB OF DISK WORK SPACE ON 0
> WORK DATA SETS
>    ICE751I 0 C5-K76982 C6-K90026 C7-K58148 C8-K67572 E9-K60824
> C9-BASE   E5-K76585 E6-K58148 C4-K58148 E7-K70685
>    ICE750I 0 DC 0 TC 0 CS DSVRR KSZ 609 VSZ 609
>
>    ICE752I 0 FSZ=79326420 RE  IGN=0 C  AVG=4667 0  WSP=480847476 E
> DYN=0 56664
>    ICE052I 3 END OF DFSORT
>
>
> Msg ICE083A does not describe the meaning of the reason 9700.
>
> Also MSGs ICE248I & ICE249I confuse me.
>
>
> In the job, I see that 4 SORTWKs were allocated:
>    IGD101I SMS ALLOCATED TO DDNAME (SORTWK01)
>            DSN (SYS13009.T022354.RA000.PVA5941P.R0697859    )
>            STORCLAS (ALL$N) MGMTCLAS (        ) DATACLAS (NULL3)
>            VOL SER NOS= B24558
>    IGD101I SMS ALLOCATED TO DDNAME (SORTWK02)
>            DSN (SYS13009.T022356.RA000.PVA5941P.R0697860    )
>            STORCLAS (ALL$N) MGMTCLAS (        ) DATACLAS (NULL3)
>            VOL SER NOS= B24534
>    IGD101I SMS ALLOCATED TO DDNAME (SORTWK03)
>            DSN (SYS13009.T022356.RA000.PVA5941P.R0697861    )
>            STORCLAS (ALL$N) MGMTCLAS (        ) DATACLAS (NULL3)
>            VOL SER NOS= B22116
>    IGD101I SMS ALLOCATED TO DDNAME (SORTWK04)
>            DSN (SYS13009.T022356.RA000.PVA5941P.R0697862    )
>            STORCLAS (ALL$N) MGMTCLAS (        ) DATACLAS (NULL3)
>            VOL SER NOS= B24531
>
> Any help is appreciated.
>
> --
> Peter Hunkeler
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to