Here are two exec's that I used while we were testing linux under z/vm. These are not elegant nor are they the best way to do things but they worked for me during our testing period.
Startup exec: /* rexx */ "xautolog mlnxd001 synch" "xautolog mlnxd004 synch" "xautolog mlnxd007 synch" "xautolog mlnxd008 synch" Shutdown exec: /* Program to 'halt' linux machine prior to system shutdown */ call down 'mlnxd001' call down 'mlnxd004' call down 'mlnxd007' call down 'mlnxd008' say "all linux images have been halted" exit 0 down: parse arg uid pw = uid uid = translate(uid) 'Pipe cms id() | specs w1 | var user' 'SET SECUSER' uid user Address Command 'CP SEND' uid 'root' 'SLEEP 4 SEC' Address Command 'CP SEND' uid pw 'SLEEP 4 SEC' Address Command 'CP SEND' uid 'halt' say "Halt issued on" uid 'SET SECUSER' uid 'RESET' return -------------------------------------------------------------------- Lionel B. Dyck, Systems Software Lead Kaiser Permanente Information Technology 25 N. Via Monte Ave Walnut Creek, Ca 94598 Phone: (925) 926-5332 (tie line 8/473-5332) E-Mail: [EMAIL PROTECTED] Sametime: (use Lotus Notes address) AIM: lbdyck