company logo

Application :: workDictionary - Get work dictionary

The function returns a valid work dictionary. When no work dictionary is available, the function throws an exception.

Return value:  Dictionary handle ( odaba::Dictionary & )

The dictionary handle usually refers to an opened dictionary. Calling functions with invalid dictionary handles may cause an exception. For checking the dictionary handle, isValid() can be called.

Implementation details

odaba::Dictionary & Application  :: workDictionary (  )

When the application is running as utility, the function returns the work dictionary. Utilities are ODABA framework applications (GUI), but also OShell and OSI calls. One may also create utility applications, when using the ODABA Utility Control Block for initializing and opening the database.

As work dictionary the database handle for the application is opened as dictionary. This, usually makes sense only, when the database opened in the application is a resource database.