investigate_incident
Assemble a complete JES job incident bundle—status, root-cause analysis with abend/runbook links, RAG doc excerpts, spool inventory, and diagnostic DD excerpts—to accelerate mainframe troubleshooting.
Instructions
Assemble a full incident bundle for a job: status, root-cause analysis (with abend reference and runbook link), internal-doc excerpts (RAG), complete spool inventory, and diagnostic excerpts from all relevant DDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | JES job id to investigate, e.g. "JOB01234". | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. | |
| maxExcerptLines | No | Maximum lines to include from each diagnostic spool excerpt. Defaults to 80. Increase for a deeper view. |