Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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 (at) Bank of America (dot) com On Thu, 14 Jan 2010 11:10:04 -0500, Bill Munson wrote: >For in house we have no problem with REXX exec's from VM to LINUX, UNIX, >or windows > >For outside FTP,s we have to use a FTP proxy server and that can not be >put into EXEC's or SCRIPT's > >Bill Munson >Sr. z/VM Systems Programmer >Brown Brothers Harriman & CO. >525 Washington Blvd. >Jersey City, NJ 07310 >201-418-7588 > >President MVMUA >http://www2.marist.edu/~mvmua/ >http://www.linkedin.com/in/BillMunson > > > > >"Stricklin, Raymond J" >Sent by: The IBM z/VM Operating System >01/14/2010 10:57 AM >Please respond to >The IBM z/VM Operating System > > >To >IBMVM@LISTSERV.UARK.EDU >cc > >Subject >Re: advise on a simple REXX script to automate FTP from zVM to Linux >server > > > > > > >> -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. >> >> >> /* */ >> Parse arg $cd "," $in "," $out >> >> "open ftp.server.com" >> "myuseridgoesjhere" >> "myPassWordGoesHere" > >Not to pick on Jim, since everybody's given the same advice so far, but. .. > >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 us e >of NETRC DATA ? > >ok >r. > > >*** IMPORTANT >NOTE*-- The opinions expressed in this >message and/or any attachments are those of the author and not >necessarily those of Brown Brothers Harriman & Co., its >subsidiaries and affiliates ("BBH"). There is no guarantee that >this message is either private or confidential, and it may have >been altered by unauthorized sources without your or our knowledge. >Nothing in the message is capable or intended to create any legally >binding obligations on either party and it is not intended to >provide legal advice. BBH accepts no responsibility for loss or >damage from its use, including damage from virus. > > = == ==
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
On Friday, 01/15/2010 at 05:18 EST, David Boyes wrote: > Www.cacert.org. A good start to eliminating the excessive pricing charged > for a very small number of bits and one time per year checking that it's > still active. > > I don't mind people making a profit, but it shouldn't be 500% the cost of > providing the service. It is all about the web of trust. I don't care where other people get their certs or how much they pay for them as long as they are ultimately assured by someone *I* trust. As it turns out, the only entity I actually trust is the OS vendor. I trust Microsoft, for example, not to put just any old CA in the trusted set of certificates on Windows in some service pack. (Few ever look at the certificate chain in their web browsers.) Certificates are great as they provide the authentication, privacy, non-repudiation and convenience many people are looking for. As noted, though, they aren't truly free, no matter how little you pay for the certs themselves. You have to build/buy processes for server admins and individuals to get certs and for the enterprise to manage them. The work doesn't get done by itself. Alan Altmark z/VM Development IBM Endicott
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
On 1/14/10 1:00 PM, "Alan Altmark" wrote: > extortion involved in getting external assurance for CA identities. > > Dude. If you want *assurances* about identities, it isn't free. No one > said otherwise. Www.cacert.org. A good start to eliminating the excessive pricing charged for a very small number of bits and one time per year checking that it's still active. I don't mind people making a profit, but it shouldn't be 500% the cost of providing the service.
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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 http://zvm.sru.edu/~fjh +1.724.738.2153 "Yes, Virginia, there is a Slippery Rock" -- On Fri, 15 Jan 2010 08:55:39 -0600 Frank M. Ramaekers said: >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 76710
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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 REXX script to automate FTP from zVM to Linux server 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 76710 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Fran Hensler Sent: Friday, January 15, 2010 6:15 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: advise on a simple REXX script to automate FTP from zVM to Linux server 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 http://zvm.sru.edu/~fjh +1.724.738.2153 "Yes, Virginia, there is a Slippery Rock" -- On Thu, 14 Jan 2010 12:26:13 -0600 Dave Jones said: >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. > >You can find it here: > >http://vm.marist.edu/~pipeline/ftp.rexx > >Have a good one. > >DJ _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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 76710 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Fran Hensler Sent: Friday, January 15, 2010 6:15 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: advise on a simple REXX script to automate FTP from zVM to Linux server 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 http://zvm.sru.edu/~fjh +1.724.738.2153 "Yes, Virginia, there is a Slippery Rock" -- On Thu, 14 Jan 2010 12:26:13 -0600 Dave Jones said: >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. > >You can find it here: > >http://vm.marist.edu/~pipeline/ftp.rexx > >Have a good one. > >DJ _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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 Subject: Re: advise on a simple REXX script to automate FTP from zVM to Linux server 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-+-+->< | +<---+ | +-+-+--+-+ ftp-url +-+-+-+ option +-+-+ | +-<+ | | +->+ | | +->>---+ | | +-LIST-+ | | +-NLST-+ | +-+ host +-+ ftp-url: +-FTP://+ +-+---+-+ open +--++-+ +-/-+ ftp-url-path +-+ open: +-+-+-+ host +-+ +-+ login +...@-+ host: +<--.--++-:21---+ +-+-+-word-+--+-±---±-+ +-ipaddress-+ +-:port-+ login: +-ANONYMOUS:mailbox+ +-+-userid-+---+-+-+ +-:-+--++ +-password-+ ftp-url-path: +-+---+-+--+-+--+-+ | +<-/--+ | +-name-+ +-;TYPE=-+-E-+-+ +-+-cwd-+-/-+ +-A-+ +-I-+ +-D-+ option: +-+-+-EBcdic-++-+ | +-AScii--+| | +-+-Binary-+-+| | +-IMage--+ | +-+-RECord-++ | +-FILe---+| +-+-BLOck--++ | +-STReam-+| | +-QUIET--+| +-+-NOISY--++ +-PASSIVE---+ +-ANYDATAport---+ +-PROXY-+ ftp-url +-+ +-SITE-dstring--+ +-TIMEOut-nnn---+ +-USERid-tcpipid+ | +-1047-819+ | | | +-819-+ | | | +-CODEPages-+-nnn-±-±-+-+ | | | +-nnn-+ | | +-±---±-+ | | +-<+ | | | +-+-+-E2Atable-dstring-+-+--+ | | +-A2Etable-dstring-+ | | +-QUIET-+ | +-±---±-+ | +-NOISY-+ | +-+-TOLerant---++ +-INTOLerant-+ You will, of course, have to use a fixed font to view this.. On Fri, Jan 15, 2010 at 7:14 AM, Fran Hensler wrote: > 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 http://zvm.sru.edu/~fjh +1.724.738.2153 > "Yes, Virginia, there is a Slippery Rock" > -- -- Bruce Hayden z/VM and Linux on System z ATS IBM, Endicott, NY
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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-+-+->< | +<---+ | +-+-+--+-+ ftp-url +-+-+-+ option +-+-+ | +-<+ | | +->+ | | +->>---+ | | +-LIST-+ | | +-NLST-+ | +-+ host +-+ ftp-url: +-FTP://+ +-+---+-+ open +--++-+ +-/-+ ftp-url-path +-+ open: +-+-+-+ host +-+ +-+ login +...@-+ host: +<--.--++-:21---+ +-+-+-word-+--+-±---±-+ +-ipaddress-+ +-:port-+ login: +-ANONYMOUS:mailbox+ +-+-userid-+---+-+-+ +-:-+--++ +-password-+ ftp-url-path: +-+---+-+--+-+--+-+ | +<-/--+ | +-name-+ +-;TYPE=-+-E-+-+ +-+-cwd-+-/-+ +-A-+ +-I-+ +-D-+ option: +-+-+-EBcdic-++-+ | +-AScii--+| | +-+-Binary-+-+| | +-IMage--+ | +-+-RECord-++ | +-FILe---+| +-+-BLOck--++ | +-STReam-+| | +-QUIET--+| +-+-NOISY--++ +-PASSIVE---+ +-ANYDATAport---+ +-PROXY-+ ftp-url +-+ +-SITE-dstring--+ +-TIMEOut-nnn---+ +-USERid-tcpipid+ | +-1047-819+ | | | +-819-+ | | | +-CODEPages-+-nnn-±-±-+-+ | | | +-nnn-+ | | +-±---±-+ | | +-<+ | | | +-+-+-E2Atable-dstring-+-+--+ | | +-A2Etable-dstring-+ | | +-QUIET-+ | +-±---±-+ | +-NOISY-+ | +-+-TOLerant---++ +-INTOLerant-+ You will, of course, have to use a fixed font to view this.. On Fri, Jan 15, 2010 at 7:14 AM, Fran Hensler wrote: > 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 http://zvm.sru.edu/~fjh +1.724.738.2153 > "Yes, Virginia, there is a Slippery Rock" > -- -- Bruce Hayden z/VM and Linux on System z ATS IBM, Endicott, NY
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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 http://zvm.sru.edu/~fjh +1.724.738.2153 "Yes, Virginia, there is a Slippery Rock" -- On Thu, 14 Jan 2010 12:26:13 -0600 Dave Jones said: >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. > >You can find it here: > >http://vm.marist.edu/~pipeline/ftp.rexx > >Have a good one. > >DJ
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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. You can find it here: http://vm.marist.edu/~pipeline/ftp.rexx Have a good one. DJ On 01/14/2010 05:02 AM, Magat, Martin wrote: 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. -- Dave Jones V/Soft www.vsoft-software.com Houston, TX 281.578.7544
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
On Thursday, 01/14/2010 at 12:25 EST, David Boyes 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 management issues, too. But I agree that central administration of certificates would be a Good Thing. > We won't go into the cost and > extortion involved in getting external assurance for CA identities. Dude. If you want *assurances* about identities, it isn't free. No one said otherwise. Who issues your certificates for ssh? Oh. You generate them *yourself* and ask the server admin to install your public key (or via other key management mechanism)? I'm not impressed. Alan Altmark z/VM Development IBM Endicott
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
On 1/14/10 11:59 AM, "Alan Altmark" wrote: > On Thursday, 01/14/2010 at 10:58 EST, "Stricklin, Raymond J" > 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 exposure and subsequent audit failure is the same, > whether you have a clear-text password in an EXEC or a NETRC file. In > either case, the password should be in clear-text only in flight, not at > rest. While at rest it should be encrypted (preferred), hashed, or > otherwise obscured. At minimum, stored in SFS where you can apply file-level security. > This is why user certficate support for Secure FTP is needed. Then you > won't need a password (unless the other end requires 2-factor > authentication). 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. We won't go into the cost and extortion involved in getting external assurance for CA identities. ISAKMP would be a LOT less of a pain. Or GSS-API support.
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
On Thursday, 01/14/2010 at 10:58 EST, "Stricklin, Raymond J" 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 exposure and subsequent audit failure is the same, whether you have a clear-text password in an EXEC or a NETRC file. In either case, the password should be in clear-text only in flight, not at rest. While at rest it should be encrypted (preferred), hashed, or otherwise obscured. This is why user certficate support for Secure FTP is needed. Then you won't need a password (unless the other end requires 2-factor authentication). Alan Altmark z/VM Development IBM Endicott
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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, though.. it's still readable text in a file. Just better separation of code from 'data'. Scott On Thu, Jan 14, 2010 at 8:57 AM, Stricklin, Raymond J < raymond.j.strick...@boeing.com> wrote: > > -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. > > > > > > /* */ > > Parse arg $cd "," $in "," $out > > > > "open ftp.server.com" > > "myuseridgoesjhere" > > "myPassWordGoesHere" > > Not to pick on Jim, since everybody's given the same advice so far, but... > > 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 ? > > ok > r. >
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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 Message- ==>From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On ==>Behalf Of Stricklin, Raymond J ==>Sent: Thursday, January 14, 2010 10:57 AM ==>To: IBMVM@LISTSERV.UARK.EDU ==>Subject: Re: advise on a simple REXX script to automate FTP from zVM to ==>Linux server ==> ==>> -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. ==>> ==>> ==>> /* */ ==>> Parse arg $cd "," $in "," $out ==>> ==>> "open ftp.server.com" ==>> "myuseridgoesjhere" ==>> "myPassWordGoesHere" ==> ==>Not to pick on Jim, since everybody's given the same advice so far, ==>but... ==> ==>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 ? ==> ==>ok ==>r.
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
For in house we have no problem with REXX exec's from VM to LINUX, UNIX, or windows For outside FTP,s we have to use a FTP proxy server and that can not be put into EXEC's or SCRIPT's Bill Munson Sr. z/VM Systems Programmer Brown Brothers Harriman & CO. 525 Washington Blvd. Jersey City, NJ 07310 201-418-7588 President MVMUA http://www2.marist.edu/~mvmua/ http://www.linkedin.com/in/BillMunson "Stricklin, Raymond J" Sent by: The IBM z/VM Operating System 01/14/2010 10:57 AM Please respond to The IBM z/VM Operating System To IBMVM@LISTSERV.UARK.EDU cc Subject Re: advise on a simple REXX script to automate FTP from zVM to Linux server > -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. > > > /* */ > Parse arg $cd "," $in "," $out > > "open ftp.server.com" > "myuseridgoesjhere" > "myPassWordGoesHere" Not to pick on Jim, since everybody's given the same advice so far, but... 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 ? ok r. *** IMPORTANT NOTE*-- The opinions expressed in this message and/or any attachments are those of the author and not necessarily those of Brown Brothers Harriman & Co., its subsidiaries and affiliates ("BBH"). There is no guarantee that this message is either private or confidential, and it may have been altered by unauthorized sources without your or our knowledge. Nothing in the message is capable or intended to create any legally binding obligations on either party and it is not intended to provide legal advice. BBH accepts no responsibility for loss or damage from its use, including damage from virus.
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
> -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. > > > /* */ > Parse arg $cd "," $in "," $out > > "open ftp.server.com" > "myuseridgoesjhere" > "myPassWordGoesHere" Not to pick on Jim, since everybody's given the same advice so far, but... 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 ? ok r.
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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 ' >QUEUE PUT ''ZVMLPARS.RP123109'' 'ZVMLPARS.RP123109.txt' >QUEUE PUT ''LINUXSYS.RP123109'' 'LINUXSYS.RP123109.txt' >QUEUE PUT ''LINUXMEM.RP123109'' 'LINUXMEM.RP123109.txt' >QUEUE 'QUIT' >QUEUE ' ' >'FTP' XLXAP01Q.TESTBBH.COM >DROPBUF > >EXIT >
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. /* */ Parse arg $cd "," $in "," $out "open ftp.server.com" "myuseridgoesjhere" "myPassWordGoesHere" "passive" "cd" '/'$cd "binary" "put" $in $out "quit" Jim Hughes 603-271-5586 "It is fun to do the impossible." ==>-Original Message- ==>From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On ==>Behalf Of Magat, Martin ==>Sent: Thursday, January 14, 2010 6:02 AM ==>To: IBMVM@LISTSERV.UARK.EDU ==>Subject: Re: advise on a simple REXX script to automate FTP from zVM to ==>Linux server ==> ==>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
Simple: Queue "(host)" Queue "(userid)" Queue "(password)" Queue "cd directory" Queue "ascii" Queue "put (filename)" Queue "quit" "PIPE CMS FTP", "| >" "(filename) FTPLOG A" If rc>0 then Say "FTP of CPU information failed with rc="rc"." 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 76710 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Magat, Martin Sent: Thursday, January 14, 2010 5:02 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: advise on a simple REXX script to automate FTP from zVM to Linux server 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. _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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 PUT ''LINUXMEM.RP123109'' 'LINUXMEM.RP123109.txt' QUEUE 'QUIT' QUEUE ' ' 'FTP' XLXAP01Q.TESTBBH.COM DROPBUF EXIT is of course the password to VELFTP good luck Bill Munson Sr. z/VM Systems Programmer Brown Brothers Harriman & CO. 525 Washington Blvd. Jersey City, NJ 07310 201-418-7588 President MVMUA http://www2.marist.edu/~mvmua/ http://www.linkedin.com/in/BillMunson "Magat, Martin" Sent by: The IBM z/VM Operating System 01/14/2010 06:02 AM Please respond to The IBM z/VM Operating System To IBMVM@LISTSERV.UARK.EDU cc Subject Re: advise on a simple REXX script to automate FTP from zVM to Linux server 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. *** IMPORTANT NOTE*-- The opinions expressed in this message and/or any attachments are those of the author and not necessarily those of Brown Brothers Harriman & Co., its subsidiaries and affiliates ("BBH"). There is no guarantee that this message is either private or confidential, and it may have been altered by unauthorized sources without your or our knowledge. Nothing in the message is capable or intended to create any legally binding obligations on either party and it is not intended to provide legal advice. BBH accepts no responsibility for loss or damage from its use, including damage from virus.
Re: advise on a simple REXX script to automate FTP from zVM to Linux server
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.