analyze_job_failure
Analyze a failed mainframe job to identify its abend code, failing or cancelled step, program, and suggested fix. Returns a structured three-section report for troubleshooting.
Instructions
Analyze a failed job: identify the abend code, failing/cancelled step, program, and a suggested fix. Produces a rich 3-section report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | JES job id of the failed job, e.g. "JOB01234". | |
| spoolDd | No | Force analysis to read a specific DD instead of the auto-priority list (e.g. "JESYSMSG"). | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. | |
| includeEvidence | No | Include supporting spool evidence lines in the output (default: true). |