BSTPPARS: E004 error in ACM query from ZOWE SCL
search cancel

BSTPPARS: E004 error in ACM query from ZOWE SCL

book

Article ID: 225403

calendar_today

Updated On:

Products

Endevor Brightside

Issue/Introduction

Running ACMQ request to get the list of programs using the component with Zowe CLI is getting BSTPPARS: E004 error
The command performed is "zowe endevor submit scl --scltype list --sclFile scl.txt" where scl.txt content is "LIST USING COMPONENTS FOR ELEMENT EL0001" 




 

 

Environment

Release : 18.1
Component: Endevor SCM

Cause

"LIST USING COMPONENTS FOR ELEMENT elementname" is an ACM query, not an SCL commands.
Elements and information about their components in CA Endevor SCM should be performed with command queryacm.

Resolution

The correct syntax for a queryacm command with Zowe CLI is:
zowe endevor queryacm components elementName --env ENVNAME --sn 1 --sys SYSNAME --sub SUBNAME --typ TYPENAME -i ENDEVOR

But the queryacm command is not accurate to get the needed information because queryacm only allows the other type of ACM query (components vs. where-used), 

In order to get the list of programs using the component, use the "List Elements Using Component" SCL statement via the "submit scl" command, using scl-type = list (CSV utility).

Additional Information

List Elements Using Component Function

Zowe CLI reference

The Zowe CLI command "submit scl" supports multiple scl types, corresponding to different Endevor batch programs:
list       - BC1PCSV0 
element    - C1BM3000
addUpdRtv  - C1BM3000
package   -  ENBP1000
admin     -  ENBE1000
ship      -  C1BMX000 (indirectly)

Attachments

clireference_ee1_1633440796287.pdf get_app