MODIFY – Modify objects in the plans

Use the MODIFY request to modify one or more fields in an LTP or CP record.

MODIFY <resource> <arguments>

The arguments can be used both to identify the record to be modified, and to provide new values for this record. Or, the arguments can be used just to identify a record, and later requests can be used to perform particular actions. For example, with a MODIFY request, you can identify a particular current plan occurrence record. Then, with later INSERT requests, you can insert new operation records for that occurrence.

The MODIFY request can be used to modify information in the current plan. Requests that cause a modification of the current plan, except CSR requests, require a later EXECUTE request for the modification to actually take effect.

With the arguments described here, you specify the names and values of fields, either to identify a particular record, or provide updated information for a record.

Note: The values of PIF arguments as dates depend on the PIF base year, which is defined by the PIFCWB keyword on the INTFOPTS statement, or the CWBASE keyword of the INIT statement. The value of the VALTO argument for default high date depends on the PIFHD keyword of the INTFOPTS statement or the HIGHDATE keyword of the INIT statement.
The return codes are:
0
The request was successful.
4
The MODIFY CPOP request might end with return code 4 if the operation input arrival value specified in the request is earlier than the occurrence. If this happens, run the EXECUTE request for the modification to be enforced.
8
The request was not successful. An error message is issued to the message log data set.