MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delay command for MQ

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
haree_amrid
Beginner


Joined: 21 Dec 2005
Posts: 9
Topics: 3
Location: INDIA

PostPosted: Thu Apr 26, 2007 6:54 am    Post subject: Delay command for MQ Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Apr 26, 2007 7:31 am    Post subject: Reply with quote

If I understand correctly:
  • PUTQ
  • wait 30 sec
  • GETQ

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group