<?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: Not assigning a meta library in the Stored Process in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Not-assigning-a-meta-library-in-the-Stored-Process/m-p/60027#M3125</link>
    <description>Hello Daniele,&lt;BR /&gt;
&lt;BR /&gt;
Please see:&lt;BR /&gt;
&lt;BR /&gt;
Usage Note 13619: Pre-assigning SAS libraries for the Stored Process Server&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/13/619.html" target="_blank"&gt;http://support.sas.com/kb/13/619.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Usage Note 17720: Troubleshooting tips - Accessing a pre-assigned library using the Stored Process Server&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/17/720.html" target="_blank"&gt;http://support.sas.com/kb/17/720.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Please keep in mind that the example in the SAS note mentions a libname statement using MLE. That uses the library definition in the metadata but also has permissions that it takes into consideration: Read, Write, Create, Delete. &lt;BR /&gt;
&lt;BR /&gt;
There is a guide from support.sas.com that talks about that MLE in more detail.&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/base_libnameug_9302.pdf" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/base_libnameug_9302.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
An alternative to that is to use just a libname statement using an engine such as BASE/ DB engine within an autoexec however you are then not using the metadata and hence not fully utilising the benefits of the SAS 9 architecture. My 2 cents worth on that point.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I hope that helps.&lt;BR /&gt;
&lt;BR /&gt;
cheers,&lt;BR /&gt;
Alan</description>
    <pubDate>Fri, 07 Nov 2008 12:24:50 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-11-07T12:24:50Z</dc:date>
    <item>
      <title>Not assigning a meta library in the Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Not-assigning-a-meta-library-in-the-Stored-Process/m-p/60026#M3124</link>
      <description>Hi to all,&lt;BR /&gt;
I've some problems with a simple code with a stored process...it doesn't assign a library at all:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt; SAS Macro Variables:&lt;BR /&gt;
&lt;BR /&gt;
 _RESULT=STATUS&lt;BR /&gt;
 _ENCODING=utf-8&lt;BR /&gt;
 _APSLIST=_RESULT,_ODSDEST,_ODSOPTIONS,_ODSSTYLESHEET,_ODSSTYLE,_GOPT_DEVICE,_ENCODING,_METAUSER,_METAPERSON&lt;BR /&gt;
 _ODSOPTIONS=ATTRIBUTES=("CODEBASE"="http://www2.sas.com/codebase/graph/v91/sasgraph.exe")&lt;BR /&gt;
 _METAUSER=tiles_d&lt;BR /&gt;
 _REPLAY="&amp;amp;_URL?_sessionid=82457DF6-4608-44E4-874D-148026FCA127&amp;amp;_program=replay&amp;amp;_entry=&amp;amp;_TMPCAT.."&lt;BR /&gt;
 _ODSSTYLESHEET=(URL="file://bl75srv/statistica_Produzione/DPEF/report/css/stile_dpef.css")&lt;BR /&gt;
 _ODSSTYLE=stile_dpef&lt;BR /&gt;
 _METAPERSON=Tiles Daniele&lt;BR /&gt;
 _ODSDEST=HTML&lt;BR /&gt;
 _GOPT_DEVICE=ACTIVEX&lt;BR /&gt;
 _TMPCAT=APSWORK.TCAT000A&lt;BR /&gt;
&lt;BR /&gt;
1          options nosource source2 center notes nodate nonumber ls=195 formchar='|----|+|---+=|-/\&amp;lt;&amp;gt;*' pagesize=40 noovp nomprint nomlogic nosymbolgen; title; footnote;&lt;BR /&gt;
                                                                                          The SAS System&lt;BR /&gt;
