Documentation for datautil


This utility allows programs to perform a variety of tasks such as: - Inquire for (and create if missing) a specific piece of information in the database, e.g. history code.

Arguments are:

DEFINE [NEW]
Takes care of setting up environment for datautil services. To define shared environment; optional

INQUIRE_AND_CREATE HISTORY_CODE (buffer) (code)
Takes of checking the existence of data in the database, and creates it if not found. Loads up a history code record whose history-code field = (code), using as a buffer (buffer). If not found, the history code is created and loaded in the buffer (buffer). A Progress TRANSACTION is started/ended if the calling program had not established one already.


Last update: October 30, 1995