You define the path and the name of the file where all the Database Manager output is to be written.
-o <file_name>
<file_name> |
Name and path of the ouput file |
Logging on to 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 and outputting the answers to the DBM command in the <user_home>\outfiles\output.txt file:
>dbmcli –u OLEG,MONDAY –d DEMODB –i <user_home>\scripts\input.dbm –o <user_home>\outfiles\output.txt