zoweejesquery

Query the host using (E)JES. Return host spool, dataset, and library tables. Return browsable data as reports. Query commands specify which primary table to query. Each primary table may also have child tables or child reports you can query using the --table and/or --report options. You can access only those primary tables you are authorized to use. Issue these commands as an introduction: (1) "zowe ejes query list" to show available tables.(2) "zowe ejes query status --owner help" to demonstrate how to find how it all works. (3) "zowe ejes query status --owner list" to demonstrate how to find appropriate arguments. (4) "zowe ejes query status --owner myuserid --sort time d" to view a sorted table of your jobs.(5) "zowe ejes query status --owner myuserid --sort time d --report " to view the first job in report form (truncated to your screen).

Usage

zowe ejes query <command>

Where <command> is one of the following:

Examples

(1) Limit to owners beginning with "rb". If not specified, the owner will be the same as your logon id. To specify all, use an asterisk(*). (2) Filter rows to display only abends. (3) Show only relevant columns and arrange in the order desired. (4) Limit the number of lines, including headers, to 10. (5) Remove header lines.

Example:

  * `$  zowe ejes query st --owner rb* --metafilter "maxcomp eq ab*" 
     --showcols "jobname maxcomp status jobid rec" --lines 10 --header off`

(1) Select job 0437107. The asterisk causes the positional job name to be ignored. (2) Display a child table by table type. Data sets status is "s" on the status table.

Example:

  * `$  zowe ejes query st --select "* j0437107" --table s`

The "list" argument may be used on any option. A table for that option will be displayed and any other work will stop. The table may display available tables, reports, columns, for positional input fields depending on the option.

Example:

  * `$  zowe ejes query st --table list`

The "help" argument may be used on any option. Help for the option will be displayed and any other work will stop.

Example:

  * `$  zowe ejes query hchk --metafilter help`

Commands