The currently assigned word-break rules can be found by running
PROUTIL -C word-rules without the "
rule-number" integer qualifier against an
offline database:
$ proutil <dbname> -C word-rules
Example output: The associated
word-rules file will be: proword.
254
the current database word break file no. is 254
This file is usually placed in the DLC
installation directory. There could also be an ENVIRONMENT VARIABLE: PROWD
254 which is otherwise used to locate the word rules file.
Example output:
the current database word break file no. is 0
There have been no word-break rules compiled for this database. In this case, the database is using the default word-break rules for the current database code page. To associate the database with the default word-break rules, set the rule number to 0:
$ proutil <dbname> -C word-rules 0
To determine the default word-break rules, refer to "Table 4: Word-delimiter attributes" in the Internationalizing Applications manual, section Understanding Character Processing Tables, Word-break tables. This shows the word delimiter attributes, along with characters that by default have these values. There is no file used to create the default word-break table. It is calculated internally, based on the values given in table 4 referenced above and the character attribute (ISALPHA) table for the given code page. The proword.def identifies these default rules, but is not used to load the
default word-break rules. Information about the word-break rules currently compiled for a Database cannot be retrieved
from the database schema or VSTs. In Openedge 11.3.x and later a VST called _word-rule, but this will not return any entries even when word-rules are loaded.