LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (May 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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. ****************************************************************


Back to: Top of message | Previous page | Main SAS-L page