Names the database to be accessed in a program or program module
and specifies to RDML which database to use and where to declare
variables. However, RDML does not attach to the database when it
encounters the DATABASE statement. The READY statement causes an
attach to the database.
The only required parameter for the DATABASE statement is the
database name. The name must be the file name that represents the
database file or a logical name that resolves to a file name.
You can also specify the following:
o A database handle
o The scope of the database handle
o Different sources of the database definition for compilation
and execution
o DBKEY scope
You can specify whether the scope of each record's database
key (dbkey) is valid through a COMMIT statement in each of
your transactions, or through a FINISH statement. See the
explanations for DBKEY SCOPE FINISH and DBKEY SCOPE COMMIT in
the Arguments section fro details.
Additional Information:
explode
extract