&lt;BR /&gt;
NOTE: %INCLUDE (level 1) file E:\SASUSER\itaadv\test_sp.sas is file E:\SASUSER\itaadv\test_sp.sas.&lt;BR /&gt;
3         +*  Begin EG generated code (do not edit this line);&lt;BR /&gt;
4         +*&lt;BR /&gt;
5         +*  Stored process registrato da&lt;BR /&gt;
6         +*  Enterprise Guide Stored Process Manager v4.1&lt;BR /&gt;
7         +*&lt;BR /&gt;
8         +*  ====================================================================&lt;BR /&gt;
9         +*  Nome stored process: test sp&lt;BR /&gt;
10        +*  ====================================================================&lt;BR /&gt;
11        +*;&lt;BR /&gt;
12        +&lt;BR /&gt;
13        +&lt;BR /&gt;
14        +*ProcessBody;&lt;BR /&gt;
15        +&lt;BR /&gt;
16        +%STPBEGIN;&lt;BR /&gt;
17        +&lt;BR /&gt;
18        +*  End EG generated code (do not edit this line);&lt;BR /&gt;
19        +&lt;BR /&gt;
20        +/*&lt;BR /&gt;
21        +	Codice per la tabella 83&lt;BR /&gt;
22        +	@author: Daniele Tiles&lt;BR /&gt;
23        +	@mail: d.tiles@iconsulting.biz&lt;BR /&gt;
24        +	@date: 09/09/2008&lt;BR /&gt;
25        +&lt;BR /&gt;
26        +    Qui si deve filtrare addirittura per politica&lt;BR /&gt;
27        +*/&lt;BR /&gt;
28        +&lt;BR /&gt;
29        +/* Creazione della sessione */&lt;BR /&gt;
30        +&lt;BR /&gt;
31        +data _NULL_;&lt;BR /&gt;
32        +	if libref('SAVE') ne 0 then&lt;BR /&gt;
33        +		rc = stpsrv_session('create');&lt;BR /&gt;
34        +run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.00 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
      &lt;BR /&gt;
                                                                                          The SAS System&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
35        +&lt;BR /&gt;
36        +libname DPEFDest meta library='Tabelle prototipo' repname='DPEF' PORT=8561;&lt;BR /&gt;
ERROR: Libname DPEFDEST is not assigned.&lt;BR /&gt;
ERROR: Error in the LIBNAME statement.&lt;BR /&gt;
&lt;BR /&gt;
why so? The library exists, and if I try to access it through normal SAS code, it works without any problem.</description>
      <pubDate>Thu, 06 Nov 2008 16:32:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Not-assigning-a-meta-library-in-the-Stored-Process/m-p/60026#M3124</guid>
      <dc:creator>DanieleTiles</dc:creator>
      <dc:date>2008-11-06T16:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Not assigning a meta library in the Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Not-assigning-a-meta-library-in-the-Stored-Process/m-p/60027#M3125</link>
      <description>Hello Daniele,&lt;BR /&gt;
&lt;BR /&gt;
Please see:&lt;BR /&gt;
&lt;BR /&gt;
Usage Note 13619: Pre-assigning SAS libraries for the Stored Process Server&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/13/619.html" target="_blank"&gt;http://support.sas.com/kb/13/619.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Usage Note 17720: Troubleshooting tips - Accessing a pre-assigned library using the Stored Process Server&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/17/720.html" target="_blank"&gt;http://support.sas.com/kb/17/720.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Please keep in mind that the example in the SAS note mentions a libname statement using MLE. That uses the library definition in the metadata but also has permissions that it takes into consideration: Read, Write, Create, Delete. &lt;BR /&gt;
&lt;BR /&gt;
There is a guide from support.sas.com that talks about that MLE in more detail.&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/base_libnameug_9302.pdf" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/base_libnameug_9302.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
An alternative to that is to use just a libname statement using an engine such as BASE/ DB engine within an autoexec however you are then not using the metadata and hence not fully utilising the benefits of the SAS 9 architecture. My 2 cents worth on that point.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I hope that helps.&lt;BR /&gt;
&lt;BR /&gt;
cheers,&lt;BR /&gt;
Alan</description>
      <pubDate>Fri, 07 Nov 2008 12:24:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Not-assigning-a-meta-library-in-the-Stored-Process/m-p/60027#M3125</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-11-07T12:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Not assigning a meta library in the Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Not-assigning-a-meta-library-in-the-Stored-Process/m-p/60028#M3126</link>
      <description>Hi Alan,&lt;BR /&gt;
thank you for your answer! I've tried what I could, but unfortunately it didn't work...and I'm not the admin of the SAS Server, so I couldn't even try everything described.&lt;BR /&gt;
However, I'll send this KB articles to our admin, with the hope that he's able to perform this tests.&lt;BR /&gt;
Thanks again, I hope to be able to write soon with some better news &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 07 Nov 2008 13:58:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Not-assigning-a-meta-library-in-the-Stored-Process/m-p/60028#M3126</guid>
      <dc:creator>DanieleTiles</dc:creator>
      <dc:date>2008-11-07T13:58:44Z</dc:date>
    </item>
  </channel>
</rss>

