C1LB002S LIBRARY IS NOT ENDEVOR LIB DATASET message.
search cancel

C1LB002S LIBRARY IS NOT ENDEVOR LIB DATASET message.

book

Article ID: 28457

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Successfully used IDCAMS to create a new ENDEVOR ELIB but when BC1PNLIB attempts to initialize the file received the following message:   

C1LB002S LIBRARY IS NOT ENDEVOR LIB DATASET.

  

 

Environment

All supported releases 

Resolution

Just in case, don't forget to ensure that BC1PNLIB INIT references the same dataset created by IDCAMS.

Then check the attributes of the VSAM dataset:

  • It must define fixed-length records (the two values in RECORDSIZE must match)
  • RECORDSIZE values must be exactly 8 bytes less than CISIZE (and RECORDSIZE must match the page size specified in the INIT command)
  • Remember that not all CISIZEs are acceptable to VSAM. See in IDCAMS output (or by taking a LISTCAT report) whether the dataset has received a CISIZE other than the one specified. If it does not equal RECORDSIZE plus 8, message C1LB002S will arise
  • The dataset must be a VSAM ESDS. Ensure that the DEFINE CLUSTER statement specifies NONINDEXED attribute

To create the ELIB, BC1JNLIB (JCL delivered in iprfx.iqual.CSIQJCL) should have been used: 

//*-------------------------------------------------------------------
//*   STEP 1 -- ALLOCATE A VSAM ELIB                                  
//*-------------------------------------------------------------------
// INCLUDE MEMBER=SCMM@SYM                                            
//ALLOCATE EXEC PGM=IDCAMS                                            
//SYSPRINT DD SYSOUT=*                                                
//SYSIN    DD  *                                                      
 DELETE 'UPRFX.UQUAL.YOURELIB' SCRATCH                                
 DEFINE CLUSTER (NAME('UPRFX.UQUAL.YOURELIB') -                       
        RECORDSIZE(4088 4088) -                                       
        CONTROLINTERVALSIZE(4096) -                                   
        SHAREOPTIONS(3,3) -                                           
        CYLINDERS(100,100) -                                          
        NONINDEXED           -                                        
        )      -                                                      
 DATA   (NAME('UPRFX.UQUAL.YOURELIB.DATA'))                           
//*                                                                   
//*-------------------------------------------------------------------
//*   STEP 2 -- INITIALIZE THE ELIB USING THE BC1PNLIB UTILITY        
//*-------------------------------------------------------------------
//INITELIB EXEC PGM=BC1PNLIB                                          
//STEPLIB  DD DISP=SHR,DSN=&I@PRFX..&[email protected]                 
//         DD DISP=SHR,DSN=&I@PRFX..&[email protected]                 
//ELIB1    DD DISP=OLD,DSN=&U@PRFX..&[email protected]                 
//SYSIN    DD *                                                       
INIT       DDNAME = ELIB1                                             
           PAGE SIZE = 4088                                           
           ALLOCATE = (17999,18000)                                   
           RESERVE PAGES = 900                                        
           DIRECTORY PAGES = 200                                      
.                                                                     
//BSTERR   DD SYSOUT=*                                                
//SYSPRINT DD SYSOUT=*