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 (September 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 24 Sep 2004 14:55:32 -0700
Reply-To:     Bob Lan <baoxian_lan@EXCITE.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Bob Lan <baoxian_lan@EXCITE.COM>
Organization: http://groups.google.com
Subject:      Re: Is it possible to specify a relative path in an SQL view?
Content-Type: text/plain; charset=ISO-8859-1

Hi there,

There is something called 'Embedded Libname Statement'. You use USING clause to embed the libname statement. There could be better ways but here is a simple example.

libname test 'c:\temp';

data test.classF; set sashelp.class; where sex='F'; run;

proc sql; create view test.class12 as select * from test.class where age lt 13 using libname test 'c:\temp'; quit;

libname libchg 'c:\temp'; proc print data=libchg.class12; run;


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