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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jobId": "<jobId>"
},
"name": "analyze_job_failure"
}
}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). |