dblock
Lock the Surround SCM Server database. Locking the database prevents users from performing actions that write to the database, such as checking out files. If users perform actions that require writing to the database while it is locked, a message is displayed that explains that the action cannot be performed. Users can perform read-only actions.
sscm dblock [acquire|release] [-a | -bMainlineBranchName] [-h] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]
Option | Description |
---|---|
acquire|release | Lock or unlock database specified in -a or -b. If not specified, current database lock status is displayed. |
-a | Lock or unlock the server database and all mainline branch databases (default). |
-b | Mainline branch database to lock or unlock. Use SCMServDb to lock or unlock the server database. |
-h | Display online help for the command. |
-y | Enter a Surround SCM username and password if you do not want to use the default value. To use single sign-on, enter -y+. If you use an identity provider to authenticate, the provider web page opens if you have not yet authenticated. Authenticate with the provider and then return to the CLI. |
-z | Enter the Surround SCM Server host computer address and port number if you do not want to use the default value. IPv6 addresses must be in square brackets. If you received a server settings file from your Surround SCM administrator, enter the path to the XML file instead of entering the server connection information. |
+u | Display output in Unicode (Windows only). Output cannot be sent to a file. If output is enabled for all commands, enter +u- to disable it for this command. |