Setting the Update Text String

The update text string (WS-DB-UPDATE-CMD E@UPDATECMD) is set as shown in the following example:

STRING

field [operation [value ...] operation [value ...] ...]

field [operation [value ...] operation [value ...] ...]

...

INTO WS-DB-UPDATE-CMD

where

Parameter Description
field

Use the format fieldname{[occurrence]}, where occurrence is optional and specifies the number of occurrences for the field.

For example:

CAPFLD[3]

operation

Use any one of the following operators: =, +=, -=, /=, or *=

Calculations are evaluated using standard mathematical rules, such as evaluation of expressions within parentheses first and processing multiplication before addition.

value

Use one of the following methods to set the value