> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Donald Johnson
> Sent: Tuesday, December 20, 2011 12:02 PM
> To: IBM-MAIN@bama.ua.edu
> Subject: FTP PUT of temporary files possible?
> 
> Hi all! Does anyone know if or how it is possible to PUT 
> temporary files
> (&&filenm) using FTP in z/OS?
> 
> Thanks for the information!
> *don*

Sort of. You can do this, in a batch FTP job:

//DOPUT EXEC PGM=FTP,PARM='(EXIT'
//OUTPUT DD SYSOUT=*
//TEMPFILE DD DISP=OLD,DSN=&&FILENM
//INPUT DD *
ipaddress
userid
password
put remote.file //DD:TEMPFILE
/*
//

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to