space
Previous Page | Next Page

ACCESS Procedure Reference

BYKEY Statement (Optional)



Designates one or more items as sort keys.
Applies to: access descriptors and view descriptors

Syntax

Syntax

BYKEY variable-identifier = YES|NO <...variable-identifier-n= YES|NO>;

Details

The BYKEY statement designates one or more items as BY keys and, in a view descriptor, also selects them for the view.

The BYKEY statement cannot be used to change the BYKEY value in a view descriptor if ASSIGN= YES is specified in the access descriptor from which the view descriptor is derived.

variable-identifier can be one of the following:

For example, if you want to make the third item a BY key, submit the following statement:

bykey 3=y;

space
Previous Page | Next Page | Top of Page