Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> AW: Off-Topic --executing batch commands in sequence under NT
I think another way is to write a batch, which calls some other batches =
or
command file.
export.bat
call shutdown.bat
call startup.bat
call export.bat
....
If you run a batch with the call statement, the next statement is =
executed
when the previous one is readey.
HTH
Volker Sch=F6n
E-Mail: mailto:v.schoen_at_inplan.de
http://www.inplan.de
-----Urspr=FCngliche Nachricht-----
Von: J=E4ck Stephan [mailto:Jaeck.Stephan_at_REAL.DE]
Gesendet: Mittwoch, 24. Mai 2000 01:25
An: Multiple recipients of list ORACLE-L
Betreff: RE: Off-Topic --executing batch commands in sequence under NT
try to use in your .cmd file the option
start /wait myBatch.cmd
it will continue only if myBatch is finished
HTH Stephan
-----Original Message-----
Sent: Tuesday, May 23, 2000 2:57 PM
To: Multiple recipients of list ORACLE-L
Does anyone know if there is a way to force NT to run commands in =
sequence,
and not just fork when executing command steps?
I have an NT server with Oracle on it, and my export failed last =
weekend
because that Oracle[SID] service hadn't started.
I think it initiated a net start, then jumped to the next command in my
script, and the next, and got to import before NT had actually =
re-started
all the appropriate services.
I will try running it as a .bat file instead of as a .cmd file, maybe =
that
will fix the problem. I couldn't find anything about this on the nt =
FAQ web
site.
Thanks.
Patrice Boivin
Systems Analyst (Oracle Certified DBA)
Systems Admin & Operations | Admin. et Exploit. des syst=E8mes Technology Services | Services technologiques Informatics Branch | Direction de l'informatique=20 Maritimes Region, DFO | R=E9gion des Maritimes, MPO
--=20
Author: Boivin, Patrice J
INET: BoivinP_at_mar.dfo-mpo.gc.ca
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
![]() |
![]() |