Getting a C1LB006E open error on new ELIB

Document ID : KB000125379
Last Modified Date : 28/01/2019
Show Technical Document Details
Question:
I created a new VSAM ELIB as a listing library and now my processor is failing with these errors: 

IEC161I 080-053,DEB206OL,NDVRBAT,C1LLIBO,,,BHC1.UERECCP.LISTING, 
IEC161I BHC1.UERECCP.LISTING.DATA,SUCAT.STECH2E 
C1LB006E LIBRARY OPEN FAILED.

How do I fix them? 
Answer:
To resolve the C1LB006E Library open failed error on the new VSAM ELIB you created you need to Initialize the file. 
Below is an example of the ELIB Initialize you can use:  

/ELIBINIT EXEC PGM=BC1PNLIB
//STEPLIB  DD DISP=SHR,DSN=iprfx.iqual.CSIQAUTU
//         DD DISP=SHR,DSN=iprfx.iqual.CSIQAUTH
//         DD DISP=SHR,DSN=iprfx.iqual.CSIQLOAD
//*
//*
//*
//INITVSAM  DD
//   DSN=YOUR.ELIB.DATASET,DISP=(OLD,KEEP)
//SYSPRINT DD SYSOUT=*
//BSTERR  DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN   DD *
 INIT   DDNAME = INITVSAM
PAGE SIZE = 4088
      ALLOCATE = (749,300)
      RESERVE PAGES = 150
      DIRECTORY PAGES = 14
.
INQUIRE  DDNAME = INITVSAM
.
/*


For more information on working with ELIBS: 
https://docops.ca.com/ca-endevor-SCM/18-0/en/administrating/setting-up-elib-data-sets

If the above ELIB INIT does not resolve your problem, please contact your local Endevor Support Team.