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.
Post Reply
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

MQ Series Tips

Post 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.
zprogrammer
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: MQSeries tips

Post 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
zprogrammer
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: MQSeries tips

Post 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.
zprogrammer
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Tip Of the Day.”