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"
"LIST USING COMPONENTS FOR ELEMENT elementname" is an ACM queries, not an SCL commands.
Elements and information about their components in CA Endevor SCM should be performed with command queryacm.
Release : 18.1
Component: Endevor SCM
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).