Entering content frame

Procedure documentation Executing a Shell Command Locate the document in its SAP 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 HOTELDB is still ADMIN.

While logged on as user MONA with password RED, 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 HOTELDB -u MONA,RED db_online

 

Leaving content frame