View the contents of a spool file from a z/OS job on spool/JES queues. The command does not pre-validate the JOBID or spool ID. The command presents errors verbatim from the Jobs REST endpoints.
Usage
zowe rse-api-for-zowe-cli view spool-file-by-id <jobid> <spoolfileid> [options]
Positional Arguments
- 
jobid		 (string)
- The z/OS JOBID of the job containing the spool file you want to view. No pre-validation of the JOBID is performed.
 
 
- 
spoolfileid		 (number)
- The spool file ID number for the spool file to view. Use the "zowe rse list spool-files-by-jobid" command to obtain spool ID numbers.No pre-validation of the ID is performed.
 
 
Profile Options
Base Connection Options
- 
--host  | -H (string)
- Host name of service on the mainframe.
 
 
- 
--port  | -P (number)
- Port number of service on the mainframe.
 
 
- 
--user  | -u (string)
- User name to authenticate to service on the mainframe.
 
 
- 
--password  | --pass | --pw (string)
- Password to authenticate to service on the mainframe.
 
 
- 
--reject-unauthorized  | --ru (boolean)
 
- 
--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