<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic what is $ sign inside this LIBNAME in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/what-is-sign-inside-this-LIBNAME/m-p/21039#M4394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to find the meaning of $ sign inside the following quotes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;libname name '$CUSTOMER'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my SAS class, I was taught physical location is specified inside the quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I explored SAS documentation but could not get a clear understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone of you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mirisage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Jun 2011 17:18:39 GMT</pubDate>
    <dc:creator>Fernando</dc:creator>
    <dc:date>2011-06-25T17:18:39Z</dc:date>
    <item>
      <title>what is $ sign inside this LIBNAME</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-is-sign-inside-this-LIBNAME/m-p/21039#M4394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to find the meaning of $ sign inside the following quotes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;libname name '$CUSTOMER'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my SAS class, I was taught physical location is specified inside the quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I explored SAS documentation but could not get a clear understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone of you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mirisage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jun 2011 17:18:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-is-sign-inside-this-LIBNAME/m-p/21039#M4394</guid>
      <dc:creator>Fernando</dc:creator>
      <dc:date>2011-06-25T17:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: what is $ sign inside this LIBNAME</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-is-sign-inside-this-LIBNAME/m-p/21040#M4395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you've answered your own question. $CUSTOMER is the host OS (operating system) folder or directory name. I would not call it "physical" because it's pretty abstract vis a vis the hardware implementation of the OS filespace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only if your OS disallows dollar signs in file names is there a mystery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a Windows XP example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New; color: #0000ff;"&gt;options&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;noxwait&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;xsync&lt;SPAN style="color: #000000;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;&lt;SPAN style="color: #0000ff;"&gt;x&lt;/SPAN&gt; cd c:\temp ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;&lt;SPAN style="color: #0000ff;"&gt;x&lt;/SPAN&gt; mkdir $CUSTOMER ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New; color: #800080;"&gt;&lt;SPAN style="color: #0000ff;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; name &lt;/SPAN&gt;'$CUSTOMER'&lt;SPAN style="color: #000000;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt; name.test ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New; color: #000080;"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New; color: #0000ff;"&gt;libname&lt;SPAN style="color: #000000;"&gt; name &lt;/SPAN&gt;clear&lt;SPAN style="color: #000000;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;Fernando wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to find the meaning of $ sign inside the following quotes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;libname name '$CUSTOMER'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my SAS class, I was taught physical location is specified inside the quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I explored SAS documentation but could not get a clear understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone of you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mirisage&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jun 2011 21:25:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-is-sign-inside-this-LIBNAME/m-p/21040#M4395</guid>
      <dc:creator>Howles</dc:creator>
      <dc:date>2011-06-25T21:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: what is $ sign inside this LIBNAME</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-is-sign-inside-this-LIBNAME/m-p/21041#M4396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your SAS program running on a UNIX server?&amp;nbsp; If so then CUSTOMER may be an environment variable and $CUSTOMER will be replaced with its value, hopefully the path to a directory containing SAS tables.&amp;nbsp; For example on my server the following assigns a library to my home directory because HOME is a UNIX environment variable that points to my home directory /home/paul for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;libname home '$HOME';&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also get to see what $HOME was in the SAS log's NOTE: message when the code is submitted.&amp;nbsp;&amp;nbsp; Another way to determine the value of an environment variable is to use %sysget like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;%put %sysget(CUSTOMER);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jun 2011 02:53:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-is-sign-inside-this-LIBNAME/m-p/21041#M4396</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2011-06-26T02:53:54Z</dc:date>
    </item>
  </channel>
</rss>

