Issue a CA SYSVIEW primary command and display output, including any messages
Usage
zowe sysview display <command-string> [options]
Positional Arguments
-
command-string (string)
- Command(s) to be issued
(If more than one command, separated by a semi-colon)
Example: "ACTIVITY;SORT CPU% D"
data options
-
--fields | -f (array)
- Fields to be returned (by name). For example: "jobname" "cpu"
-
--all-rows | --ar (boolean)
- Return all rows of data, no matter how many. Overrides --row-start and --row-end
-
--row-start | --rs (number)
-
--row-end | --re (number)
-
--timeout | --to (number)
display options
-
--context-fields | --cf (array)
- Context fields to display. Defaults to hiding all context
-
--overview | -o (boolean)
- Display the overview section
-
--info | -i (boolean)
- Display the information area, if any
-
--pretty | -p (boolean)
-
--blank-if-zero | --biz | -b (boolean)
- Show a blank space instead of '0' values
-
--truncate | --tr (boolean)
response format options
sysview connection options
-
--host | -H (string)
- The hostname of the SYSVIEW REST API
-
--port | -P (number)
- The port number of the SYSVIEW REST API
-
--user | -u (string)
- Your z/OS username used to authenticate to the SYSVIEW REST API
-
--password | --pass | --pw (string)
- Your z/OS password used to authenticate to the SYSVIEW REST API
-
--reject-unauthorized | --ru (boolean)
- If set, the server certificate is verified against the list of supplied CAs
-
--ssid (string)
-
--base-path | --bp (string)
Profile Options
-
--sysview-profile | --sysview-p (string)
- The name of a (sysview) profile to load for this command execution.
-
--sysview-format-profile | --sysview-format-p (string)
- The name of a (sysview-format) profile to load for this command execution.
-
--base-profile | --base-p (string)
- The name of a (base) profile to load for this command execution.
Base Connection Options
-
--token-type | --tt (string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value | --tv (string)
- The value of the token to pass to the API.
-
--cert-file (local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file (local file path)
- The file path to a certificate key file to use for authentication
Examples
-
Issue the CSMSTAT command and show the 'message' field from the context area of the response:
zowe sysview display "CSMSTAT" --cf message
-
Issue the JOBSUM command to list jobs starting with "CS" showing only the fields Jobname, Jobid, and Status:
zowe sysview display "jobs CS&VLMC" --fields Jobname Jobid Status