Develop an access method

These topics describe the steps that you take to implement a user-defined access method with the Virtual-Table Interface (VTI).

The following steps are a high-level summary of the steps that you take to provide an access method.

  1. Choose the optional features that the access method supports.
  2. Program and compile the C header files and purpose functions as well as the modules that the purpose functions call.
  3. Execute the CREATE FUNCTION statement to register each purpose function in the sysprocedures system catalog table.
  4. Execute the CREATE PRIMARY ACCESS_METHOD statement to register the user-defined access method in the sysams system catalog table.
  5. Test the access method in an end-user environment.