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 Endevor - Enterprise Workbench

Issue/Introduction

 

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.

 

Question: 

How to rename an Endevor element? 

 

Environment:  

All supported Endevor releases.

 

Answer: 

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 WIT HIS .

 

Additional Information:

https://docops.ca.com/ca-endevor-scm/17/en/scl-reference/process-element-actions-in-batch

https://docops.ca.com/ca-endevor-scm/17/en/scl-reference/process-element-actions-in-batch/transfer-statement/transfer-from-ca-endevor-scm-to-ca-endevor-scm-statement

 

 

Environment

Release:
Component: ENDBAS