Endevor process fails with C1LB010S ENDEVOR LIB INTERNAL LINKAGE ERROR FUNCTION=011 when adding or updating an Element
search cancel

Endevor process fails with C1LB010S ENDEVOR LIB INTERNAL LINKAGE ERROR FUNCTION=011 when adding or updating an Element

book

Article ID: 371947

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

When running a Endevor process to add or update a Element get this error:

+C1LB010S ENDEVOR LIB INTERNAL LINKAGE ERROR FUNCTION=011           FILE=SYS00014/<ENDEVOR.BASE>      
+CALL FROM $FUNC=C1BIOMSG EPA=2ABA6DB0 R1=00096A68 R14=AABA7624 STACK=00096A08  CSECT=C1BIOMSG  
+CALL FROM $FUNC=COMMIT   EPA=2AB9D580 R1=000B73D8 R14=AAB9D878 STACK=00096998                             
+CALL FROM $FUNC=ELIBSTOW EPA=2AB9E840 R1=00096978 R14=AAB9EB7E STACK=00096920

 

Note: the file in this case is a ELIB

                            

Environment

all Endevor Versions

Cause

Error in ELIB directory. Endevor could not write the directory entry to the file.

Resolution

 

1. Run a BC1PNLIB/Inquire against the ELIB that had the C1LB010S error.

Sample JCL

//STEP1 EXEC PGM=NDVRC1,PARM=BC1PNLIB
//STEPLIB DD DISP=SHR,DSN=<ENDEVOR.CSIQAUTH>
//CONLIB DD DISP=SHR,DSN=<ENDEVOR.CSIQLOAD>
//BSTERR DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYMDUMP DD DUMMY
//SYSUDUMP DD DUMMY
//ELIB1 DD DISP=SHR,DSN=<ENDEVOR.BASE>
//SYSIN DD *
INQUIRE DDNAME=ELIB1 OPTION ANALYZE .

 

This is from the output:

# DATA PAGES:                777777          
# REPLACES:                       0          
# ADDS:                      333333          
# DELETES:                     9999          
# MEMBERS:                   222222          
# DIRECTORY PAGES:             9165          
# DIR OVERFLOWS:               1255          
LONGEST DIR OVFL:                 1          
# LIBRARY EXTENDS:              124          
# DIRECTORY REORG:                2          

Note that the Directory Overflows is greater than 10. 

2. Backup the ELIB prior to the reorg. 

3. Reorg the ELIB increasing the Directory pages by at least 10%. In this case it was increase by 20%. This is 9165 +  1833 = 10998

Sample JCL

 //********************************************************************* 
//* REORG  ELIB                         
//********************************************************************* 
//REORBAS3  EXEC PGM=NDVRC1,PARM=BC1PNLIB                               
//STEPLIB  DD DISP=SHR,DSN=<ENDEVOR.CSIQAUTH>                           
//         DD DISP=SHR,DSN=<ENDEVOR.CSIQLOAD>                           
//ELIBVSAM DD DISP=OLD,DSN=elib.dsname                                  
//SYSPRINT DD SYSOUT=*                                                  
//BSTERR   DD SYSOUT=*                                                  
//SYSIN    DD *                                                         
 REORG DDNAME=ELIBVSAM DIRECTORY PAGES = 10998.                           
 INQUIRE DDNAME = ELIBVSAM                                              
 .                                                                      
/*