Background documentation-i | -ic | -is | -ics: Name of the Input Script Locate this document in the navigation structure

 

Use this option to specify the name of the input script, which contains the DBM commands you want to execute.

Also specify whether the script processing should be cancelled or continued if an error occurs, or whether Database Manager should remain in the session mode after the script has been processed.

Structure

-i <file_name> | -ic <file_name> | -is <file_name> | -ics <file_name>

Options

Option

Description

-i <file_name>

Path and name of the input script

Script processing is cancelled if an error occurs.

-ic <file_name>

Path and name of the input script

Script processing is continued if an error occurs.

-is <file_name>

Path and name of the input script

After the script has been successfully processed, Database Manager remains in session mode. If an error occurs, script processing and the session mode are cancelled.

-ics <file_name>

Path and name of the input script

Database Manager remains in session mode after having successfully processed the script and also if an error occurs.

Example

Call Database Manager CLI, log on as the operator OLEG with the password MONDAY, connect to the DEMODB database, and execute the DBM commands contained in the input.dbm input script in the C:\test\scripts directory:

>dbmcli -u OLEG,MONDAY -d DEMODB -i C:\test\scripts\input.dbm

OK

<reply_to_first_DBM_command_in_script>

OK

<reply_to_second_DBM_command_in_script>

...