You can use the following DBM options in the Database Manager CLI (see also: Command Structure):
-us |
|
-ux |
|
-ul |
|
-uDBS |
|
-R <inst_path> |
|
-c |
|
-ud |
|
-o <file_name> |
|
-d <database_name> |
|
-t <file_name> |
|
-i <file_name> | -ic <file_name> |
|
-V |
|
-uk |
You can enter parameters for the individual DBM options. If you do not specify a parameter, the default values are used.
To prevent the Database Manager from interpreting the start of the next DBM command as a parameter of the previous DBM option, you identify the start of the DBM command using the DBM option –c.
See also:
Displaying a List of the DBM Options
Logging on to the database manager CLI as operator DBM with password DBM, displaying the content of database table domains for the database instance HOTELDB without specifying a particular user (the Database Manager uses the data for the DBM operator currently logged on):
dbmcli –d HOTELDB –u DBM,DBM –uSQL -c sql_execute SELECT * FROM domains
OK
END
'DBA';'CATALOG_IDENTIFIER';'CHAR';'ASCII';32;(null);(null);(null);'CREATE DOMAIN
CATALOG_IDENTIFIER CHAR(32)';'20040721';'00145510';(null)
'DBA';'CATALOG_OBJECTID';'CHAR';'BYTE';8;(null);(null);(null);'CREATE DOMAIN CAT
ALOG_OBJECTID CHAR(8) BYTE';'20040721';'00145510';(null)
...
...