thanks

Dave Adam
Supervalu Home Office
Project Specialist
(952) 828-4736
[EMAIL PROTECTED]

If one of the engines on a two engine plane fails
The other engine will always get you to the site of the crash
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------



"Potkay, Peter M (PLC, IT)" <[EMAIL PROTECTED]>
Sent by: MQSeries List <[EMAIL PROTECTED]>

07/17/2003 01:34 PM
Please respond to MQSeries List

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: MQGMO-WAITINTERVAL



"the batch job would get triggered on the message entering the queue, then sit in the initiator for up to 30 seconds, in case another message comes along, and the trigger would be nonfunctional for that 30 seconds "
>>>Correct, if the queue that is triggered is currently opened by an app, then no more trigger message will be generated for that queue.
 
 
 
 
"I assume that the timer gets reset to 30 seconds on every message that comes through, so the job could stay active all day if we get 1 message every 20 seconds"
>>>Correct.

-----Original Message-----
From:
Dave Adam [mailto:[EMAIL PROTECTED]
Sent:
Thursday, July 17, 2003 2:24 PM
To:
[EMAIL PROTECTED]
Subject:
Re: MQGMO-WAITINTERVAL


okay, I finally found this part in my book


WaitInterval

  The WaitInterval field specifies the maximum time (in milliseconds) that the MQGET call waits for a message to arrive on the queue when you
  use the MQGMO_WAIT option.  If no message arrives within the time specified in WaitInterval, the call completes and returns a reason code
  showing that there was no message that matched your selection criteria on the queue.


the sample program had 2 parts, but said the default was 5 minutes


compute mqgmo-option = mqgmo-wait + ...


and a move of 30000 to mqgmo-waitinterval


I take it, that:


the batch job would get triggered on the message entering the queue, then sit in the initiator for up to 30 seconds, in case another message comes along, and the trigger would be nonfunctional for that 30 seconds


I assume that the timer gets reset to 30 seconds on every message that comes through, so the job could stay active all day if we get 1 message every 20 seconds




Dave Adam
Supervalu Home Office
Project Specialist
(952) 828-4736
[EMAIL PROTECTED]

If one of the engines on a two engine plane fails
The other engine will always get you to the site of the crash
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Stefan Sievert <[EMAIL PROTECTED]>
Sent by: MQSeries List <[EMAIL PROTECTED]>

07/17/2003 12:16 PM
Please respond to MQSeries List

       
       To:        [EMAIL PROTECTED]

       cc:        

       Subject:        Re: MQGMO-WAITINTERVAL




Dave,
here's what my book says:
[quote]
Wait interval.

This is the approximate time, expressed in milliseconds, that the  MQGET
call waits for a suitable message to arrive. [...]
On OS/390, the period of time that the  MQGET  call actually waits is
affected by system loading and work-scheduling considerations, and can vary
between the value specified for WaitInterval and approximately 250
milliseconds greater than WaitInterval.
[/quote]

So, your value of 30000 should lead to a 30 second wait on the MQGET. Your
elapsed job time sounds like it confirms that.
HTH,
Stefan

>From: Dave Adam <[EMAIL PROTECTED]>
>Reply-To: MQSeries List <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: MQGMO-WAITINTERVAL
>Date: Thu, 17 Jul 2003 11:05:04 -0500
>
>what is the breakdown for MQGMO-WAITINTERVAL

>
>does a value of 30000 equate to 30 seconds
>
>book implies it is 5 minutes, but job runs for 35 seconds, with the wait
>specified at PIC S9(09) BINARY VALUE 30000
>
>Dave Adam
>Supervalu Home Office
>Project Specialist
>(952) 828-4736
>[EMAIL PROTECTED]
>
>If one of the engines on a two engine plane fails
>The other engine will always get you to the site of the crash
>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive





This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.


Reply via email to