Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-17 Thread Alan Ackerman
I use VMFTP to create EXECs / VMFTP macros that get through our firewall just fine. Of course your firewall may well be different. If you have to respond to a firewall prom pt in some way, VMFTP allows you to do that, while stacked FTP subcommands do not. Alan Ackerman Alan (dot) Ackerman

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-15 Thread Fran Hensler
The syntax section of ftp.rexx is impossible to read with either IE or CHARLOTTe. Does someone have readable syntax? I tried accessing the http://ukcc.uky.edu/~tools.1997/ but it times out. /Fran Hensler at Slippery Rock University of Pennsylvania USA for 46 years mailto:f...@zvm.sru.edu

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-15 Thread Bruce Hayden
The original has 3270 line drawing characters in it. I dug up some old tools and tried to convert it to simple line drawing - here is what came out: Syntax: --FTP-+-+- | +---+ |

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-15 Thread Gentry, Stephen
Thanks for posting Bruce. I was having a heck of a time converting some of the special characters. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Bruce Hayden Sent: Friday, January 15, 2010 8:42 AM To: IBMVM@LISTSERV.UARK.EDU

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-15 Thread Frank M. Ramaekers
After I downloaded it, I XEDITed and entered SET TEXT ON, which makes it readable. Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-15 Thread Magat, Martin
Thank you all for the great response! Best Regards, Martin Magat -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Frank M. Ramaekers Sent: Friday, January 15, 2010 10:56 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: advise on a simple

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-15 Thread Fran Hensler
That's the ticket, Frank. I added you hint the top of the file and put it on my VM download site at http://zvm.sru.edu/~download And thanks to Bruce Hayden for his solution. /Fran Hensler at Slippery Rock University of Pennsylvania USA for 46 years mailto:f...@zvm.sru.edu

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread Magat, Martin
Hi Can anyone advise or has a ready zVM REXX script (zVM 5.4) that will ftp a file from zVM to linux (or unix)? Is it using VMFTP? A simple one will do ... will try to automate it afterwards. Many thanks in advance.

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread Bill Munson
quick and dirty exec Make sure you are linked to TCPMAINTS 592 mdisk to get the FTP module /* FTP the file to xlxap01q.testbbh.com */ MAKEBUF QUEUE 'velftp ' QUEUE PUT ''ZVMLPARS.RP123109'' 'ZVMLPARS.RP123109.txt' QUEUE PUT ''LINUXSYS.RP123109'' 'LINUXSYS.RP123109.txt' QUEUE

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread Frank M. Ramaekers
Simple: Queue (host) Queue (userid) Queue (password) Queue cd directory Queue ascii Queue put (filename)

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread Hughes, Jim
This is a sample rexx procedure and runs as a VMFTP macro. /* */ Parse arg $cd , $in , $out open ftp.server.com myuseridgoesjhere myPassWordGoesHere passive cd '/'$cd binary put $in $out quit

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread =?iso-8859-1?Q?Greg_Dyrda?=
I always use the exit option on the FTP command so I know that the transf er really worked. e.g. 'FTP XLXAP01Q.TESTBBH.COM (EXIT' quick and dirty exec Make sure you are linked to TCPMAINTS 592 mdisk to get the FTP module /* FTP the file to xlxap01q.testbbh.com */ MAKEBUF QUEUE 'velftp

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread Stricklin, Raymond J
-Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Hughes, Jim Subject: Re: advise on a simple REXX script to automate FTP from zVM to Linux server This is a sample rexx procedure and runs as a VMFTP macro.

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread Hughes, Jim
We run a RULES based VMSECURE system so no one without authorization can view the macros stored in our production dasd. Pick on me. It's okay. I learn quite a bit when picked on. It makes me think. Jim Hughes 603-271-5586 It is fun to do the impossible. ==-Original

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread Scott Rohling
Agree -- that way you can have the same code run against different hosts, etc and be separated from the userid/pw pair to use. And updating a NETRC DATA file through automation is much easier than updating an EXEC - if you need a way to keep up with pw changes. It's really not any more secure,

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread Alan Altmark
On Thursday, 01/14/2010 at 10:58 EST, Stricklin, Raymond J raymond.j.strick...@boeing.com wrote: Just as a matter of clarification, can I ask why someone would put login credentials inside of an EXEC that calls FTP, in preference to making use of NETRC DATA ? (cough) The security

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread Alan Altmark
On Thursday, 01/14/2010 at 12:25 EST, David Boyes dbo...@sinenomine.net wrote: Ugh. Can we try to avoid more certificate-based stuff until there is a sane way to manage the things? That's why SCP is more widely used than SFTP; certificate management is a enormous pain. ssh has certificate

Re: advise on a simple REXX script to automate FTP from zVM to Linux server

2010-01-14 Thread Dave Jones
Hi, Mark. In addition to the many excellent suggestions you've already received, you might also want to consider using the CMS Pipeline FTP stage. A very simple example of its use is: PIPE test file a | ftp use...@host.domain/test.file It also supports using an FTP proxy server,as well.