/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
- @ECHO OFF
-
- REM author temp_ <temp_@mail.ru>
-
- REM ----------------------------------------
- REM script for configuring mq
- REM ----------------------------------------
-
- CALL set_environment.bat
-
- ECHO.
- ECHO make sure that your current locale is English
- ECHO (not Russian!!!); otherwise you won't be able
- ECHO to see messages when executing commands;
- ECHO instead you'll get smth like
- ECHO "MQM could not display the text for error 27028".
- ECHO press any key to continue executing batch or ^^C to exit...
- PAUSE >NUL
-
- CALL :TITLE "create queue managers (1 of 2)" 1>>%MQ_LOG% 2>&1
- CALL create_qms.bat 1>>%MQ_LOG% 2>&1
-
- CALL :TITLE "create queues (2 of 2)" 1>>%MQ_LOG% 2>&1
- CALL create_qs.bat 1>>%MQ_LOG% 2>&1
-
- CALL :TITLE "ALL CONFIGURED" 1>>%MQ_LOG% 2>&1
-
- GOTO :EOF
-
- :TITLE
- ECHO.
- ECHO ******************************************************
- ECHO %~1
- ECHO ******************************************************
- ECHO.
- GOTO :EOF