7 61 1 INZ_LIST Parameters

LANSA Technical

7.61.1 INZ_LIST Parameters

NAMED

NUM_ENTRYS

SET_SELECT

WITH_MODE

NAMED

Specifies the name of the list which is to be initialized.

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 a 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.

NUM_ENTRYS

Specifies the number of entries that should be initialized into the list.

The default value is 1. Any other value specified must be in the range 1 to 9999.

SET_SELECT

Specifies whether or not any fields in the list that have special attribute *SELECT should be set to blanks before the new entry is added to the list. Refer to the DEF_LIST command for more details.

This is only valid for browse lists. It is ignored for working lists.

WITH_MODE

Specifies the mode to be set for the entries being initialized into the list. 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 and *DISPLAY. 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".