The below sort card is failing with SE37. My input file is a VB file with LRECL of 250 and contains almost 390million records, exact count is 389195973.
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
From Z/OS DFSORT MSGS/CDS
Quote:
E37 ¦ A SORTOUT or OUTFIL data set was allocated on a ¦
¦ primary volume that had either insufficient storage or ¦
¦ excessive fragmentation, and no secondary volume was ¦
¦ specified. Specify more than one volume in the VOLSER ¦
¦ parameter for the SORTOUT or OUTFIL data set or ¦
¦ compress the volume to allow it to contain the full 16 ¦
¦ extents. ¦
Please post the exact message and code from SORT step.
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
Increasing the SORTWORK file won't help, specially when we don't know if the DYNALLOC is set to Y or N. (Per your posts, it looks like it should be set to Y.)
Instead of increasing the SORTWORK what happened when you increased the SPACE for SORTOUT?
Quote:
Even i tried to route the output to a TAPE file, but no luck.
If the input, SORTIN, is on DASD and you use 'refer-back' as your code shows using DCB=*.SORTIN, you might potentially waste a lot of TAPE, said that it won't help you.
Specifies the maximum number of volumes that an OUTPUT data
set requires. This is a decimal number in the range 1
through 255, inclusive - the total number of output volumes
for a DD statement may not exceed 4,096 volumes, however.