Previous Topic: Database Functions

Next Topic: Internal Database Functions and PHY Access Paths

Understanding Database Functions

Database functions provide the means of performing actions on the database. There are four different database functions each defining a HLL subroutine that creates, changes, deletes, or retrieves data. Database functions are implemented as part of an external standard function.

The four database functions are:

A default version of the Create Change and Delete database functions is defined for all database files (REF and CPT). You must create the Retrieve Object function if you need it.

The following table includes the standard database functions.

Function

Purpose

Access Path

CRTOBJ

Add a single record

UPD, PHY

CHGOBJ

Update a single record

UPD, PHY

DLTOBJ

Delete a single record

UPD,PHY

RTVOBJ

Read a records or record

RTV,RSQ,PHY

All the CA 2E database functions have action diagrams that you can use to specify additional processing before and after the accessing the database .