For a VM based solution to waiting for messages from a secuser look into
using the CMS utility Wakeup. This program will can be used to wait for
an IUCV message to arrive. The Help also provides some examples. We are
using a VM based automation solution because our shutdown process also
stops the VM/TCPIP CTCA Device, and starts a VM Based (VM/Backup) tape
backup of the guest. Our Startup automation activates the VM/TCPIP CTCA
then Autologs the guest. We wrote VM/Operator macro's to trap the
messages from the guest and TCPIP and issue the correct commands. Already
having VM/Center software for other VM apps made choosing VM/Operator an
easy choice but these products are not cheap. The same process could be
done with a CMS machine running Wakeup the way we did it before VM/Center.
Christopher Lowry
JPMorganChase
"Kinnear, Mike"
<MKinnear@guide To: [EMAIL PROTECTED]
mail.com> cc:
Sent by: Linux Subject: Communication between Linux
and z/VM
on 390 Port
<[EMAIL PROTECTED]
ARIST.EDU>
02/27/02 05:55
PM
Please respond
to Linux on 390
Port
I am trying to develop an exec that will shut down a Linux instance from VM
user MAINT. I have figured out how to become a secondary user and log on as
root and provide a password using CPSEND mechanism. The problem I'm having
is being able to code a routine that can parse a response sent from the
Linux instance. I want to know if an "application" shutdown within the
instance has completed before I issue a "shutdown -h now" to the instance.
I
have it working just using some "sleep" commands, but I need more control
than that. Does anyone have any ideas? Thanks.