Entering content frame

Background documentation Options Locate the document in its SAP Library structure

When you call the Loader with the Loader CLI (LOADERCLI), you can specify the following options loadercli [<options]:

Options

-b <command_file>

Name of the command file, specify the operating mode

-d <database_name>

Name of the database instance

-u <userid>,<password>

User name and password

-n <server_node>

Database server

-r <server_node>

Name of the local Loader server, if you want to call the Loader CLI and Loader Server separately

-E <number>

Maximum permitted number of errors

-o[w|a] <file_name>

Name of the output file

-p <number><substitution_string >

Specifies a substitution parameter

-R <directory_name>

Directory that contains the programs that depend on the version of the database software

-V

Version of the Loader

-v

Version of the Loader CLI

-h

Help

Use

When you call the Loader, you usually enter the name of the user (option -u) and of the database instance (option -d). This creates a connection to the specified database instance for this user.

You can specify all required commands and SQL statements in a command file (option -b), or you can enter them interactively.

Example

loadercli -d demodb -u sqltravel01,travel01 -b command.dat

You can also call the Loader without options, or by specifying only a database instance name (option -d). In this case, you must transfer all other commands for creating a database session in the command file. This creates the connection between the Loader and this database instance or another database instance.

 

Leaving content frame