Option in the Database Manager CLI.
Use the option –c to logically delimit a Database Manager CLI option with optional parameters and a DBM command from each other. The Database Manager CLI program interprets all specifications following –c as a DBM command.
-c <DBM_command>
Display the content of the database table users of the database instance myDB without explicitly specifying the database user:
If you do not specify -c between the option with optional parameters and the DBM command, the beginning of the DBM command is interpreted as an operator name/password combination for the option –uSQL.
dbmcli -d myDB -u dbm,dbm -uSQL sql_execute SELECT * FROM users
ERR
-24988,ERR_SQL: sql error
-4008,Unknown user name/password combination
You mark the beginning of the DBM command with the option –c. The default value (first DBM operator) is used for the –uSQL option.
dbmcli -d myDB -u dbm,dbm -uSQL –c sql_execute SELECT * FROM users
OK
...