bdfp1m0nProgramming Concepts and Reference

Overview of Keys

Specifying keys includes information such as the displacement and length of the key fields, a comparison operator, and the values to compare the fields against. By using keys, you can identify an LREC or group of LRECs in a subfile that match certain criteria. Keys become active when you:

Active keys remain in effect and are used by the TPFDF product while the file is open until one of the following conditions occurs.

Differences between Key Lists and Keyn Parameters

Key lists and the KEYn parameters provide the same function, but the following operations are only available with key lists:

In addition, the following are other differences between key lists and KEYn parameters:

See the individual macro descriptions for details about the format of the KEYn parameters. See Setting Up and Using a Key List for more information about using key lists.