Parameterise MQ timeout value in CICS program



Support for MQSeries and Websphere Message Oriented Middleware communication systems for z/OS

Parameterise MQ timeout value in CICS program

Postby MFUser1 » Mon Jul 15, 2013 9:38 am

Hello friends,

I am writing a CICS-MQ program where I need to be able to parameterise the MQ timeout value. Should I store the timeout threshold value in a VSAM file and read and use it in my program or is there a more efficient way to make the MQ timeout threshold value configurable ? Please advise.

Thanks,
LP.
MFUser1
 
Posts: 18
Joined: Mon Jul 15, 2013 9:25 am
Has thanked: 0 time
Been thanked: 0 time

Re: Parameterise MQ timeout value in CICS program

 

Re: Parameterise MQ timeout value in CICS program

Postby MFUser1 » Tue Jul 16, 2013 4:54 am

To be more specific, when I say MQ Timeout value, I mean the WAIT INTERVAL in MQGMO during MQGET has to be made configurable. Instead of hardcoding the Wait Interval in the program, it has to be made configurable. Also, the TIMEOUT parameter in MQPMO while doing a MQPUT is reserved for MQ Manager and we don't change it in application program. How can we make the TIMEOUT in MQPMO configurable ?
MFUser1
 
Posts: 18
Joined: Mon Jul 15, 2013 9:25 am
Has thanked: 0 time
Been thanked: 0 time

Re: Parameterise MQ timeout value in CICS program

Postby dick scherrer » Tue Jul 16, 2013 9:02 pm

Hello,

First - i don't "do" MQ, so . . .

Why do you believe this is possible? I've not heard of this before.

What would be the advantage of being able to configure the timeout value?

Possibly we can come up with an alternative.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Parameterise MQ timeout value in CICS program

Postby MFUser1 » Wed Jul 17, 2013 5:16 am

The business says they may want to change the wait interval frequently. So, we do not want to harcode the value in the code and instead read it from a file.
MFUser1
 
Posts: 18
Joined: Mon Jul 15, 2013 9:25 am
Has thanked: 0 time
Been thanked: 0 time


Return to WebSphere MQ

 


  • Related topics
    Replies
    Views
    Last post