I should have been more clear..  I am not doing the SET SMSG within the
loop.  Here is what I have

'CP SET SMSG IUCV'
do forever
   "WAKEUP +00:10 ( SMSG NOEXT IUCVMSG"
   <do some work based on why we woke up>
end

There are no other SET SMSG commands in the code.  Allthe work done is
in the same exec and do not involve RACF, etc.

I do issue a new WAKEUP every time the loop is repeated because I need to
sleep for at most 10 seconds.  I don't see any other way to do with
without having an external wakeup times file.  Would issuing the WAKEUP
command flush out any pending SMSG messages?

Aria.


On Wed, 15 Feb 2006 06:43:29 +0100 Kris Buelens said:
>1. There is no need for the CP SET SMSG IUCV.  Our RXSERVER doesn't use it
>2. If WAKEUP is reset in the loop: between the CP SET and WAKEUP, SMSG's
>won't be handled
>3. You don't say what you do every 10 minutes.  RAC(F) commands for
>example also use VMCF, and that "kills" any pending SMSG
>
>Kris,
>IBM Belgium, VM customer support
>
>> Hi,
>
>> I am having a problem with the WAKEUP command missing SMSG messages
>> when the messages arrive just before a scheduled wakeup time.
>
>> I have suspected this for years but never had a chance to look at
>> it closely.  I am now able to reproduce the problem.  Here is what
>> I have in a loop on a DVM:
>
>> 'CP SET SMSG IUCV'
>> "WAKEUP +00:10 ( SMSG NOEXT IUCVMSG"
>
>> The machine is to do something every 10 seconds or when it receives
>> an SMSG.  If the SMSG arrives **JUST** before the 10 second timer is up,
>> it will be missed!
>
>> Has anyone else seen this problem?
>
>> Thanks in advance.
>> Aria

Reply via email to