Display full element name using Endevor Zowe CLI
search cancel

Display full element name using Endevor Zowe CLI

book

Article ID: 237654

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Trying to run Zowe Endevor cli list element command against long name element or lower case element: 

C:\Users\Administrator\Downloads>zowe endevor list elements WFLONGNAMELEMENTTEST12345678900AAAAZZZZZ
[INFO] Running on host: <host>:<port> instance: ENDEVOR
[INFO] LIST ELEMENTS executed in location: <environment>/<stage>/<system>/<subsystem> on element: WFLONGNAMELEMENTTEST12345678900AAAAZZZZZ.HFS
elmName  typeName envName stgNum sysName sbsName
FJBHJHMM HFS      ENV1    1      RPJ     RPJ

C:\Users\Administrator\Downloads>zowe endevor list elements newdoc
[INFO] Running on host: <host>:<port> instance: ENDEVOR
[INFO] LIST ELEMENTS executed in location: <environment>/<stage>/<system>/<subsystem> on element: newdoc.HFS
elmName  typeName envName stgNum sysName sbsName
E0U9BNI4 HFS      ENV1    1      RPJ     RPJ

 

Zowe Endevor CLI returns congnames. 

How to display full element name for lower case, mixed case or longname element using Zowe Endevor CLI command ?  

Environment

Release : 18.1

Component : Endevor Software Change Manager

Resolution

Use options such as --rff or --fo to display the full element name for mixed case/lower case/long name element.

C:\Users\Administrator\Downloads>zowe endevor list elements newdoc --rff elmName fullElmName
[INFO] Running on host: <host>:<port> instance: ENDEVOR
[INFO] LIST ELEMENTS executed in location: <environment>/<stage>/<system>/<subsystem> on element: newdoc.HFS
elmName  fullElmName
E0U9BNI4 newdoc

Note: any Endevor action works with congnames as well. 

For example, for long element WFLONGNAMELEMENTTEST12345678900AAAAZZZZZ, you can issue Endevor action against the congname FJBHJHMM.