PROUTIL BUSY qualifier
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
PROUTIL BUSY qualifier
Determines if the database is currently in use.
Syntax
|
Parameters
- db-name
- Specifies the database you are using.
Determining if the database is in use is useful before performing a database backup or shutting down a database. A database is in use if it is being used in single-user mode, multi-user mode, or by an OpenEdge utility program.
To get the database status, you must run PROUTIL with the BUSY qualifier and test the command return code in a UNIX script or Windows batch file. The return codes for the BUSY qualifier are shown in the following table:
| Return code | Description |
|---|---|
| 0 | Database is not in use |
| 6 | Database is in use |
| 64 | Database is in process of starting up |
Example
This example shows how you might use the BUSY qualifier on UNIX in a script that tests if the database is busy:
|