Entering content frame

 Options 

When you call the Loader using 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 <user_name>,<password>

User name and password

-n <database_server>

Database server

-r <loader_server>

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

-cs <command_separator>

Specifies a command separator

-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 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.

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