Posted: Wed May 16, 2007 10:34 am Post subject: mo03 load unload utility
Voyager
Joined: 25 Apr 2007 Posts: 83 Location: Melbourne
Hi
I have copied the mo03 utility (Qload Unload util) extacted the file as per the instruction. When i run the commands it doesn't do any thing just give the below details.
Quote:
unzip and copy the qload file in the WMQ folder. now running the following command
qload -iIN -fc:\myfile
qload -iIN -f c:\myfile
qload -m Q1 -iIN -fc:\myfile
no command succeded and gives the following output:
Quote:
C:\Program Files\ibm\WebSphere MQ\bin>qload -iIN -fc:\myfile
QLOAD Program by Paul Clarke [ V1.4 Build:Mar 29 2007 ]
(c) Copyright IBM Corp. 2005, 2006
Usage: QLOAD <Optional flags as below>
[-a <File access mode for fopen()>
a Append
b Binary
[-c <CCSID>[:X'Encoding'] Convert]
[-C [A][I][a][i][d][n] Context]
A Set all context (default)
I Set identity context
a Pass all context
i Pass identity context
d Default context
n No context
[-d <Display Options>]
a Add ASCII columns to HEX file
A Write ASCII lines rather than HEX
i Write message index
T Display time on queue
[-f <File Name> or -f <stdout>]
[-F <File Name> (forcing overwrite)]
[-i <Input Queue> (Browse)]
[-I <Input Queue> (Get)]
[-l <library name> e.g.mqm or mqic32]
[-m <Queue Manager name>]
[-o <Output Queue>]
[-p Purge source queue]
[-q Quiet]
[-r <Message Range>]
x Message x only
x..y Message x to message y
x#y y messages starting at message x
#x First x messages
[-t <Transaction Message Limit>]
[-T <Time on queue (Age) selection>
[[[DD:]HH:]MM ][,[[DD:]HH:]MM]
[-s <Ascii Search String>]
[-S <Ascii Not Search String>]
[-e <Ebcdic Search String>]
[-E <Ebcdic Not Search String>]
[-w <MQGET Wait interval(seconds)]
[-x <Hex Search String>]
[-X <Hex Not Search String>]
Examples
--------
Unload a queue to a file : qload -iQ1 -fmyfile
Load a queue from a file : qload -oQ1 -fmyfile
Copy a queue from Q1 to Q2 : qload -iQ1 -oQ2
Move a queue from Q1 to Q2 : qload -IQ1 -oQ2
Move old messages from Q1 to Q2 : qload -IQ1 -oQ2 -T1440
Convert from old file to new : qload -foldfile -fnewfile -da
Can any buddy please point out where i am going wrong?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum