<?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 Library Paths - Concatenated Warning in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Library-Paths-Concatenated-Warning/m-p/305757#M8737</link>
    <description>&lt;P&gt;The following is a warning we get when we run DI Studio obs that reference tables we load for Visual Analytics reports:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"WARNING: One or more libraries specified in the concatenated library [libname] do not exist. These libraries were removed from the concatenation"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's what I think is happening...&lt;/P&gt;
&lt;P&gt;This library has two paths 1) a path to the physical table and 2) a path to a folder in visual analytics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That second path is prefaced "/mnt/..." and I understand that mount reference is used for VA's linux. So, what happens is, when we run a DI Studio jobs, DI Studio doesn't know what to make of that "/mnt/..." and we get the above warning. It can continue and process the table through the other path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, it seems to me we need maybe a 'VA' version of this library and not try to double use one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make any sense? Am I on the right path?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2016 20:01:17 GMT</pubDate>
    <dc:creator>jwhite</dc:creator>
    <dc:date>2016-10-19T20:01:17Z</dc:date>
    <item>
      <title>Library Paths - Concatenated Warning</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Library-Paths-Concatenated-Warning/m-p/305757#M8737</link>
      <description>&lt;P&gt;The following is a warning we get when we run DI Studio obs that reference tables we load for Visual Analytics reports:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"WARNING: One or more libraries specified in the concatenated library [libname] do not exist. These libraries were removed from the concatenation"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's what I think is happening...&lt;/P&gt;
&lt;P&gt;This library has two paths 1) a path to the physical table and 2) a path to a folder in visual analytics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That second path is prefaced "/mnt/..." and I understand that mount reference is used for VA's linux. So, what happens is, when we run a DI Studio jobs, DI Studio doesn't know what to make of that "/mnt/..." and we get the above warning. It can continue and process the table through the other path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, it seems to me we need maybe a 'VA' version of this library and not try to double use one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make any sense? Am I on the right path?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 20:01:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Library-Paths-Concatenated-Warning/m-p/305757#M8737</guid>
      <dc:creator>jwhite</dc:creator>
      <dc:date>2016-10-19T20:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Library Paths - Concatenated Warning</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Library-Paths-Concatenated-Warning/m-p/353236#M10545</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/20678"&gt;@jwhite&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're using a concatenated library to reference one path for Linux, and a different path for Windows, then you will always get this ERROR -- because one path will always be unavailable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can solve it with a simple macro to conditionally assign the proper path based on the OS you're on. &amp;nbsp;Here's the explanation, and some sample code follows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 class="post-title item fn"&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2016/06/24/assign-libname-based-on-os/" target="_self"&gt;Assign a SAS library to a different path depending on your OS&lt;/A&gt;&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Use the IFC function as a shorthand for if-then, returning a character string */
%let tgtpath = %sysfunc(
  ifc(&amp;amp;SYSSCP. = WIN,
       \\sasprod\root\dept\mydept\project,
       /r/node/vol/vol01/mydept/project
    )
  );
 
libname tgt "&amp;amp;tgtpath.";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Apr 2017 15:35:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Library-Paths-Concatenated-Warning/m-p/353236#M10545</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-04-25T15:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Library Paths - Concatenated Warning</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Library-Paths-Concatenated-Warning/m-p/353260#M10562</link>
      <description>&lt;P&gt;I understand the solution, but&amp;nbsp; I'm not clear on where this code is inserted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for checking in on this issue!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 15:55:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Library-Paths-Concatenated-Warning/m-p/353260#M10562</guid>
      <dc:creator>jwhite</dc:creator>
      <dc:date>2017-04-25T15:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Library Paths - Concatenated Warning</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Library-Paths-Concatenated-Warning/m-p/353300#M10566</link>
      <description>&lt;P&gt;I took the liberty of peeking at your SAS Tech Support track on this, and here's my guess. &amp;nbsp;I think that you must have specified a list of paths for SAS Visual Analytics to use for autoload (LASR server), and there are two representations of the same path: one for Windows, and one for Linux. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This then becomes part of some generated code in a startup script that assigns REPVA and REPLIB, and that's where the error occurs. &amp;nbsp;This construct is okay when at least one of those paths can resolve, but it's an error when no paths are found.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt; libname REPLIB ('/mnt/foo/reports' 'S:\foo\reports');&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When run on Linux, that /mnt path has to be mounted and available. &amp;nbsp;When run on Windows, the S: drive needs to be mapped. &amp;nbsp;These need to be in place when the library is assigned (at server startup, if in an AUTOEXEC) to avoid the error. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even when it works, you'll have a WARNING in the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;WARNING: One or more libraries specified in the concatenated library REPLIB do not exist.  
These libraries were removed from the concatenation.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 16:57:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Library-Paths-Concatenated-Warning/m-p/353300#M10566</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-04-25T16:57:45Z</dc:date>
    </item>
  </channel>
</rss>

