Saturday 15 February 2014

IBM WebSphere MQ Client Overview

An IBM WebSphere MQ client is part of the IBM WebSphere MQ product that can be installed on its own, on a separate machine from the MQ server. You can run an IBM WebSphere MQ application on an IBM WebSphere MQ client, which interacts with one or more IBM WebSphere MQ servers. The IBM WebSphere MQ client connects to queue managers by means of a communications protocol. The servers to which the client connects might or might not be part of an IBM WebSphere MQ cluster.


The queues and other IBM WebSphere MQ objects are held on a queue manager that you have installed on an MQ server machine. When the application issues a client call, the IBM WebSphere MQ client directs the request to a queue manager, where it is processed and from where a reply is sent back to the IBM WebSphere MQ client. The link between the MQ application and the IBM WebSphere MQ client is established dynamically at runtime.

Thursday 6 February 2014

Messages Backup On Queues Using Qload & Unload Utility

Create Queue Manager:
                CRTMQM QM1
Start Queue Manager:
                STRMQM QM1
Get RUNMQSC Console For Queue Manager:
                RUNMQSC QM1
Create Two Local Queues:
                DEFINE QLOCAL(Q1)
                DEFINE QLOCAL(Q2)

Put 10 messages into Q1.

Download MO03 Support Pack To Do Following Operations.

Unload a Queue to a File
qload –m QM1 –i Q1 –f c:\myfile
Load a Queue from a File
qload –m QM1 –o Q1 –f c:\myfile
Copy the messages from one Queue to another Queue
qload –m QM1 –i Q1 -o Q2 
Copy the first 10 messages from one Queue to another Queue
qload –m QM1 –i Q1 –o Q2 –r#10

Option
Meaning
x
Process message number x only.
x..y
Process message number x through y only
x#y
Process y messages starting from message x
#y
Process y messages starting from the beginning.
Note: This is the same as 1#y

Move the messages from one Queue to another Queue
qload –m QM1 –I Q1 –o Q2


Best Regards,
MADHU K
IBM MQ Certified Professional
HYDERABAD
+917893751171/+919964371404
mailme.mq@gmail.com
trainingontech.com
http://www.ibmmqadmin-madhu.blogspot.in