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
<lm_pope@HOTMAIL.COM> wrote:
>I am running the following code:
>
>filename rename ftp ''
> host="host"
> user="xxx" pass="xxx"
> recfm=v
>rcmd='rename /a/b/utility/xxx.txt /a/b/utility/xxx2.txt';
>
>data a;
>infile rename ;
>put _infile_;
>run;
>
>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?
>
>Ta.
1. Code the DEBUG option in your FILENAME statement.
2. Try placing an INPUT statement in your DATA step.
|