Social Bookmark

Add to: Mr. Wong Add to: Power-Oldie Add to: Linkarena Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Add to: Folkd Add to: Spurl Add to: Google Add to: Blinklist Information
Social Bookmarking
 
Usage PDF Print E-mail
Thursday, 31 January 2008

Using Softabar Console for WebSphere MQ is very similar to using normal
MQSC. But instead of running MQSC command using runmqsc-command or writing
commands in text file and then running with runmqsc, Softabar Console for
WebSphere MQ allows users to write commands interactively and automatically
save commands to script files.

Starting Softabar Console for WebSphere MQ

Open a command prompt and go to bin-directory where MQConsole is installed.
Run program using command

mqconsole.bat

or by specifying queue manager

mqconsole.bat -qm <qmgr name>

Use -h option to view usage and other command line parameters.

  -qm (--queue-manager) qmgrName               Queue manager to be used.
-f (--script-file) fileName Script file for saving MQSC
commands.
-cf (--console-script) fileName Load and execute console script
file.
-l (--load-script) fileName Load and execute MQSC script.
-le (--load-script-and-exit) fileName Load and execute MQSC script and
then exit program.
-lici (--license-install) licenseFileName Install license.
-licg (--license-gui) Install license with graphical
user interface.
-lic (--license) View license information
-h (--help) This help.
-v (--version) Version info.

Console script file in option -cf is a file that may include MQConsole commands in
addition to MQSC commands.

Console commands

Softabar Console for WebSphere MQ has a few commands that help working with MQSC scripts.
All MQConsole commands start with ':' (similar to VI-editor). View commands
with command ':help'

set - Set/view runtime parameters. Usage: SET [<key> <value> [<value> ...].
exit - Exit program.
help - This help.
quit - Exit program.
var - Set variables. Usage: VAR <variable name> <variable value>.
loadparams - Load saved runtime parameters.
load - Execute script file. Usage: LOAD <script file>.
saveparams - Save runtime parameters.
Command Description
set Set and view runtime parameters. Default runtime parameters are
script.dir=C:\home\temp\mqconsole-1.0.0\mqconsole-1.0.0\scripts
add.replace.to.definitions=true
script.file.prefix=mqscript
command.preprocessor=com.softabar.mq.command.impl.VariableProcessor
separate.channel.definitions.file=true
command.postprocessor=com.softabar.mq.command.impl.DefaultPostProcessor
AMQ8118.continue=false
queue.manager=QM1
script.file.suffix=.conf
mqsc.commands.to.exclude.from.save=
exit.commands=
AMQ8118.message=Queue manager does not exist.
save.console.commands=false
AMQ8146.continue=false
force.uppercase.in.script=true
AMQ8146.message=Queue manager not available.
save.commands=true
include.duplicate.definitions=false
startup.commands=
custom.message.for.mq.codes=AMQ8118 AMQ8146
save.comments=true
comment.prefix=*
return.codes.to.exclude.from.save=AMQ8405 AMQ8150

See mqconsole.properties for description.

var Set variable for scripts. Syntax
:var QNAME WEBORDER_Q

After defining variable, all MQSC command may include variable. Example:

DEFINE QLOCAL(${QNAME})

defines new local queue with name WEBORDER_Q. By setting parameter save.console.commands to true enables
saving console commands to script file.

saveparams Saves all parameters including variables to runtime.properties file in temp-directory.
loadparams Loads parameters from runtime.properties file.
load Executes script file.
Last Updated ( Thursday, 31 January 2008 )
 

Newsflash

Carbon counter added to the website.

Counter uses publicly available data to calculate electricity usage of both client and server and the result is carbon footprint of the visit.

 
Would you participate in Open Product Development?
 
Open Product Development

Open Product Development is a new method to do commercial product development. You, as a product user, can participate in designing and deciding product features.

You can suggest product features which to include in the product and decide what to implement and how to prioritize features.

You can participate using forum, polls and directly contacting us. We will update product development in the web site including what features we are implementing and so on.

While the product is in development, price is very low and all who have purchased the product will get final version without extra cost.

 
(c) 2005-2008 Softabar. All rights reserved.
Joomla Templates by JoomlaShack Joomla Templates