Display repository databases (optimcmd -databases)

Use the Display repository databases command to list the databases that are contained in the repository.

Command structure

The following diagram indicates the structure of the command and its parameters.

Read syntax diagramSkip visual syntax diagram
>>-optimcmd--+- -databases-+-----------------------------------><
             '- -d---------'   

Input

The following information can be entered with the command.

optimcmd
The optimcmd tool.
-databases or -d
The Display repository databases command.

Output

If successful, the output contains a list of the databases in the repository, with each database on a separate line.

Return codes

The following return codes can be received when you enter the command.

Return code Description
0 No errors.
8 The repository did not return any databases because of an internal error.
12 The command cannot connect with the repository.