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 z/OSMF Jobs REST endpoints.
Usage
zowe zos-jobs 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 zos-jobs
list spool-files-by-jobid" command to obtain spool ID numbers.No
pre-validation of the ID is performed.
Zosmf Connection Options
--host | -H (string)
- The z/OSMF server host name.
--port | -P (number)
The z/OSMF server port.
Default value: 443
--user | -u (string)
- Mainframe (z/OSMF) user name, which can be the same as your TSO login.
--password | --pass | --pw (string)
- Mainframe (z/OSMF) password, which can be the same as your TSO password.
--reject-unauthorized | --ru (boolean)
--base-path | --bp (string)
- The base path for your API mediation layer instance. Specify this option to
prepend the base path to all z/OSMF resources when making REST requests. Do not
specify this option if you are not using an API mediation layer.
Profile Options
Base Connection Options
Examples