Administration: Omnidex Features

Omnidex Segments

Attaching Segments

Omnidex Segments can be attached so that they are given a local object name. An object name is not required since the SEGMENT function can reference a filename directly; however, it can be helpful for applications that generate the SELECT statement in one module and prepare the data for the SELECT statement in a different module. Attaching segments allows the SELECT statement to reference well-known object names without regard for filenames.

Omnidex Segments are attached using the ATTACH SEGMENT statement, as shown in the example below:

> ; Attach an existing segment containing the Do Not Call list
> attach data segment DO_NOT_CALL
>>  physical          "do_not_call.dat";
Segment DO_NOT_CALL attached

Omnidex Segments can be detached using the DETACH SEGMENT statement, as shown in the example below:

> detach segment DO_NOT_CALL;
Segment DO_NOT_CALL detached

Additional Resources

See also:

 
Back to top
admin/features/segments/attaching.txt ยท Last modified: 2016/06/28 22:38 (external edit)