Entering content frame

Background documentation USE SERVERDB Command Locate the document in its SAP Library structure

You can use this Loader command for creating a database session to create a connection to another database instance.

Syntax

<use_serverdb_command> ::= USE <database_name_statement>

<database_name_statment> ::= SERVERDB <valDBNAME> [ON <valDBNODE]

valDBNAME

Name of the database instance

Applies to the entire database session with this database instance

If the name of the database instance is identical to a keyword or if the upper- and lowercase notation is relevant, the name must be placed in quotation marks.

valDBNODE

Name of the server on which the database instance that you want to open for a database session is installed.

If you do not specify this information, the Loader assumes that the specified database instance has been created on the host where the user is logged on to the Loader.

Explanation

A database user with the same name and password must exist on the new database instance.

You switch to another database instance without having to exit the Loader. It terminates the connection to the current database instance and sets up the new connection to the database instance.

All subsequent commands are referred to this database instance by the Loader.

Example

USE USER mona red SERVERDB hoteldb ON genua

//

USE SERVERDB hoteldb ON parma

See also:

Database Server: -n

 

Leaving content frame