Page 1 of 1

Prevent SE37 in library

PostPosted: Mon Dec 02, 2019 7:09 pm
by samb01
Hello,

i'm looking a way to prevent SE37 in Library :


IEC032I E37-04,IFG0554P,JOBVRPR6,A,SGBP040F,A260,TFB034,04260
 


is there a solution to prevent that ?

Thank's for your help.

Re: Prevent SE37 in library

PostPosted: Mon Dec 02, 2019 8:13 pm
by Robert Sample
From the Message and Codes manual:
04
A data set opened for output used all space available to or on the current volume, and no more volumes were available. Change the JCL to specify more volumes.
Not enough volumes were specified for the data set, through the SER, volume count, or REF subparameter of the VOLUME parameter of the DD statement. When all the volumes were filled, the program attempted to write another record.
For a partitioned data set on a direct access volume or for a VIO data set, all space was filled when the program attempted to write another record. (A partitioned data set or a VIO data set can reside on only one volume with a maximum of 65535 tracks.)
For a partitioned data set on a direct access volume, 16 extents had been used when the program attempted to write another record.
Since PDS and PDSE are limited to one volume, you need to either move the data set to a different volume that has space available, or possibly split the data set (if it has 65535 tracks) into multiple data sets.

The short answer is that it is not possible to entirely eliminate the possibility of a SE37 for a library (since, for example, another data set could use all the free space on the volume leaving none for the library to expand into).

Re: Prevent SE37 in library

PostPosted: Mon Dec 02, 2019 9:10 pm
by samb01
Thank you Robert Sample for your answer.