get_job_status
Fetch a specific job's current status, return code, and failure indicator, optionally including spool file inventory for quick mainframe job troubleshooting.
Instructions
Get the current status, return code, and failure indicator for a specific job. Optionally includes spool file inventory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | JES job id, e.g. "JOB01234". | |
| jobName | No | Optional job name for confirmation/disambiguation (max 8 chars). | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. | |
| includeSpoolSummary | No | When true, also list the spool DD inventory below the status block. |