PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

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