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


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