Product Information > JADE Object Manager Guide > Chapter 3 - JADE Application Programming Interface (API) > pMode

pMode

The pMode parameter specifies if the process mode is shared, exclusive, snapshot, or archive.

The mode constants and their integer values are listed in the following table.

Constant Value Description
DB_ARCHIVE 4 Quiesces the database for archive backup.
DB_DEFAULT 9 Restores the database to the initial mode and usage values.
DB_EXCLUSIVE 1 Requests exclusive access to the database. If other users already have the database open, a database mode conflict is reported. Similarly, if one user already has the database open in exclusive mode, other users are prevented from opening the database.
DB_SHARED 0 Enables multiple current users to open the database.
DB_SNAPSHOT 6 Conditions the database for external third‑party snapshot backup.

For details about external third‑party snapshot backups, see "Non-JADE Backups" in the Developing a Backup Strategy White Paper.