Entering content frame

Function documentation DBM Options Locate the document in the library structure

Use

When you log on to the Database Manager CLI, you can enter various DBM options and exactly one DBM command.

You can enter parameters for many of the DBM options. If you do not specify a parameter, the default values are used. In this case, to prevent the Database Manager from interpreting the start of the next DBM command as a parameter of the previous DBM option, you identify the start of the DBM command using the DBM option –c.

Features

You can use the following DBM options:

Option

Description

-c

Indicate as DBM Command

-d

Name of database instance

-e

Activating encryption

-i | -ic | -is | -ics

Name of the Input Script

-n

Name of database computer

-o

Name of the output file

-R

Installation directory of database instance

-t

Name of the log file

-uSQL

Opening an SQL session

-uSRV

Opening a service session

-uUTL

Function for opening a utility session

-ud

Deleting XUSER entries

-uk

User key

-us

Creating or changing XUSER entries

-ux

Logging on to the XUSER program

-ul

Displaying XUSER data

Example

Logging on to the Database Manager CLI as operator OLEG with password MONDAY, connecting to the DEMODB database instance, displaying the contents of the users database system table without explicitly specifying a database user.

You mark the beginning of the DBM command with the option –c. The default value (database system administrator) is used for the database user.

dbmcli -u OLEG,MONDAY -d DEMODB -uSQL –c db_execute SELECT * FROM users

OK
END

'OLEG';'';'OLEG';'ADMIN';'MULTIPLE';(null);(null);(null);'DEFAULT';'20050602';'0

0104503';'20050602';'00104503';'20050602';'00104503';'DEMODB';'p59963.dhcp.ber.s

ap.corp';0;'NO';(null)

'DBADMIN';'';'DBSERVICE';'DBA';'MULTIPLE';(null);(null);(null);'DEFAULT';'200506

02';'00104508';'20050602';'00104508';'20050602';'00104508';'DEMODB';'p59963.dhcp

.ber.sap.corp';6;'YES';(null)

'DBADMIN';'';'DBADMIN';'SYSDBA';'MULTIPLE';(null);(null);(null);'DEFAULT';'20050

602';'00104503';'20050602';'00104506';'20050602';'00104503';'DEMODB';'p59963.dhc

p.ber.sap.corp';10;'NO';(null)

'DBADMIN';'';'MONA';'DBA';'MULTIPLE';(null);(null);(null);'DEFAULT';'20050602';'

00104523';'20050602';'00104523';'20050602';'00104523';'DEMODB';'p59963.dhcp.ber.

sap.corp';24;'NO';(null)

 

Leaving content frame