Call to another query

You can call a query from another query.

The following example shows the contents of a query named yourquery.yml. This query calls the your_called_query.yml query to find the artifacts that have a CICSLOAD type:
query: your_called_query.yml
type: CICSLOAD
Run the wazideploy-evidence command in file mode and specify yourquery.yml as the query. You can use either of the following syntaxes:
wazideploy-evidence -q yourquery.yml r
wazideploy-evidence r query=yourquery.yml

When the command runs, it runs the your_called_query.yml query, which is called from yourquery.yml.

For more information on how to run the wazideploy-evidence command in file mode, see File mode.