gtpc2mfy | C/C++ Language Support User's Guide |
Each data store contains a dictionary automatically created by TPFCS that is available for use by the application. This dictionary is known as the data store application dictionary, and is assigned the name DS_USER_DICT. This dictionary is accessed by establishing an environment for the target data store and using the TO2_...DSdict... type functions. The dictionary uses EBCDIC keys of 64 bytes with data elements of 1000 bytes.
One suggested use for the application dictionary is to place the persistent identifiers (PIDs) of data store anchor collections in the dictionary and assign a symbolic name to each one as the key.
The application dictionary of TPFDB, the base TPFCS data store, can be accessed with a special set of functions, TO2_...TPF.... This allows all applications access to a common dictionary without needing to establish an environment for a particular data store. A possible use for this dictionary is to associate applications with data stores.