<?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 Creating the LIBNAME OS in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34812#M306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Can you assign the libname in code in EG, that would show if there is a problem with the syntax etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Oct 2011 19:53:03 GMT</pubDate>
    <dc:creator>twocanbazza</dc:creator>
    <dc:date>2011-10-26T19:53:03Z</dc:date>
    <item>
      <title>Creating the LIBNAME OS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34811#M305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gday,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create the LIBNAME OS in DI Studio 4.21 running on a Windows 64bit server.&amp;nbsp; When I attempt to register tables it won't let me do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have successfully created NS, GIOS, GINS, CAT, NS_OLD, and registered tables with them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect OS has been reserved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this really the case? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way I can register it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, all the Enterprise Guide users have all the libraries mapped except for OS.&amp;nbsp; I have suggested for the time being they just put it in the first line of code, as a short term solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 06:09:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34811#M305</guid>
      <dc:creator>JohnT</dc:creator>
      <dc:date>2011-10-26T06:09:08Z</dc:date>
    </item>
    <item>
      <title>Creating the LIBNAME OS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34812#M306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Can you assign the libname in code in EG, that would show if there is a problem with the syntax etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 19:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34812#M306</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2011-10-26T19:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating the LIBNAME OS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34813#M307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, we can all assign the library OS in EG.&amp;nbsp; We put it in the first line of code that need to reference that library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can even assign it in the User Writen Code in DI Studio.&lt;/P&gt;&lt;P&gt;&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;19 libname oS list;&lt;/P&gt;&lt;P&gt;NOTE: Libref= OS &lt;/P&gt;&lt;P&gt;Scope= IOM ROOT COMP ENV&lt;/P&gt;&lt;P&gt;Engine= V9&lt;/P&gt;&lt;P&gt;Physical Name= F:\SAS\Lev1\SASApp\Windows_NT&lt;/P&gt;&lt;P&gt;Filename= F:\SAS\Lev1\SASApp\Windows_NT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;^^&lt;/P&gt;&lt;P&gt;This is what I see when I type in libname os list;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, this is just after I open EG prior to running anything and my attempt to create the OS library in DI Studio has been removed.&amp;nbsp; There is no code run when the project is open.&amp;nbsp; I definitely did not define that to be OS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 21:37:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34813#M307</guid>
      <dc:creator>JohnT</dc:creator>
      <dc:date>2011-10-26T21:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating the LIBNAME OS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34814#M308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see the same sort of thing... trying to look for some documentation on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I however, I could assign in SMC and DIS (4.21) and register datasets there....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running DIS and SMC on Windows 7 (non 64) and Workspace etc on windows 2000 (64b)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you got all the latest hotfixes installed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 22:42:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34814#M308</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2011-10-26T22:42:36Z</dc:date>
    </item>
    <item>
      <title>Creating the LIBNAME OS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34815#M309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had someone from SAS install everything for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that all the latest hotfixes were installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks as though this is related to the Windows Environment Variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an OS entry.&amp;nbsp; If I change it to OS1 for example, I can do everything as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My only problem is that IT here don't want me to make that change, as it's possible that this variable is used by them, for example appling patches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The work-around that I'm using is to assign the library in ﻿﻿﻿﻿appserver_autoexec_usermods.sas such that everytime EG and DI Studio start it's defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To have it show up in EG, I had to uncheck the pre-assign box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 06:17:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34815#M309</guid>
      <dc:creator>JohnT</dc:creator>
      <dc:date>2011-12-05T06:17:41Z</dc:date>
    </item>
    <item>
      <title>Creating the LIBNAME OS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34816#M310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS has a "feature" that it will use the value of an environment variable as the path for a libref without the user needing to code a LIBNAME statement.&lt;/P&gt;&lt;P&gt;OS is a standard Windows_NT environment variable so you will see the same result for LIBNAME OS LIST statement on any version of SAS running on Windows NT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This feature I assume dates back to SAS's roots in the IBM mainframe environment where a DD line in JCL was required to make the assignment between a DDNAME and a physical file location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The real question is why would DI studio be using environment variables for DI defined libraries rather than just executing a LIBNAME statement or function call?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 13:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-the-LIBNAME-OS/m-p/34816#M310</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-12-05T13:22:17Z</dc:date>
    </item>
  </channel>
</rss>

