Previous Topic: Working with VSAM KeysNext Topic: Repeating VSAM Keyed Records


Locate Records By Key

Use the LOCATE primary command when editing a VSAM KSDS to locate a record with a key that is greater than or equal to a specified value.

For example:

L 00000001234 KEY

This example positions the browse or edit session to the record that has a key that is equal to or greater than '00000001234'.