Prevent SE37 in library

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
samb01
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Skillset: quite good
Referer: by web

Prevent SE37 in library

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

Hello,

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

Code: Select all


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


is there a solution to prevent that ?

Thank's for your help.

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

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).

samb01
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Skillset: quite good
Referer: by web

Re: Prevent SE37 in library

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

Thank you Robert Sample for your answer.


  • Similar Topics
    Replies
    Views
    Last post