Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-12 Thread Miller, Ila
Is it possible to write a mainframe REXX exec which will logon to a zVM Linux instance and issue commands. If so, can you be specific in how to do it? Ila Z. Miller ___ ___ Health Care

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-12 Thread Alan Altmark
On Friday, 08/12/2005 at 02:59 EST, "Miller, Ila" <[EMAIL PROTECTED]> wrote: > Is it possible to write a mainframe REXX exec which will logon to a zVM > Linux instance and issue commands. If so, can you be specific in how to > do it? Yes. Diagnose 0x7C lets a virtual machine create logical 3270s

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-12 Thread James Melin
We use a product called Universal Command from stonebranch software. Using that we've built an ISPF dialogue that caused scripts to be shipped from z/OS hfs to linux and be executed, returning stdout/stdin and return codes of a sort. We have it in place for the operations staff to stop/start WebSph

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-12 Thread Tom Duerbusch
If you are just talking something rather simple In this case, I have the secondary console to the Linux machines routed to PROP. I use the following exec to issue commands to Linux to shutdown. In a test case, just set the secondary user to your CMS machine and do a "send" to that Linux mach

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-12 Thread David Kreuter
Depending on your needs you can use the AUTOLOG or XAUTOLOG command to fire up a linux virtual machine, and use SET SECUSER to control to linux vm's console. With CP SEND you can issue commands to the linux guest. In a rexx exec you will easily be able to pass mixed case commands. From MACHINEA wi

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-12 Thread Stephen Y Odo
Miller, Ila wrote: Is it possible to write a mainframe REXX exec which will logon to a zVM Linux instance and issue commands. If so, can you be specific in how to do it? We have a generic SSH thing that we do to run commands on our Sun servers from our job scheduler. It probably would work

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-12 Thread David Boyes
> Is it possible to write a mainframe REXX exec which will > logon to a zVM Linux instance and issue commands. If so, can > you be specific in how to do it? There are several ways to do this: 1) Enable REXEC on the Linux guest, and use the REXEC client supplied with VM TCPIP. 2) Use CP SEND and

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-13 Thread Dave Jones
Hi, James. I've got some code here that might do what you want..there are two separate pieces to this application: 1) a piece, written in PL/I, that run on CMS and uses TCP/IP socket calls to connect with. 2) the piece, written in C, that runs on Linux and waits for connections. When a T

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-13 Thread Post, Mark K
Care to donate the source code to the web site? Mark Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Dave Jones Sent: Saturday, August 13, 2005 11:23 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Mainframe REXX EXEC to logon to zVM Linux instance and

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-16 Thread Tom Duerbusch
The exec I listed last week, didn't allow for the return of the results, at least in the form that the exec could parse thru. However, you can always (linux form) pipe the results to a file and then ftp the file back to the calling exec. Then parse the results there. I've not had the need to do

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-16 Thread John Summerfied
Tom Duerbusch wrote: The exec I listed last week, didn't allow for the return of the results, at least in the form that the exec could parse thru. However, you can always (linux form) pipe the results to a file and then ftp the file back to the calling exec. Then parse the results there. I've

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-23 Thread Miller, Ila
What I would like to do is have a mainframe batch job issue a command to a linux z/VM instance and shut the linux instance down. Then through the scheduling mainframe package, a mainframe job could be run to do an FDR backup of the DASD assigned to that instance. When the job successfully complet

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-23 Thread David Boyes
> What I would like to do is have a mainframe batch job issue a > command to a linux z/VM instance and shut the linux instance > down. Then through the scheduling mainframe package, a > mainframe job could be run to do an FDR backup of the DASD > assigned to that instance. When the job successful

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-23 Thread Wolfe, Gordon W
ay, August 23, 2005 9:18 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands > What I would like to do is have a mainframe batch job issue a > command to a linux z/VM instance and shut the linux instance > down. Then thro

Re: Mainframe REXX EXEC to logon to zVM Linux instance and issue commands

2005-08-24 Thread Jon Brock
I use REXEC to do pretty much what Gordon describes below, except that I can't monitor the results of the SIGNAL SHUTDOWN command, so I just use a sleep program to pause my z/OS job. I have ordered the z/OS add-ons so that I can start using ssh, which should be more secure and give me m