opendbtbl() - Open a DBTBL.

SYNOPSIS

DBTBL *opendbtbl
(
    DDIC *ddic,
    char *name
);


PARAMETERS

DDIC *ddic

Data dictionary to use.
char *name

Name of the table to open.


DESCRIPTION
Open a DBTBL, and return a pointer to it. This looks up the name in the data dictionary, and tries to open it. The table is rewound, so the first getdbtblrow() will return the first record.

If the table is not found, or could not be opened NULL is returned.


SEE ALSO
closedbtbl(), createdbtbl()


Copyright © Thunderstone Software     Last updated: Jun 1 2020
Copyright © 2020 Thunderstone Software LLC. All rights reserved.