Entering content frame

Syntax documentation -i | -ic | is | ics: Name of the Input Script Locate the document in the library structure

Use

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

You select the appropriate option to determine whether the script processing should be cancelled or continued if an error occurs, or whether the Database Manager should remain in the session mode after the script is processed.

Syntax

-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, the 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,

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

Examples

Logging on the the Database Manager CLI as operator OLEG with the password MONDAY, connecting to the DEMODB database instance, executing the DBM commands contained in the input.dbm input script in the <user_home>\scripts directory:

>dbmcli -u OLEG,MONDAY –d DEMODB –i <user_home>\scripts\input.dbm

OK

<reply_to_first_DBM_command_in_script>

OK

<reply_to_second_DBM_command_in_script>

...

 

Leaving content frame