Previous Topic: Creating and Naming Referenced Functions

Next Topic: Defaulting Parameters for Referenced Functions

Assigning Access Paths for Referenced Functions

When the copy process is unable to match an existing function based on the target file, it creates a new function. During this process it often needs to select an appropriate access path also based on the target file. It does this as follows:

  1. It tries to find and use an access path of the same name and type (RTV, RSQ, UPD, and so on).
  2. If there is no match by name, it selects the default access path of the same type.
  3. If a default access path of the same type does not exist, it selects the first access path of the same type alphabetically by name.
  4. If unable to find an access path of the same type, it creates a new one. A message displays when a new access path is created.

Note: Since new access paths default to the primary key, you may need to edit new access paths prior to source generation.

If a new span (SPN) access path is created, it is created without formats.

For more information about: