Prevent SE37 in library



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Prevent SE37 in library

Postby samb01 » Mon Dec 02, 2019 7:09 pm

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.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Prevent SE37 in library

Postby Robert Sample » Mon Dec 02, 2019 8:13 pm

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).
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Prevent SE37 in library

Postby samb01 » Mon Dec 02, 2019 9:10 pm

Thank you Robert Sample for your answer.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post