VSAM SHAREOPTION ERROR On Endevor ELMCATL and EINDEX
search cancel

VSAM SHAREOPTION ERROR On Endevor ELMCATL and EINDEX

book

Article ID: 145058

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

After creating and coping the Endevor Element Catalog and EINDEX, when accessing Endevor the following error occurs: 

VSAM SHAREOPTION ERROR. DSN=....ELMCATL.EINDEX

 

Resolution

The error means that the SHARE OPTIONS are incorrect. Reference the correct VSAM definitions in iprfx.iqual.CSIQJCL(BC1JJB07)

Below is how the Element Catalog and EINDEX should be defined unless L-SERV is being utilized at the site:

DELETE UPRFX.UQUAL.ELMCATL 
DEFINE CLUSTER (NAME('UPRFX.UQUAL.ELMCATL') -               
                SPEED -                                     
                UNIQUE -                                    
                FREESPACE(5 5) -                            
                CYLINDERS(NN NN) -                          
                VOLUMES(VVOLSER) -                          
                RECORDSIZE(640 1017) KEY(255 0) SHR(3 3)) - 
        DATA  (NAME('UPRFX.UQUAL.ELMCATL.DATA') -           
               CISZ(8192)) -                                
        INDEX (NAME('UPRFX.UQUAL.ELMCATL.INDEX') -          
               CISZ(2048))                                  

DELETE UPRFX.UQUAL.ELMCATL.EINDEX
DEFINE CLUSTER (NAME('UPRFX.UQUAL.ELMCATL.EINDEX') -       
                SPEED -                                    
                UNIQUE -                                   
                FREESPACE(5 5) -                           
                CYLINDERS(NN NN) -                         
                VOLUMES(VVOLSER) -                         
                RECORDSIZE(287 400) KEY(10 0) SHR(3 3)) -  
        DATA  (NAME('UPRFX.UQUAL.ELMCATL.EINDEX.DATA') -   
               CISZ(8192)) -                               
        INDEX (NAME('UPRFX.UQUAL.ELMCATL.EINDEX.INDEX') -  
             CISZ(2048))