dbmode - Set or Display Database Mode

dbmode -p|s|m|n

The Set or Display Database Mode utility (dbmode) lets you view or set the database user mode.

This command applies to only the Database Server (ladb), not to the IBM DB2 or Oracle servers.

Program Option Description
p Print current database mode.
s Set single-user mode. If you are the only user on the database, you can specify single-user mode. No new users are allowed to access the database.
m Set multiuser mode.
n No new database users are allowed. Prevents any new database user processes from starting. Users with a database process running when this command is issued can continue to access the database.

At the command line, specify the information above.

- or -

  1. From the Database Administration menu, choose Database Server Tools.

  2. From the Database Server Tools menu, choose Set/Display Database Mode.

  3. On the Set/Display Database Mode form, specify or select the following data.

    Field Description
    Program Options See program options above.
    I/O Options Optional. Display the output or redirect it to a file.
  4. Press Enter.