The @@SET_IDX command is used to set an index value to a numeric value. This index name may be a new or existing index. The maximum number of indexes which can be used in an application template is 999.
Required @@SET_IDX ----- IDX_NAME ----- name -------------------------->
>----- TO --------- value -------------------------| numeric variable |
| IDX_NAME |
|---|
Specifies the new or existing index name. The first character of the two character index name must be non-numeric.
| TO |
|---|
Specifies the numeric value to which the index is to be set. This may be any valid numeric variable or any valid numeric literal.
The following examples apply to the @@SET_IDX command.
Example 1: Set index AB to 2.
@@SET_IDX IDX_NAME(AB) TO(2)
Example 2: Set index CF to the maximum file number selected.
@@SET_IDX IDX_NAME(CF) TO(@@TFMX)