Entering content frame

Procedure documentation Executing Shell Commands Locate the document in the library structure

Use

You execute a shell command from the SQLCLI program. This enables you, for example, to use the Database Manager CLI to set the operational state of the database instance to ONLINE without exiting SQLCLI.

Prerequisites

You have called the SQLCLI program.

Procedure

\! <shell_command>

Example

You have already called SQLCLI and now realize that the operational state of the database instance DEMODB is still ADMIN.

While logged on as user OLEG with password MONDAY, you can use the Database Manager CLI to set the operational state of the database instance to ONLINE by entering the following command in SQLCLI:

\! dbmcli -d DEMODB -u OLEG,MONDAY db_online

 

Leaving content frame