The following statement creates a primary access method named textfile that resides in an extspace. The am_getnext purpose function is assigned to a function name that already exists. The textfile access method supports clustering.
CREATE PRIMARY ACCESS_METHOD textfile( AM_GETNEXT = textfile_getnext, AM_CLUSTER, AM_SPTYPE = ' X' );
See the descriptions of: