Use this option to specify a DBM command to be executed and to get the answer to this command displayed on the command line and also logged in the specified file. Any existing content of the file is retained.
-t <file_name>
Option |
Description |
---|---|
<file_name> |
Name and path of the log file |
Call Database Manager CLI, log on as the operator OLEG with the password MONDAY, connect to the DEMODB database, get the reply displayed, and save the command line sent to Database Manager along with the Database Manager’s answer in the log.txt log file in the <user_home>\logfiles\ directory:
>dbmcli -u OLEG,MONDAY -d DEMODB -t <user_home>\logfiles\log.txt db_state
OK
ONLINE