SET_DATABASE_MODE
Sets the database mode to READ_ONLY or READ_WRITE.
Usage
pbvcon SET_DATABASE_MODE Server_Name Db_Reference Login_Name Login_Password Db_Mode
Parameters
Server_Name
The server name. Use quotation marks if the value contains spaces.
Db_Reference
The database name or path exactly as it is known to the server. Use quotation marks if the value contains spaces.
Login_Name
Login name that has rights to access a Metrics Management database.
If the database is configured to use the BIRT360Plus authentication method, prefix the login name with BIRT360Plus followed by a backslash, for example, BIRT360Plus\PCastillo.
If the database is configured to use an optional authentication method such as AD or LDAP, you can prefix the login name with the authentication method followed by a backslash, for example, LDAP\Joe.
If your authentication method does not require a Metrics Management login name, for example, AD-SSO, LDAP-SSO, or Windows, use any string as the login name. For example, you can use NONE.
Login_Password
User login password. For authentication methods that do not require a user password such as AD-SSO, LDAP‑SSO, or Windows, use any string for the password. For example, you can use NONE.
Db_Mode
The database mode. Valid values are RO = Read-Only; RW = Read-Write. If undefined, pbvcon does not execute the command.