Kbase 20094: Windows Batch File to Check Database Status
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  22/05/2002 |
|
Status: Unverified
GOAL:
How to create a batch file to report database status.
FACT(s) (Environment):
Windows NT 32 Intel/Windows 2000
FIX:
@echo off
DLC%\bin\_proutil d:\Work90b\steve -C holder
if not %errorlevel% == 0 goto database_in_use
echo Database is not in use!
goto end
:database_in_use
echo Database is in use!
:end