7 95 1 UPD_ENTRY Parameters

LANSA Technical

7.95.1 UPD_ENTRY Parameters

IN_LIST

WITH_MODE

IN_LIST

Specifies the name of the list in which the entry should be updated.

The default value of *FIRST specifies that the first list declared in the RDML program by a DEF_LIST (define list) command is the list to be used (which may be a browse or working list).

If a list name is used then the list name must be declared elsewhere in the RDML program by a DEF_LIST (define list) command.

WITH_MODE

Specifies the mode to be set for the entry being updated. This overrides the mode that has been set by the SET_MODE command (refer to the SET_MODE command).

The default is *CURRENT which uses the current mode that has been set by the SET_MODE command. Other allowable values are *ADD, *CHANGE, *DELETE, *DISPLAY and *SAME (leave list entry in same mode as it was when added to the list, i.e. if it was added to the list with a mode of *CHANGE then leave the entry in *CHANGE mode). A user field name may also be specified, and must be alphanumeric with a length of 3, and must contain one of the values "ADD", "CHG", "DLT" or "DIS".