I think you should remove SMSG from the wakeup options.  When you use
the SMSG option, I think WAKEUP does a SET SMSG ON and then handles
receives the messages via VMCF.  What you want is to receive the
messages via IUCV, so leave the CP SET SMSG IUCV but code your wakeup
command as
"WAKEUP +00:10 (NOEXT IUCVMSG"

On 2/15/06, Aria Bamdad <[EMAIL PROTECTED]> wrote:
> 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?

--
Bruce Hayden
IBM Global Services zSeries Linux
Endicott, NY

Reply via email to