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.

Reply via email to