KEY primary command

You use the KEY primary command to specify a starting position when browsing, viewing, or editing a KSDS.

The KEY primary command positions to the record containing, or beginning with, the specified keyvalue. This is similar to the ability provided by the Key field on the editor entry panels.

Syntax

Figure 1. Syntax

1  KEY keyvalue
keyvalue
In a KSDS, File Manager positions to the record containing, or beginning with, this value.
To specify blanks or special characters, enclose the value in quotation marks. For example:
KEY '02 A'
For undisplayable characters, you can specify the value in hexadecimal. For example:
KEY 'F0F240C1'X

Availability

Related tasks and examples