WRKRDBDIRE (Work with Relational Database Directory Entries) Command Description

WRKRDBDIRE Command syntax diagram

 

Purpose

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

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

 

Optional Parameters

RDB
Specifies the name of the relational database entry to be shown and worked with.

*ALL: All entries in the relational database directory are shown.

generic*-relational-database-name: Specify the generic name of the relational database entry. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic name specifies all objects with names that begin with the generic prefix for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete object name. See generic names for additional information.

relational-database-name: Specify a maximum of 18 characters for the name of the relational database entry.

OUTPUT
Specifies whether the relational database information is shown at the requesting work station or is printed.

More information on this parameter is in commonly used parameters.

*: Output requested by an interactive job is shown. Output requested by a batch job is printed with the job's spooled output.

*PRINT: The requested data is printed with the job's spooled output.

Examples for WRKRDBDIRE

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 Database File

WRKRDBDIRE   RDB(YOURRDB)  OUTPUT(*PRINT)

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

Error messages for WRKRDBDIRE

*ESCAPE Messages

CPF3EC4
Work with relational database directory entry failed.