Date: Tue, 13 Feb 2001 19:30:21 -0500
Reply-To: Jack Shoemaker <JShoemaker@ACCORDANT.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Shoemaker <JShoemaker@ACCORDANT.NET>
Subject: WNT: Using environment variables in LIBNAME statements
Content-Type: text/plain; charset="iso-8859-1"
If my WNT username is 'shoe' and I have a folder called shoe in the
'\\SERVER\Share' share, then I would like to make this LIBNAME statement
libname u '\\SERVER\Share\%USERNAME%'; run;
Trouble is, the above doesn't work for me under WNT4.0SP6 SAS 8.1. Does
anyone know the trick to de-reference the USERNAME environment variable so
that it will work in a LIBNAME statement?
TIA - Jack
Jack N Shoemaker / JShoemaker@Accordant.net
Visit our patient communities at http://www.accordant.com or our corporate