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

Read syntax diagramSkip visual syntax diagram
Syntax

>>-KEY--keyvalue-----------------------------------------------><

keyvalue
In a KSDS, Z Data Tools 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