Comments (4)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

1 shrik commented Permalink

I ran this: "runmqras –section all" - it failed on Linux

this failed too: "runmqras –section all -qmlist OTPASL04"
for some reason, the "all" option doesnt work
this: "runmqras -section trace,defs" worked fine
Can you tell why please

2 shrik commented Permalink

sorry- forgot to mention i get this back
"Fri Dec 06 17:16:01 GMT 2013: :Error: key does not start with a '-': ???section"
The "-all" option doesnt seem to be working on MQ server-Queue manager system

But on client machine this: "runmqras -section all" seems to work fine

3 Rich_Montjoy commented Permalink

Hi Raki,
I tried both versions you listed on a MQ 7.5 on Linux with no troubles. Can you pass along the MQ version you are using so I can test?
thanks, Rich

4 shrik commented Permalink

$ dspmqver
Name: WebSphere MQ
Level: p750-002-130704
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 2.6.18-348.12.1.el5
InstName: Installation1
Primary: Yes
InstPath: /opt/mqm
DataPath: /var/mqm
MaxCmdLevel: 750

$ ls -l /var/mqm/trace/*.TRC | wc -l
$ runmqras –section all
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr13fp2-20130424_01(SR13 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr13fp2-20130423_146146 (JIT enabled, AOT enabled)
J9VM - 20130423_146146
JIT - r9_20130108_31100ifx1
GC - 20121212_AA)
JCL - 20130419_01
/opt/mqm/java/jre64/jre/bin/java -cp /opt/mqm/java/lib/ -Djava.library.path=/opt/mqm/lib64:/opt/mqm/java/lib64 -DdefaultRasInput=/opt/mqm/bin/isa.xml -DdefaultRasWork=/tmp/runmqras_131212_014837 crtmqras.Zipper –section all
Thu Dec 12 01:48:37 GMT 2013: crtmqras:crtmqras v%I% starts...
Thu Dec 12 01:48:37 GMT 2013: :Error: key does not start with a '-': ???section
General parameters:
-inputfile file : fully qualified name of the XML input file
-custominput file : fully qualified name of an additonal XML input file
-zipfile file : name of the zip output file
-outputdir dir : provide the destination path of the zip file
-workdirectory dir : fully qualified name of an empty work directory
-section name,name : execute named sections from comma separated list in XML
-qmlist qm,qm : run commands only for those QMs supplied
-timeout secs : timeout period for commands in seconds (0 indefinite)
-demo : list work that would be executed
-v : verbose output into console log
-ftp <IBM custom="custom"> : ftp the zip file on completion
IBM -Send file straight to IBM (requires -pmrno)
custom -Send the file to a user provided location
For use with -ftp IBM:
-pmrno pmrNumber : provide a pmr number for the file name
For use with -ftp custom:
-ftpserver server : name of server to be used for the ftp connection
-ftpusername username : username to be used for the ftp connection
-ftppassword password : password to be used for the ftp connection
-ftpdirectory path : directory to be used for the ftp connection
Other options:
-help : provide simple help
-sub : Shows what keywords will be substitued in the xml</IBM>