View previous topic :: View next topic |
Author |
Message |
haree_amrid Beginner
Joined: 21 Dec 2005 Posts: 9 Topics: 3 Location: INDIA
|
Posted: Thu Apr 26, 2007 6:54 am Post subject: Delay command for MQ |
|
|
I want to set a delay command (for 30 secs) between the PUTQ and GETQ (for allowing the processing of JAVA system where the data is to be retrieved from) for the COBOL-CICS program which communicates with MQseries.
Any body can provide me the code for this????// _________________ With Regards,
Hareesh Amrideswaran |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Apr 26, 2007 7:31 am Post subject: |
|
|
If I understand correctly:
why?
You can set a timer in the GETQ parms, which will cause MQ to return the next item or wait x number of seconds until either the time runs out or MQ has an item to provide the GETQ command.
I would suggest that you PUTQ and die; have the JAVA PUTQ trigger your PUTQ module.
by the way - 30 seconds is a long time. what is the JAVA side doing?
here by the way, is a link to Websphere MQ Library:
http://www-306.ibm.com/software/integration/wmq/library/ _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
|
|