| Date: | Wed, 5 May 2004 11:46:01 -0500 |
| Reply-To: | "Krone, Ben --- Senior Manager --- GO"
<Ben.Krone@FREIGHT.FEDEX.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Krone, Ben --- Senior Manager --- GO"
<Ben.Krone@FREIGHT.FEDEX.COM> |
| Subject: | FTP to interal reader on MVS |
| Content-Type: | text/plain; charset="us-ascii" |
Greetings,
I did a search of the archives on the above subject and found the
following FTP command to get this working:
quote site filetype=jes
This works great from a command prompt, however I am wanting to use
within a SAS program running on my workstation. I have been trying to
use the FILENAME FTP access method, but have not gotten it to work yet.
Here is my code.
filename jes ftp ''
host=<mainframe ip>
user=<userid>
pass=<password>
rcmd='site filetype=jes';
data _null_;
infile 'c:\temp.txt';
input;
file jes;
put _infile_;
run;
filename jes clear;
I receive an error "ERROR: Invalid Reply received for the STOR
command..". When I use the DEBUG option on the filename there is a note
that the SITE command was accepted.
Any help or insights would be greatly appreciated.
Thanks
Ben
**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************
|