What could cause an C1LB002S LIBRARY IS NOT ENDEVOR LIB DATASET message.

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

You have successfully used IDCAMS to create a new ENDEVOR ELIB but when BC1PNLIB attempts to initialize the file one  received the following message:   

C1LB002S LIBRARY IS NOT ENDEVOR LIB DATASET.

  

The problem is usually in the create step, one should check the RECORDSIZE it needs to be set to 4088 4088.  The second VSAM parm to check is NONIDEXED; it needs to be defined.  

 

The create step needs to look like

000285   DEFINE CLUSTER (NAME('YOUR. ELIB.FILE) -
000286    RECORDSIZE(4088 4088) -
000287    CONTROLINTERVALSIZE(4096) -
000288    SHAREOPTIONS(3,3) -
000289    STORCLAS(TSO) -
000290    CYLINDERS(01 01), -
000291    NONINDEXED -
000292    ) -
000293   DATA  (NAME('YOUR.ELIB.FILE.DATA'))

 

To adjust your page to be either larger or smaller than 4088 use the PAGE SIZE = in the BCQPNLIB initialize step. 

000310   INIT   DDNAME = INITVSAM
000311            PAGE SIZE = 1024
000312            ALLOCATE = (179,180)
000313            RESERVE PAGES = 30
000314            DIRECTORY PAGES = 20
000315            . 

If you are still having a problem initializing your ELIB please contact your local ENDEVOR support team.