submit_jcl
Submits inline JCL to JES for execution with pre-flight validation, optional dry-run, change-ticket checks, and approval safeguards.
Instructions
Submit inline JCL to JES for execution. Governed: pre-flight scan, change ticket, change window, optional dry-run and human approval (SECURITY_* settings).
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": {
"jcl": "<jcl>"
},
"name": "submit_jcl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jcl | Yes | The complete inline JCL to submit (including the //JOB card). | |
| wait | No | Whether to wait for the job to complete execution before returning. | |
| dryRun | No | Validate and report without submitting. Runs the same structure checks, JCL scan, and governance report as a real submission. | |
| notify | No | Override the NOTIFY= parameter on the JOB card (TSO user id, max 8 chars). | |
| timeout | No | Maximum time to wait in seconds (defaults to 30, max 300). Only used when wait=true. | |
| jobClass | No | Override the CLASS= parameter on the JOB card (single char, A-Z or 0-9). | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. | |
| changeTicket | No | Change/ticket ID for governed writes. Required when SECURITY_CHANGE_TICKET_PATTERN is configured. |