Entering content frame

 Opening a Service Session: -uSRV 

Use

Certain DBM commands require a service session before they can be executed.

If, when you log on to the Database Manager CLI using the DBM options –d (name of the database instance) and –u (DBM operator), you also specify the DBM option –uSRV, the DBM command for opening a service session is executed implicitly.

You use the DBM option –uSQL to transfer the user data for the required database user. The service session is opened with this user data for the specified database instance.

When you end the Database Manager CLI, the service session is also ended.

Syntax

-uSRV

Example

Call the Database Manager CLI, log on to the database instance HOTELDB as operator DBM with password DBM, set up a service session and recover the parameter file for this database instance from the backup medium CPLBM:

dbmcli –d HOTELDB –u DBM,DBM –uSRV recover_config CPLBM

OK

 

 

Leaving content frame