PUT Update Process API

Update Process API is used to alter the characteristics of one or more non-executing Processes in the Connect:Direct processing queue

Note: One of the four parameters 'processName, processNumber, submitter, secondaryNode' is mandatory.
Method URI

PUT

cdwebconsole/svc/processcontrolcriterias

The following example shows the Command:
curl -X 'PUT' \
    'https://172.20.183.89:9443/cdwebconsole/svc/processcontrolcriterias' \
    -H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yOjE3Mi4yMC4xODYuMjAzOjEzNjM6MTU0NzRkOGItYTRjZC00ZDVjLTg5NzMtZTIzYTZiYjA1YmM5IiwiZXhwIjoxNzE1MDAwNTE0fQ.028GAKiMpFaauKYkd7VDA1iC-IbcHgD_OWsuO_A0RLARyiQizOrHKhGBsttmadmiwUUE4OsL9VOddOC3MCj8uQ' \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: f124e232-0cdd-4a61-b882-63c1a45c8df8' \
    -d '{"processName":"TF25","processNumber":"","secondaryNode":"","submitter":"","className":"","hold":"","authorizedToChangeExecutionPriority":"","newSecondaryNode":"","newPriority":"2"}' 
Table 1. Input Parameters
Parameter Name Required/Optional Description Valid values

processName

Required

Specifies the Process name. May be a single Process name, or a list separated by commas

 
processNumber Optional

Specifies the Process number. May be a single Process number, or a list separated by commas

 
secondaryNode Optional

Specifies the secondary node of the records desired. If a list is specified, the list must be enclosed in parentheses

 
submitter Optional

Specifies the node and userid of the submitter in the form of node,userId or a list of node and userid separated by semicolon

 
authorizedToChangeExecutionPriority Optional

Specifies the execution priority of the Process.

Valid values are 1-15 and are mapped to Microsoft Windows Process priority classes and values.

The highest priority is 15.

newSecondaryNode Optional Specifies the new destination node for the Process  
className Optional

Specifies the new class of the Process

1-255

hold Optional

Specifies the new hold specification

yes, no, call

className Optional

Specifies the new class of the Process

1-255
hold Optional

Specifies the new hold specification

yes, no, call
newPriority Optional

Specifies the new priority of the Process

Valid values for Windows and Unix : 1-15

Valid values for z/OS : 0-15

The following example shows the Sample Request:
{
  "processName": "",
  "processNumber": "TF20",
  "secondaryNode": "", 
  "submitter": "",
  "className": "",
  "hold": "",
  "authorizedToChangeExecutionPriority": "",
  "newSecondaryNode": "",
  "newPriority": "1"
}
The following example shows the Sample Response:
[
  {
    "messageCode": 200,
    "message": "The process has been successfully changed"
  }
]