User's Reference > Administration > Reality on the Host > Administration from the Host > Locking a Database

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

Locking and Unlocking a Database (Host) (lockingandunlockingdatabase.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Locking and Unlocking a Database

Locking a Database

Locking a database prevents further users from logging on, although current users are not affected. Two alternative commands are provided, one entered at the host command prompt and the other entered at TCL in Reality. They are:

These commands are equivalent and interchangeable.

Unlocking a Database

Alternative commands are provided to unlock a database, one issued from the host environment and the other issued from within the Reality database. They are:

These commands are also equivalent and interchangeable.

Example

For example, to lock the database 'dbase1', enter:

lockdbase dbase1

at the host command prompt.

To unlock dbase1 again, you can, either enter:

unlockdbase dbase1

at the host command prompt, or logon to dbase1 under the database owner's user-id, then enter:

ENABLE-LOGONS

at TCL.

RealityV15.1 (MoTW) Revision 7Comment on this topic