Installation of MQ6 Client on Windows

I. Install MQ Client Version 6 on Windows.

1. Copy mqc6_win.zip to the machine.

2. Unzip the mqc6_win.zip file to a temporary directory

3. Run the Setup.exe file in the Windows directory of the zip file

4. Choose Language dialog, select Next.

5. Select Next for the introduction page

6. Accept the agreement and select Next.

7. Select a COMPACT installation and hit the Next button

8. Hit the Next button

9. Choose Finish.

10. The Prepare WebSphere MQ Dialog will appear, Select Next.

11. Uncheck ‘Launch Readme…’, and hit the Finish button.

12. Reboot if necessary.

MQ Checks using .Net

Aim:

Perform Checks on MQ using .Net (To Check ChannelStatus, PubSubStatus, QueueManagerPing,
QueueManagerStatus)

Setup:

1.
Visual Studio

2.
Amqmdnet.dll

3.
IBM MQ Client                       

Steps:

1.
PCF commands are used to query MQ
status remotely. (using IBM.WMQ.PCF;)

2.
PCFMessageAgent agent;

3.
MQQueueManager qm = new MQQueueManager(queueManagerName, Channel, ConnName);

4.
request = new PCFMessage(CMQCFC.MQCMD_INQUIRE_CHANNEL_STATUS);

5.
request.AddParameter(…);

6.
request.AddParameter… }); ;

7.
responses = agent.Send(request);

 

The
responses” contain all the info…

 

 

 

–>