Sunday, August 23, 2009

Some tips for MQSeries using MQSC commands in troubleshooting

Here i m going to explain with the two Q managers A & B

Assume two Queue Managers A and B which are having communication problems

Stepl: Check the dead letter Queue

dis q(Dead letter Qname) curdepth

Step 2: Check the transmit Queue

dis ql(transmition Qname) curdepth

If the curdepth is 0 then, check the date and time of the last msg sent by the sender channel

dis chs(A.B) Istmsgda Istmsgti

where A.B is the Sender channel from Queue Manager A to B

1)If the date/time is recent then it means, messages are being transmitted.

2)If the transmit queue depth is 0 and your channel does not show a recent send date & time, and your messages are not in the dead letter queue, you most likely have an application problem.

3)If the depth is greater than 0, you most likely have a problem with the sender channel.

Step 3: Check the status of your sender channel

dis chs(A.B)

If the status is STOPPED, try to determine why it is stopped.
If the status is RETRYING, then identify the reason for Retrying.

- The reason can be found by examining the Queue Manager Error Logs for that specific Channel in question.

Thanks
A.T.J

No comments:

Post a Comment