Page 1 of 1

MQ Series Tips

Posted: Wed Feb 19, 2014 12:33 am
by zprogrammer
1.When ever you are trying to Delete a Queue ensure there are no messages to process.Having messages it would not allow you to Delete a queue.

Re: MQSeries tips

Posted: Wed Feb 19, 2014 12:39 am
by zprogrammer
2.To Trigger a CICS Transaction ensure to do the following things

- Choose a right trigger type in MQ ( This will be elaborated in coming days)
- Associating a PROCESS to a Queue while defining it
- Choosing the right Initiating Queue
- Associating a CICS Transaction to a PROCESS
- Associating a PROGRAM to the CICS transaction

Re: MQSeries tips

Posted: Thu Feb 27, 2014 10:07 pm
by zprogrammer
3.MQ Trigger types
EVERY A trigger event occurs every time that a message arrives on the application queue. Use this type of trigger if you want a serving program to process only one message, then end.

FIRST A trigger event occurs only when the number of messages on the application queue changes from zero to one. Use this type of trigger if you want a serving program to start when the first message arrives on a queue, continue until there are no more messages to process, then end.

DEPTH A trigger event occurs only when the number of messages on the application queue reaches the value of the TriggerDepth attribute. A typical use of this type of triggering is to start a program when all the replies to a set of requests are received.