## Using Script Mode

### Use

If you work in script mode, you can transmit a series of DBM commands stored in a script file to the Database Manager and execute them. To do this, you call the Database Manager CLI with the DBM option -i <file_name>.

If you want to execute DBM commands that require a database session or a service session, you have to use the Database Manager in session mode or script mode. We further recommend that you work in script mode when you want to execute actions in the Database Manager CLI that require a succession of DBM commands that you want to execute in the background.

See also:

Using Session Mode

### Example

Using a Script File