How to pass a valid Endevor processor group to Endevor ZOWE CLI add command
search cancel

How to pass a valid Endevor processor group to Endevor ZOWE CLI add command

book

Article ID: 252957

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Using ZOWE CLI Command.

Tring to pass the processor group to add an element through CLI command instead of using the default processor group and got RC 12, since the processor group value is invalid. (PROC GRP XX NOT DEFINED FOR TYPE XX AT STG X )

How to get the processor group list associated with the specific ENVIRONMENT/SYSTEM/TYPE/STAGE using zowe CLI?  

 

 

Environment

Release : 18.1

Cause

Currently there is no List Processor Group call in the Endevor ZOWE CLI. (checked with the latest version Endevor Zowe CLI  7.1.0).

Resolution

Issue Zowe Endevor submit scl call to get the processor group list.

zowe endevor submit scl --sf SCL.txt --sclt list

sample SCL.txt

LIST PROCESSOR GROUP * FROM ENV environ STA 1 SYS system TYP TYP01 .

 

Choose the processor group name for the valid processor group list, then call zowe add element command using the following option:

  • --proc-group | --pg (string)

    • The Endevor processor group you would like to use.