Date: Tue, 8 May 2007 23:00:38 -0400
Reply-To: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Subject: Re: SAS FTP
On Tue, 8 May 2007 13:12:14 -0400, SUBSCRIBE SAS-L Anonymous
>I am running the following code:
>filename rename ftp ''
> user="xxx" pass="xxx"
>rcmd='rename /a/b/utility/xxx.txt /a/b/utility/xxx2.txt';
>infile rename ;
>Which I understand you should be able to do. It runs without errors but
>does not rename the file. I can rename the file if try through fpt.
>Anyone any ideas?
1. Code the DEBUG option in your FILENAME statement.
2. Try placing an INPUT statement in your DATA step.