You've already received good responses to the original question. But there may be more when the question is looked at from a different direction. Why would you need a script to reply to upgrade prompts?
Could you not have one "golden image" Linux server disk that is cloned for each server to use (or linked R/O)? That's the beauty of running under z/VM... you can have one Linux "system disk", all linked read-only by many servers. Then individual server upgrades are made simply by changing a LINK statement in their directory entry, shutting them down. logging them off, and XAUTOLOGing them back on. They come up with the new (presumable well-tested) Linux distro maintenance. Obviously, there are a lot of steps involved to get to that point - but it should be worth the effort of you have many Linux servers - you will save lots of disk space - you know that all servers are running the same exact tested/audited system - upgrade implementations become extremely easy (and more successful) There are many IBM Redbooks, Redpapers, and other doc related to this method. There is a 100% chance of someone else sharing (before the end of the day) pointers to current-state methods to do this. Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. Tom Duggan <dugg...@emigrant.com> Sent by: "The IBM z/VM Operating System" <IBMVM@LISTSERV.UARK.EDU> 08/05/2010 08:09 AM Please respond to "The IBM z/VM Operating System" <IBMVM@LISTSERV.UARK.EDU> To IBMVM@LISTSERV.UARK.EDU cc Subject Pushing replies to Linux SLES 11 upgrade from a REXX EXEC I hope this gets through...(and a Hello! from a new member if it does!) I've been assigned a recent project of trying to automate the initial responses of a SLES 11 upgrade to servers running under z/VM 5.3. I'm trying to automate the replies up until the point in the process where SSH is launched to start yast. I've tried PUSH and QUEUE without success. I'm more of a VM'er than "Linuxite" and just looking for a nudge in the right direction. I'm working on a 3270 emulator macro (Passport PC to Host) at present, which is a little tedious. What I'm seeing is after the guest machine's reader is IPL'd, CMS goes away and we're in a Linux environment, no? The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.