EXCLUSIVE keyword
The EXCLUSIVE keyword opens the database in exclusive mode and prevents access by anyone but the current user. To allow others to access the database, you must first execute the CLOSE DATABASE statement and then reopen the database without the EXCLUSIVE keyword.
DATABASE stores_demo@training EXCLUSIVE;
If another user has already opened the specified database, exclusive access is denied, an error is returned, and no database is opened.
EXECUTE FUNCTION admin('scheduler shutdown');
After
the admin('scheduler shutdown') routine has completed
execution. retry the DATABASE ... EXCLUSIVE
statement.For more information on the Scheduler API commands, see your HCL OneDB™ Administrator's Guide. For information about the privileges that you must hold to call SQL administration API functions, see your HCL OneDB Administrator's Reference.