WRITE TO MCOLIB.#####.CATALOG FAILED for temporary dataset
search cancel

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

book

Article ID: 41028

calendar_today

Updated On:

Products

MICS Resource Management

Issue/Introduction

 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.#####.CATALOG FAILED. FILE IS FULL AND MAY BE DAMAGED. ERROR: FILE MCOLIB.#####.CATALOG HAS NOT BEEN SAVED BECAUSE COPY COULD NOT BE COMPLETED. NOTE: STATEMENTS NOT PROCESSED BECAUSE OF ERRORS NOTED ABOVE.

Environment

MICS Resource Management r14.x

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