DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: startup /shutdown on windows 2000 scripts

  1. #1
    Join Date
    Aug 2001
    Posts
    390
    does any body have a small scripts to shutdown and startup on windows 2000 ???

    thanks in advance


  2. #2
    Join Date
    Aug 2001
    Posts
    390
    no reply ????


    Please advise ASAP

  3. #3
    Join Date
    Sep 2001
    Posts
    163
    This is what we use. We have both NT4.0 and Win2000.

    in a batch file:
    %DBDIR%
    CD \DB\SCRIPTS

    svrmgrl command=@SHUTORA.SQL

    In the SHUTORA.SQL file:

    SET ECHO ON
    SET TERMOUT ON
    SET STOPONERROR OFF
    SPOOL %DBDIR%\DB\DOC\SHUTORA.LOG;

    CONNECT INTERNAL/MANAGER;

    SHUTDOWN;

    DISCONNECT;


    SPOOL OFF;

    Our startup script is the same except it says STARTUP PFILE=blah,blah,blah
    where the shutdown command is.


    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width