Date: Thu, 7 Jan 2010 13:27:20 -0600
Reply-To: baogong jiang <bgjiang@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: baogong jiang <bgjiang@GMAIL.COM>
Subject: create a file using filename FTP method
Content-Type: text/plain; charset=ISO-8859-1
Hello:
I tried to create a file (test.dat) using FTP method and can not figure out
what's wrong with the code, please help.
14 filename x ftp 'test.dat' cd='/omf/he/sas'
15 host='10.12.81.251'
16 user='dhh\bjiang02' pass=XXXXXXXXXXXXXXXXXXXXXX recfm=v;
17 data _null_;
18 file x;
19 do i=1 to 10;
20 put i=;
21 end;
22
23 run;
NOTE: 220 Microsoft FTP Service
ERROR: Physical file does not exist, test.dat.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds
thanks,
baogong
|