Date: Fri, 19 Oct 2007 05:13:38 -0700
Reply-To: Patrick <patrick.matter@GMX.CH>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Patrick <patrick.matter@GMX.CH>
Organization: http://groups.google.com
Subject: Re: Overriding LIBNAME and FILENAME statements
In-Reply-To: <wq0Si.1$%a5.92251@news.sisna.com>
Content-Type: text/plain; charset="us-ascii"
Hi Paul
Others gave you already lots of ideas and yes: It all ends up not to
hard-code the physical paths but to use a macro variable.
Only a bit OT:
Just got my first overview of the BI-framework at SAS. If this
framework is installed at your site and you have anyway to touch the
code then (may be) it would be the time to have all the definitions in
the meta data repository.
The libname statement would change from something like: libname inlib
"/production/data/input"; to something like: libname inlib meta
library="My input library"; - and the physical path is stored in the
meta data repository. Just don't know yet where to best change the
physical meta data definition so that I can use the repository within
different environments (eg test & production) without having to define
everything twice (and back are the macro vars :-)).
As an "old" SAS coder I'm not so happy with this development but this
is where SAS is going to.
Patrick
|