Example 1
The following statement creates the data dictionary definitions
for the PERSONNEL database in 'DISK1:[DICTIONARY]CORP.PERSONNEL':
RDO> INTEGRATE DATABASE
cont> 'DISK2:[DEPT3]PERSONNEL'
cont> IN PATHNAME 'DISK1:[DICTIONARY]CORP.PERSONNEL'
RDO> COMMIT
Example 2
This example shows how to specify a database handle for a
database. Because one database is already invoked, you must
specify a database handle with the INTEGRATE DATABASE statement.
RDO> SHOW DATABASES
Database with filename personnel
RDO> INTEGRATE DATABASE 'DISK2:[DEPT3]ACCT'
cont> IN PATHNAME
cont> 'DISK1:[DICTIONARY]CORP.ACCT' DB_HANDLE IS CHECKS
RDO> COMMIT
RDO> SHOW DATABASES
Database with filename personnel
Database with db_handle CHECKS in file acct
Example 3
The following example shows the steps you use to
create the definitions in the same data dictionary
entity. Assume the corrupt data dictionary entity is in
'DISK1:[DICTIONARY]CORP.PERSONNEL'. In the example, the RMU/DUMP
/USERS command displays no active users of the database.
$ RMU/DUMP/USERS PERSONNEL
No active users
$ RDO:== $RDO
$ RDO
RDO> INTEGRATE DATABASE 'PERSONNEL'
cont> IN PATHNAME 'DISK1:[DICTIONARY]CORP.PERSONNEL'
RDO> COMMIT
Example 4
This example shows how to override the database
definitions with the data dictionary definitions. In this
example, the definitions stored in the data dictionary
DISK1:[DICTIONARY]CORP.NEW.PERSONNEL replace the definitions
in the target database, PERSONNEL.
RDO> INTEGRATE DATABASE 'PERSONNEL'
cont> FROM PATHNAME 'DISK1:[DICTIONARY]CORP.NEW.PERSONNEL'
RDO> COMMIT