Date: Fri, 25 Jun 1999 14:28:26 -0700
Reply-To: "Karsten M. Self" <kmself@IX.NETCOM.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Karsten M. Self" <kmself@IX.NETCOM.COM>
Organization: Self Analysis
Subject: Fileref based on fileref pointing to directory?
Content-Type: text/plain; charset=us-ascii
Quickie, the obvious answer isn't right.
Is there a way to define a fileref based on an existing fileref in an
easy manner? In this case, I've got a report fileref REP which points
to a directory where standard reports are filed. To write my report I'd
do:
data _null_;
set stuff;
file REP("myreport.txt");
put /* coolstuff */ ;
run;
I'd like:
filename myreport REP("myreport.txt");
...but it doesn't work.
I can extract paths with SCL functions, is that the only option?
Details: 6.12/Unix.
--
Karsten M. Self (kmself@ix.netcom.com)
What part of "Gestalt" don't you understand?
SAS for Linux: http://www.netcom.com/~kmself/SAS/SAS4Linux.html
Mailing List: body "subscribe sas-linux"
mailto:majordomo@Cranfield.ac.uk