Endevor error message: SMGR155E BASE MEMBER ALREADY EXISTS on Package MOVE
search cancel

Endevor error message: SMGR155E BASE MEMBER ALREADY EXISTS on Package MOVE

book

Article ID: 212128

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Element Move we get the following error:

C1G0202I  ACTION #10 / STMT #15                                                 
C1G0203I     MOVE     ELEMENT ELEMENT1                                           
C1G0204I        FROM ENVIRONMENT: ENV1    SYSTEM: SYS1      SUBSYSTEM: SUBS1      
C1G0232I        OPTIONS:  WITH HISTORY, SIGNIN                                  
C1G0232I                  CCID:                                         
C1G0232I                  COMMENT: Move                           
C1G0265I  PROCESSOR GROUP JCL FOR THIS ELEMENT WAS OBTAINED FROM ENVIRONMENT
C1G0000I     DATA SET YOUR.LIBRARY.BASE                                          
C1G0000I     MEMBER ELEMENT1                                                     
SMGR155E  BASE MEMBER ALREADY EXISTS FOR THIS ELEMENT                           
C1G0277I  MOVE PROCESSING TERMINATED BECAUSE OF THE PREVIOUS ERROR              
C1G0200I  ELEMENT ACTION REQUEST PROCESSING COMPLETED, HIGHEST ENDEVOR RC WAS 0012
ELEMENT ACTION REQUEST PROCESSING COMPLETED, HIGHEST ENDEVOR RC WAS 0012   

 

Environment

Release : All

 

Cause

This error happens when Endevor compares the Footprint of the From Element and the To Element. The System,Subsystem,Type and Stage must match.

Common reason for this error is more than one Element with the same name are being stored to the same Base file, and COMPRESS/ENCRYPT(Y/N) in the TYPE Definition is set to N.

Resolution

This error happens when Endevor compares the Footprint of the From Element and the To Element. The System,Subsystem,Type and Stage must match.

Common reason for this error is more than one Element with the same name are being stored to the same Base file, and COMPRESS/ENCRYPT(Y/N) in the TYPE Definition is set to N.

Check the footprint of the Element's Base library.  So in the example above check YOUR.LIBRARY.BASE for member ELEMENT1's footprint.  

The footprint should explain what happened, what's different between the 2 footprints.

If both Elements are valid and you want to retain both Elements Change the Type Definition on one or both Types to COMPRESS/ENCRYPT(Y/N) ===> Y

This will store the Member in the Base as a Compressed name. So the member name will not be ELEMENT1(as per the example). So no two names will be the same. 

Another way is to change the Base dataset(in the Type definition) so the two Elements are NOT stored on the same Base file.

To keep the new Element and Delete the old Element (so keep the element being moved). Then use Endevor Delete, Trasfer (with delete from behind) or Archive (with Delete from behind).

To keep the Element you are moving to (the target location element),  retrieve the Element to a lower Environment/Stage to the same System/Subsystem/Type as the existing Element. Then move it up.

 

 

Additional Information

Going forward if to prevent this in the future do the following:

  • Look at altering your System definitions changing "ELEMENT REGISTRATION CHECK OPTIONS" to prevent Element duplications.
  • Look at changes to the options table (CSIQSRC(ENCOPTBL))  for option ENHOPT REGISTER_ACROSS_SYSTEMS.
  • Change COMPRESS/ENCRYPT(Y/N) ===> to Y for you Type Definitions.
  • Change the Base dataset so it's unique for a System/Subsystem/Type you can use symbolics for example:
BASE/IMAGE LIBRARY ===> BST.&C1SYSTEM..&C1SUBSYS..&C1STAGE..BASE 
This dataset would be :  BST.system.subsystem.stagename.BASE