<?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 Re: Libname syntax in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887670#M350694</link>
    <description>&lt;P&gt;If you are not sure if something is valid, &lt;FONT color="#FF0000"&gt;TRY IT&lt;/FONT&gt; in SAS and you will find out.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;What is $abc, and why would you want it in a LIBNAME statement?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 12:20:53 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-08-03T12:20:53Z</dc:date>
    <item>
      <title>Libname syntax</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887666#M350693</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Hi All,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;can we define libname like libname mylib "$abc";&amp;nbsp; i m not sure if this is a valid format.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Thank you in Advanced&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 12:09:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887666#M350693</guid>
      <dc:creator>RachanaT</dc:creator>
      <dc:date>2023-08-03T12:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Libname syntax</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887670#M350694</link>
      <description>&lt;P&gt;If you are not sure if something is valid, &lt;FONT color="#FF0000"&gt;TRY IT&lt;/FONT&gt; in SAS and you will find out.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;What is $abc, and why would you want it in a LIBNAME statement?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 12:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887670#M350694</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-08-03T12:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Libname syntax</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887679#M350696</link>
      <description>&lt;P&gt;If your SAS session runs on a UNIX platform, and an environment variable named abc (case sensitive!) was defined at SAS startup, and it contains a valid path, this can work.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 12:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887679#M350696</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-08-03T12:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Libname syntax</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887682#M350697</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;If your SAS session runs on a UNIX platform, and an environment variable named abc (case sensitive!) was defined at SAS startup, and it contains a valid path, this can work.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Right.&lt;/P&gt;
&lt;P&gt;Or if you use the SET option create the environment variable.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options set=abc=/home/me/abc ;
libname abc "$abc";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Aug 2023 12:57:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887682#M350697</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-08-03T12:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Libname syntax</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887686#M350699</link>
      <description>&lt;P&gt;Under Windows you can also refer to environment variables through SAS.&lt;/P&gt;
&lt;P&gt;For example like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname test "!TMP";*refers to the environment variable %TMP% if defined;
libname test clear;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Aug 2023 13:17:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-syntax/m-p/887686#M350699</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2023-08-03T13:17:57Z</dc:date>
    </item>
  </channel>
</rss>

