Forcing the Client to Use RSN or AA Values as Keys

You can force the Client to use the RSN or AA Value as the key by using the DATASETS ds_options bit, DSOPT_Use_AA_Only (bit mask 16384).

Note: You can also do this from the Client Console by selecting Force AA Values as indexes in the Client Configuration dialog box.

This bit replaces the ds_options DSOPT_Include_AA bit (bit mask 16) in the DATASETS client control table. This latter bit allowed you to include the AA Value as a key in the tables mapped from the data set. It required a user script to get rid of the other columns in from set index.

To perform this action globally, use the parameter force_aa_value_only with one of the following values:

Value

Description

0

Globally disables the parameter

1

Globally enables the parameter

2

Only applies to (that is, sets the bit of) individual data sets that have an RSN; using a SET as the source for the index is always preferable to using AA Values that are volatile.