gtpd1m27Database Reference

Maintaining TPFCS

This section provides information about the commands used to initialize and maintain the TPFCS database.

Note:
Most of the functionality achieved by using the commands can also be implemented by writing applications that use the TPFCS APIs.

ZOODB Commands

The ZOODB commands are used to initialize the TPFCS database, define and display a data store or data definition, and change or delete a data definition. The following describes the ZOODB commands:

Function
Description

ZOODB CHANGE
Changes a data definition or data store.

ZOODB DEFINE
Defines a data definition or data store.

ZOODB DELETE
Deletes a data definition or data store.

ZOODB DISPLAY
Displays a data definition or data store.

ZOODB INIT
Initializes support.

ZOODB MIGRATE
Migrates a data store.

ZOODB RECREATE
Re-creates a data store.

ZOODB SET
Sets on or sets off the method trace table or set dump creation on a TO2_getErrorText function call.
Note:
For more information about the ZOODB commands, see TPF Operations.

Initializing TPFCS

The ZOODB INIT command is a one-time-only message that is used to initialize TPFCS. If you attempt to initialize TPFCS again, an error message will be displayed.

After the ZOODB INIT command has been completed successfully, enter the ZOODB DEFINE command with the DS parameter specified to create user-defined data stores.

ZBROW Commands

TPFCS provides browsing support that allows classes, methods, and collections to be located, interrogated, validated, displayed, and dumped. This support is provided by using the ZBROW commands and TPFCS function calls.

The following describes the ZBROW commands:

Function
Description

ZBROW ALTER
Changes the contents or access mode of a specified collection.

ZBROW CLASS
Displays class name information.

ZBROW COLLECTION
Performs maintenance on a collection.

ZBROW DISPLAY
Displays information about a collection or its contents.

ZBROW KEYPATH
Adds, displays, or removes a key path.

ZBROW NAME
Alters or displays collection name information.

ZBROW PATH
Displays path information for a collection structure.

ZBROW PROPERTY
Alters or displays a property.

ZBROW QUALIFY
Qualifies ZBROW command requests for a data store.

ZBROW RECOUP
Manages recoup indexes.

See TPF Operations for more information about the ZBROW commands. See the TPF C/C++ Language Support User's Guide for more information about the TPFCS C function calls.