WRITE TO MCOLIB.xxxxx.CATALOG FAILED for temporary dataset.

Document ID : KB000041028
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue: 

 NOTE: EOV SYSTEM SERVICE WAS NOT ABLE TO OBTAIN AN ADDITIONAL EXTENT FOR LIBRARY DATA SET SYSyyddd.Thhmmss.*,
       VOLUME NUMBER 1. SYSTEM RC = 00000B37; REASON CODE = 00000004.
ERROR: WRITE TO MCOLIB.xxxxx.CATALOG FAILED. FILE IS FULL AND MAY BE DAMAGED. ERROR: FILE MCOLIB.xxxxx.CATALOG HAS NOT BEEN SAVED BECAUSE COPY COULD NOT BE COMPLETED. NOTE: STATEMENTS NOT PROCESSED BECAUSE OF ERRORS NOTED ABOVE.

Environment:  

All supported releases of CA MICS.

Cause: 

When OBJACCESS COPY is specified, a temporary MCOLIB is allocated at the beginning of the step execution. The permanent sp.MCOLIB is dynamically allocated, copied to the temporary dataset, and deallocated.  If there is not enough space in the temporary dataset, the above error will occur.

Resolution:

1. Update sp.PARMS(JCLDEFC) and/or prefix.PARMS(JCLGENU) to increase the value for  COLIBSPACE    

2. Use JCLGENUC to regenerate ALLPROCC and submit PROCJOB1.

3. For each unit, use JCLGENU to regenerate ALLPROCU and submit PROCJOB2 and PROCJOB3.

Additional Information:

You may temporarily override the PROC allocation by specifying COLIB='xxxx,yyy' on the EXEC step of the job that failed.

To use JCLGENUC to regenerate ALLPROCC, specify ALLPROCC in sp.PARMS(JCLGENUC) and submit sp.CNTL(JCLGENUC). 

 

To use JCLGENU to regenerate ALLPROCU, specify ALLPROCU in p.PARMS(JCLGENU) and submit p.CNTL(JCLGENU).