cics_newcopy
Performs a gated NEWCOPY of a CICS program through a CMCI resource action, loading a fresh phased-in copy in the specified region.
Instructions
NEWCOPY a CICS program (phased-in fresh copy) via a CMCI resource action — gated write. Requires CMCI with actions enabled (CICS TS 5.6+).
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": {
"region": "<region>",
"program": "<program>"
},
"name": "cics_newcopy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | CICS region APPLID. | |
| context | No | CMCI context. Defaults to CMCI_CONTEXT. | |
| program | Yes | Program name (1–8 chars). | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. |