Salesforce

How to see what word-break table is defined for a database?

« Go Back

Information

 
TitleHow to see what word-break table is defined for a database?
URL NameP175105
Article Number000145032
EnvironmentProduct: Progress
Version: 9.x
Product: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Other: word-rules, wbt, i18N
Question/Problem Description
How to see which word-break table is defined for a database?
What word-break rule is defined for the database?
How to check which word-rules file has been compiled for the database?
Can the word-rules flag be checked, other than using PROUTIL?
Can the work-rules flag be checked while the database is online?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
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: PROWD254 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.
Workaround
Notes
References to Other Documentation:

OpenEdge Development: Internationalizing Applications, Chapter 3: "Understanding Character Processing Tables"

Progress Articles:

Error 4686 with international collations need the new *.wbt word break tables   
Which word break proword.nnn file corresponds to which .wbt file?   
Sample code to get startup parameters and environment    
4GL/ABL: How to apply a word rule to a temp-table?   
 
Keyword Phrase
Last Modified Date11/20/2020 7:18 AM

Powered by