This example shows how to use COMMIT to make a data definition
permanent:
RDO> DEFINE DATABASE 'INVENTORY'.
RDO> SHOW DATABASES
Database with db_handle INVENTORY in file INVENTORY
RDO> DEFINE FIELD PART DATATYPE TEXT SIZE 10.
RDO> DEFINE RELATION TEST.
cont> PART.
cont> END TEST RELATION.
RDO>
RDO> COMMIT
RDO> SHOW RELATIONS
User Relations in Database with db_handle INVENTORY
TEST
RDO> SHOW FIELDS
User Fields in Database with db_handle INVENTORY
PART text size is 10
RDO> EXIT
This example shows how to define a database, a field, and a
relation. These statements would normally be in an indirect
command file. After you define the database and its components,
the COMMIT statement makes the database permanent. If you do not
issue the COMMIT statement, RDO returns this message:
There are uncommitted changes to a database or the data
dictionary Would you like a chance to COMMIT these changes [NO]?