Hello Howard, I use execa in usera that will start an execb in cms-userb or a shellscript in Linux. When you do it in a pipe the execa will wait until the end of execb (or shellscript) before continuing. The pipe will write the output of execb in a file. So execa can continue depending on the content of this file. | 'pipe cms rexec ....... !', 'console !', '>> 'remote_exec' output a' | This logic works well for me every night. If execb is a long running exec its possible that you have to code a timeout for rexec. But plan carefully ! REXEC can be a security risk ! I do it in a completly isolated network.
________________________________ Von: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Im Auftrag von Howard Rifkind Gesendet: Freitag, 5. Dezember 2008 00:52 An: IBMVM@LISTSERV.UARK.EDU Betreff: Starting an exec on a remote machine I'm running exec X on cms user 'A' I exec X has to start exec Y running on cms user 'B' and after exec Y terminates it has to return control to the exec on cms user 'A' I could use some suggestions as to the best way to do this. Thanks _____________ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.