tableBASE parameter description

This chapter describes the parameter structures that are passed to tableBASE when calling the TBLBASE Application Programming Interface (API). See the individual command descriptions in Chapter 3 to determine parameter requirements for a given command. The complete list of tableBASE parameters includes:

ALT-DEFINITION (12 bytes)

COMMAND-AREA (72 bytes)

DATA-TABLE-NAME (8 bytes)

DDNAME (8 bytes)

DEFINITION-BLOCK (256 bytes)

DIR-SPEC (9 bytes)

GENERATION (fullword binary)

INDIRECT-OPEN-CRITERION (50 bytes)

KEY-AREA (Table Specific)

LIB-LIST (80 bytes)

LIB-SPACE (8 bytes)

LIBRARY-ALLOC (45 bytes)

LIST-BLOCK (88 bytes)

NAME-AREA (256 bytes)

NEW-GEN-NO (fullword binary)

NEW-TABLE-NAME (8 bytes)

PASSWORD (8 bytes)

RELEASE-LEVEL (16 bytes)

ROW-AREA (Table Specific)

STATUS-SWITCHES (8 bytes)

TABLE-AREA

TABLE-STATS

TBACC-DEF (32 bytes)

TBINDEX-DEF (32 bytes)

TB-PARM: V5 (64 bytes)

TB-PARM: V4 (28 bytes)

VTS-DATA (60 bytes)

VTS-NAME (8 bytes)

Sample COBOL code is provided for each parameter, as it appears in your.prefix.TBASE.EDUCDATA(TBPARMS), the installation education dataset. Following recommended naming conventions for tableBASE application programs, any parameters which are dedicated to a single table should be prefixed by the table name in the program code. Accordingly, sample COBOL code for these parameters is prefixed here by xxxx to represent an application-specific table name.

At the end of this chapter, sample C code is provided for each parameter. Further information is available in Programming in C with tableBASE.

The following are the tableBASE parameters.