Specifying a keyed sequence access path without using DDS
The dynamic access path function of the Open Query File (OPNQRYF) command allows you to specify a keyed access path without using data description specifications (DDS).
If an access path that can be shared already exists, the system can share it. If a new access path is required, it is built before any records are passed to the program.
- Example 1: Specifying a keyed sequence access path without using DDS
This example shows how to arrange records using one key field.
- Example 2: Specifying a keyed sequence access path without using DDS
This example shows how to arrange records using multiple key fields.
- Example 3: Specifying a keyed sequence access path without using DDS
This example shows how to arrange records using a unique-weight sort sequence.
- Example 4: Specifying a keyed sequence access path without using DDS
This example shows how to arrange records using a shared-weight sort sequence.
Parent topic:
Selecting records without using DDS