| Previous | Next | Contents | Index |
Access a mapping table.
argument informationstatus = PMDF_mapping_load (table, mapping)
| Argument | Data type | Access | Mechanism |
|---|---|---|---|
| table | descriptor | read | reference |
| mapping | signed longword | write | reference |
argument informationstatus = PMDFmappingLoad
(table, table_len, mapping)
int PMDFmappingLoad(char *table,
int table_len,
int *mapping)
|
table
Name of the table to load. The length of the string can not exceedALFA_SIZEbytes.table_len
Length in bytes of the table name.mapping
Reference to the loaded mapping table for use withPMDFmappingApply.
Before a mapping table can be used to map input strings, it must first be loaded. This is accomplished withPMDFmappingLoad. Any number of tables can be loaded, one table perPMDFmappingLoadcall. Once a mapping table is loaded, it can be used withPMDFmappingApply. There is no call to make to unload a table.PMDFinitializemust be called prior to the first call toPMDFmappingLoad. Failure to initialize PMDF first will result in aPMDF__NOerror.
PMDF__OK Normal, successful completion. PMDF__INVSTRDES Invalid string descriptor for table: descriptor has an invalid value in its DSC$B_CLASS field. No table loaded. PMDF__NO PMDFinitializehas not yet been called. No table loaded.PMDF__NOMAPPING Cannot load specified mapping table; check to see if the mapping table exists. No table loaded. PMDF__STRTRUERR Supplied table name is too long. No table loaded.
| Previous | Next | Contents | Index |