I found resolutions to this problem.  Here's what I did.  I found a document at 
the
IBM site titled "How to run a PHANTOM via the Windows Scheduler and suppress the
display of a DOS Shell Window and Taskbar entry".  [phew!]  The net result is I
create two scripts:
 
UD_Startup.bat
001 cd /d E:\DataTrust\Dta
002 E:\IBM\ud71\bin\udt PHANTOM RUN DTABP DTA.SERVICE
003 exit
 
UD_Startup.vbs
001 Dim SleepTime
002 '
003 ' Pause for 30 seconds to allow UniData to start up.
004 SleepTime=1000*30
005 WScript.Sleep SleepTime
006 '
007 ' Start batch file that runs at UniData startup
008 Set WshShell = WScript.CreateObject("WScript.Shell")
009 WshShell.run "%comspec% /c E:\Scripts\UD_Startup.bat",0
010 Set WshShell = Nothing

Then I create an entry in the Scheduled Tasks to run the .vbs script when the 
machine
starts.  I use the user with the appropriate administrator privileges to access
UniData, and now everything I need to start in UD I let DTA.SERVICE start it.
 
Bill
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to