You're going to need to SEND those Linux commands in lower case (by default
they will be upper cased).   Use EXECIO to pass the command to CP in lower
case (I'd say use PIPE, but you'll run into trouble if you pass verticle
bars, for example as a stage separator in LINUX, PIPE will think they are
his...).

/*Send commands to Linux on SUSE0001 in mixed case*/
Trace Off
Address Command
Parse Arg Command
'EXECIO 0 CP (SKIP STRING SEND SUSE0001' Command
Exit Rc

This little exec sends command to userid SUSE0001, but you could have a
'common' command interface that accepts the target Linux machine as the
first argument, so you could do:

Parse Arg Linux Command
Upper Linux
'EXECIO * CP (SKIP STRING SEND' Linux Command

And then you could use one common command interface for all of your Linux
machines.

Michael Coffin, VM Systems Programmer
Internal Revenue Service - Room 6527
1111 Constitution Avenue, N.W.
Washington, D.C.  20224

Voice: (202) 927-4188   FAX:  (202) 622-3123
[EMAIL PROTECTED]



-----Original Message-----
From: Lionel Dyck [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 11:34 AM
To: [EMAIL PROTECTED]
Subject: Using Secuser and send to shutdown linux image???


I ran across secuser and send while reading this weekend and have tried to
create a rexx exec that I could use to automate the shutdown of a linux
image but I can't seem to get the login to work.  Has anyone an example of
doing something like this under z/vm that they would be willing to share?

thanks
--------------------------------------------------------------------
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

Reply via email to