Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Running SVRMGR23 from Visual Basic

Running SVRMGR23 from Visual Basic

From: Brian Grosheim <bgrosheim_at_medplus.com>
Date: Thu, 11 Jun 1998 16:01:36 GMT
Message-ID: <357ffc3e.182224635@news.one.net>


I am running Oracle's SVRMGR23.EXE from Visual Basic to shutdown the database prior to backup. Unfortunately, sometimes the SVRMGR23 window does not close after the instance is shutdown.

I use the CreateProcess() API to call SVRMGR23 as follows

iResult = CreateProcess(vbNullString, "svrmgr23.exe @" & psScriptFile, .......

the script that SVRMGR23 runs is:

connect internal/manager
shutdown immediate
exit

If the SVRMGR23 program hangs after the database is shutdown, nothing can be typed in the window, but it can be manually closed. After the program is closed, the Visual Basic program continues and starts the backup.

Anyone have an Ideal on my the SVRMGR23 window does not close after the script is finished?

Thanks,

Brian Grosheim Received on Thu Jun 11 1998 - 11:01:36 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US