Renaming an element in Endevor
search cancel

Renaming an element in Endevor

book

Article ID: 45678

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin

Issue/Introduction

If the name of an element stored in Endevor is no longer relevant and you need to change it, there is no option on the menu that will allow this action.

How to rename an Endevor element? 

 

 

 

Resolution

To change the name of an element/member there are 2 possibilities:

  1. If the history of the element is not important, you can simply retrieve the element to an external dataset and add it back to Endevor with the new name.
  2. If you don't want to lose the history of changes to that element, you can use the TRANSFER action, to transfer the element to the same Endevor location, but to a new name, using this sample SCL with the C1BM3000 utility:
TRANSFER ELEMENT 'OLDNAME'
 FROM ENVIRONMENT 'ENV'
          SYSTEM 'SYS'
          SUBSYSTEM 'SUB'
          TYPE 'TYP'
          STAGE NUMBER 1
 TO ENVIRONMENT 'ENV'
      SYSTEM 'SYS'
      SUBSYSTEM 'SUB'
      TYPE 'TYP'
      STAGE NUMBER 1
      ELE NEWNAME
 OPTION WITH HISTORY .