<?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: Error Libref is not assigned for dymanic prompt in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335421#M5242</link>
    <description>&lt;P&gt;Thank you for your fast response.&lt;/P&gt;&lt;P&gt;The library is preassigned (See attachment)&lt;/P&gt;&lt;P&gt;We also tried to change the pre assignment type to by metadata engine...same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any other suggestions....&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13488i4ED2E228CA8420EF/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture3.JPG" title="Capture3.JPG" /&gt;</description>
    <pubDate>Thu, 23 Feb 2017 21:36:12 GMT</pubDate>
    <dc:creator>BHull</dc:creator>
    <dc:date>2017-02-23T21:36:12Z</dc:date>
    <item>
      <title>Error Libref is not assigned for dymanic prompt</title>
      <link>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335396#M5240</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a stored process with a dynamic prompt created from a file in LIB BG3X00.&lt;/P&gt;&lt;P&gt;Process works great in Enterprise Guide.&lt;/P&gt;&lt;P&gt;When deployed to the portal, however, I get an error message LIBREF not assigned. (see attachments)&lt;/P&gt;&lt;P&gt;I have the libname explicitly in my stored process but I think the prompts are executing BEFORE the libname statement.&lt;/P&gt;&lt;P&gt;If I'm right, how do I correct?&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13486i65833FA5031C5936/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture2.JPG" title="Capture2.JPG" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13487iADBE32562AB8A001/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;</description>
      <pubDate>Thu, 23 Feb 2017 20:24:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335396#M5240</guid>
      <dc:creator>BHull</dc:creator>
      <dc:date>2017-02-23T20:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error Libref is not assigned for dymanic prompt</title>
      <link>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335416#M5241</link>
      <description>You are right, Prompts, in base SAS term, are macro/macro variables. They get to execute long before the SAS code is compiled. The easiest way to tackle it is to 'pre-assign' those metadata libraries. Ask your SAS admin or check Docs if you have permission to do it.</description>
      <pubDate>Thu, 23 Feb 2017 21:18:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335416#M5241</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2017-02-23T21:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error Libref is not assigned for dymanic prompt</title>
      <link>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335421#M5242</link>
      <description>&lt;P&gt;Thank you for your fast response.&lt;/P&gt;&lt;P&gt;The library is preassigned (See attachment)&lt;/P&gt;&lt;P&gt;We also tried to change the pre assignment type to by metadata engine...same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any other suggestions....&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13488i4ED2E228CA8420EF/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture3.JPG" title="Capture3.JPG" /&gt;</description>
      <pubDate>Thu, 23 Feb 2017 21:36:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335421#M5242</guid>
      <dc:creator>BHull</dc:creator>
      <dc:date>2017-02-23T21:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error Libref is not assigned for dymanic prompt</title>
      <link>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335422#M5243</link>
      <description>&lt;P&gt;I had a similar problem for stored processes that are spawning using the Stored Process Server under the SAS General Servers account (instead of Workspace Servers under user's ID).&amp;nbsp; If I recall correctly, I had to 1) make sure the SAS General Servers account had permissions on the library and 2)&amp;nbsp;restart Object Spawners.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 21:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335422#M5243</guid>
      <dc:creator>Timmy2383</dc:creator>
      <dc:date>2017-02-23T21:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error Libref is not assigned for dymanic prompt</title>
      <link>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335518#M5244</link>
      <description>&lt;P&gt;To further elaborate on &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29325"&gt;@Timmy2383&lt;/a&gt;:&lt;/P&gt;
&lt;P&gt;The SAS General Servers is not a user account in SAS metadata, it is a group account. But it is connected to the operating system user account sassrv, which is used to run pooled servers (that includes the STP server).&lt;/P&gt;
&lt;P&gt;So you have to make sure that SAS General Servers as a group has Authorization for the library in SAS metadata, and that sassrv as a user has the necessary operating system permissions (read and execute) on the directory and its contents.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 07:34:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335518#M5244</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-24T07:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error Libref is not assigned for dymanic prompt</title>
      <link>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335574#M5245</link>
      <description>&lt;P&gt;A huge amount of gratitude is coming your way....this was the perfect solution and you saved a critical project which is due TODAY...thank you so much...&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 13:21:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335574#M5245</guid>
      <dc:creator>BHull</dc:creator>
      <dc:date>2017-02-24T13:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error Libref is not assigned for dymanic prompt</title>
      <link>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335579#M5246</link>
      <description>Our pleasure! Thanks to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt; for giving proper clarification and elaboration of my hasty reply.</description>
      <pubDate>Fri, 24 Feb 2017 13:36:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/335579#M5246</guid>
      <dc:creator>Timmy2383</dc:creator>
      <dc:date>2017-02-24T13:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error Libref is not assigned for dymanic prompt</title>
      <link>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/363967#M5247</link>
      <description>&lt;P&gt;Hi! I suspect I'm having the same issue. What are the permissions required for the SAS General Servers group on the library and members?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I gave that group ReadMetadata and Read to both library and member, restarted the object spawner (on SASApp WS Server) and nothing changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are things different for an DBMS library?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 23:38:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/363967#M5247</guid>
      <dc:creator>bartman</dc:creator>
      <dc:date>2017-06-02T23:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error Libref is not assigned for dymanic prompt</title>
      <link>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/363968#M5248</link>
      <description>&lt;P&gt;Just dawned on me that the SAS General Servers group was not a member of the group with the Oracle account defined...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I even removed the explicit permissions to the library and table in metadata and it works after restarting the ObjectSpawner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help here!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 23:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-Libref-is-not-assigned-for-dymanic-prompt/m-p/363968#M5248</guid>
      <dc:creator>bartman</dc:creator>
      <dc:date>2017-06-02T23:41:04Z</dc:date>
    </item>
  </channel>
</rss>

