Entering content frame

Syntax documentation Opening an SQL Session: -uSQL Locate the document in its SAP Library structure

Use

Option in the Database Manager CLI.

Certain DBM commands require an SQL session before they can be executed.

If you specify this option, the DBM command to open an SQL session is executed implicitly. The SQL session is established with the transferred operator data.

If no operator is specified with this option, the Database Manager CLI uses the data of the current DBM operator.

Note

Operator details can be stored for various tasks with the help of the program XUSER and used for logging on.

Note the different meanings of the command with uppercase and lowercase specification.
-uSQL: Explicit specification of the operator with the <userid> and <password>
-USQL: Logon with an operator stored in the XUSER file.

See also: User manual: SAP DB

Prerequisites

You are also using the option -d at the same time to specify a database instance and the option -u to log on to the Database Manager.

Syntax

-uSQL [<userid>,<password>]

or logon with XUSER: -USQL <user_key>

 

 

 

 

Leaving content frame