MQ Series Tips

A Mainframe-Tip a Day keeps the bugs away!
Forum rules
All of these Tips/Tuning-suggestions should be tested your own, at your shop, prior to use in Prod.
Previous topicNext topic

Topic Author
zprogrammer
Global Moderator
Global Moderator
Posts: 605
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars
Zodiac: Libra

MQ Series Tips

Post by zprogrammer » Wed Feb 19, 2014 12:33 am

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.


zprogrammer


Topic Author
zprogrammer
Global Moderator
Global Moderator
Posts: 605
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars
Zodiac: Libra

Re: MQSeries tips

Post by zprogrammer » Wed Feb 19, 2014 12:39 am

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


zprogrammer


Topic Author
zprogrammer
Global Moderator
Global Moderator
Posts: 605
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars
Zodiac: Libra

Re: MQSeries tips

Post by zprogrammer » Thu Feb 27, 2014 10:07 pm

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.


zprogrammer

Previous topicNext topic

Return to “Tip Of the Day.”