CL Command Reference - DSPRDBDIRE
CL Command List > DSPRDBDIRE Reference
Description:
The Display Relational Database Directory Entry (DSPRDBDIRE) command allows you to display one entry, generic entries, or all entries in the relational database (RDB) directory.
Examples:
Example 1: Directing Information to an Output File
DSPRDBDIRE OUTPUT(*PRINT)
This command directs information from all of the relational database directory entries to a spooled file.
Example 2: Directing Information to an Output File
DSPRDBDIRE OUTPUT(*OUTFILE) OUTFILE(SAVEDIR)
This command directs all of the relational database directory entries to an output file named SAVEDIR. This is the usual method for backing up the contents of the relational database directory. The entries can be restored using a CL program that reads the information from the output file and issues Add Relational Database Directory Entry (ADDRDBDIRE) commands to add the information back into the relational database directory.