hold_job
Pause a JES2 batch job with the $HJ command so it stops at the next step boundary, giving you controlled interruption before resuming or cancelling.
Instructions
Hold a batch job via the JES2 "$HJ" command (gated write). The job stops at the next step boundary.
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": "hold_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | JES job id, e.g. "JOB01234". | |
| consoleName | No | Console used to issue the JES2 command. | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. |