14 8 INC_IDX Command

LANSA Technical

14.8 @@INC_IDX Command

The @@INC_IDX command is used to increment an index by 1. This index name may be a new or existing index. If the index is a new index name, then the index value will be set to 1. The maximum number of indexes that can be used in an application template is 999.                                                          Required 

                                                                  

  @@INC_IDX ----- IDX_NAME ----- name -------------------------| 

                                                                  

                                                                  

                                                                  

Parameters

IDX_NAME

Specifies the new or existing index name. The first character of the two character index name must be non-numeric.

Examples

The following example applies to the @@INC_IDX command.

Increment index CF.

@@INC_IDX IDX_NAME(CF)