Page 1 of 1

Parameterise MQ timeout value in CICS program

PostPosted: Mon Jul 15, 2013 9:38 am
by MFUser1
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.

Re: Parameterise MQ timeout value in CICS program

PostPosted: Tue Jul 16, 2013 4:54 am
by MFUser1
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 ?

Re: Parameterise MQ timeout value in CICS program

PostPosted: Tue Jul 16, 2013 9:02 pm
by dick scherrer
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.

Re: Parameterise MQ timeout value in CICS program

PostPosted: Wed Jul 17, 2013 5:16 am
by MFUser1
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.