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

 

You specify the name of the input script that contains the DBM commands you want to execute.

You select the appropriate option to 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 is 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 is 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 successfully processing the script and also if an error occurs.

Example

Log on the Database Manager CLI as 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>

...

More Information

Database Manager CLI Tutorial, Using a Script File