Work with RDB Directory Entry (WRKRDBDIRE)

The Work with Relational Database Directory Entry (WRKRDBDIRE) command allows you to show and work with one or more entries from the relational database (RDB) directory.

With this command, you can do the following with the RDB directory:

Parameters

Keyword Description Choices Notes
RDB Entry Generic name, name, *ALL Optional, Positional 1
OUTPUT Output *, *PRINT Optional, Positional 2

Entry (RDB)

Specifies the relational database directory entry. If an entry has no alias, the relational database name is used as the entry name. If an entry has an alias, the alias is used as the entry name.

*ALL
All entries in the relational database directory.
generic-name
Specify the generic name of the relational database entries. A generic name is a character string that contains one or more characters followed by an asterisk (*).
name
Specify the name of the relational database directory entry.

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

*
The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.

Examples

Example 1: Displaying All Directory Entries

WRKRDBDIRE

This command shows a list of all relational database directory entries and allows you to work with them.

Example 2: Directing Information to a Spooled File

WRKRDBDIRE   RDB(YOURRDB)  OUTPUT(*PRINT)

This command directs the information from the relational database directory entry YOURRDB to a printer file.

Error messages

*ESCAPE Messages

CPF3EC4
Work with relational database directory entry failed.