/make_it_all_okay.bat

https://bitbucket.org/ishitori/mq-6.0-scripts · Batch · 36 lines · 23 code · 9 blank · 4 comment · 1 complexity · 13b274b691120ee679e406f36cdd6a74 MD5 · raw file

  1. @ECHO OFF
  2. REM author temp_ <temp_@mail.ru>
  3. REM ----------------------------------------
  4. REM script for configuring mq
  5. REM ----------------------------------------
  6. CALL set_environment.bat
  7. ECHO.
  8. ECHO make sure that your current locale is English
  9. ECHO (not Russian!!!); otherwise you won't be able
  10. ECHO to see messages when executing commands;
  11. ECHO instead you'll get smth like
  12. ECHO "MQM could not display the text for error 27028".
  13. ECHO press any key to continue executing batch or ^^C to exit...
  14. PAUSE >NUL
  15. CALL :TITLE "create queue managers (1 of 2)" 1>>%MQ_LOG% 2>&1
  16. CALL create_qms.bat 1>>%MQ_LOG% 2>&1
  17. CALL :TITLE "create queues (2 of 2)" 1>>%MQ_LOG% 2>&1
  18. CALL create_qs.bat 1>>%MQ_LOG% 2>&1
  19. CALL :TITLE "ALL CONFIGURED" 1>>%MQ_LOG% 2>&1
  20. GOTO :EOF
  21. :TITLE
  22. ECHO.
  23. ECHO ******************************************************
  24. ECHO %~1
  25. ECHO ******************************************************
  26. ECHO.
  27. GOTO :EOF