Routines defined for the DataBlade module

In addition to the etx_contains() operator, the module includes several routines that you can use to perform tasks, such as creating and dropping synonym and stopword lists.

An example of one of these routines is etx_CreateSynWlst(). This routine allows you to create a list of words that you want the search engine to treat as synonyms. To use this procedure to create a synonym list, you use the EXECUTE PROCEDURE statement as shown in the following example:
EXECUTE PROCEDURE etx_CreateSynWlst
    ('syn_list', '/local0/excal/synonyms','sbsp1');

This statement creates a synonym list named syn_list from an operating system file called /local0/excal/synonyms and stores it in the sbspace called sbsp1.