We use a couple ways. The rich man's way is to use a job scheduler with agents that can run on Linux and be notified.
The poor man's way is to use SSH between z/OS and Linux. In one case I have a batch job that runs on the mainframe that puts a file on an NFS mount to Linux in step #1. Then in step #2 it runs a script via USS that SSH'es to Linux and executes a script on the remote server to do something with that file (SFTP's it). When done with that step #3 in the JCL then does something with the file back on z/OS. The key here is using a wrapper script on the z/OS side to do the SSH so that return codes can be passed back or output from the Linux script can be parsed as needed to make a determination on if the remote execution worked OK or not. For SSH to work best it's recommended to have the same userid defined on z/OS and on Linux, with pre-shared keys so you can login without a password on Linux. Essentially this is the same type of mechanism an ISV product would do, but using freely available tooling and a little of your own code. __________________________________ Tom Stewart Infrastructure Analyst John Deere - z/OS Support Services em: [EMAIL PROTECTED] ph: (309) 765-9405 __________________________________ -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Lee Stewart Sent: Tuesday, May 13, 2008 2:30 PM To: [email protected] Subject: z/OS notification to Linux Hi all... What have any of you used for z/OS to be able notify Linux of an event. One example might be a z/OS job completes and now Linux needs to pick up it's output from an NFS mount. (Not counting z/OS issuing a message and the human operator then issuing a command.) And conceivably the notification might need to go the other way as well. MQ? RSCS to what? Thanks for any (clever) thoughts... ;-) Lee -- Lee Stewart, Senior SE Sirius Computer Solutions Phone: (303) 798-2954 Fax: (720) 228-2321 Email: [EMAIL PROTECTED] Web: www.siriuscom.com ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
