<?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 while running stored process - Library APSWORK does not exist in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484680#M5754</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;not using sasadm user. The one which you are getting in the log is getting generated from the host file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have given permission to the work folder as well, but still the same error is coming.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2018 10:16:45 GMT</pubDate>
    <dc:creator>Anindya</dc:creator>
    <dc:date>2018-08-07T10:16:45Z</dc:date>
    <item>
      <title>Error while running stored process - Library APSWORK does not exist</title>
      <link>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484419#M5748</link>
      <description>&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created stored process to publish a report. While executing the stored process I am getting the following error -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;&lt;FONT color="red"&gt;ERROR: Library APSWORK does not exist.
ERROR: No body file. HTML output will not be created.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;I am actually trying to create a table of content for my report by using stored process default macro variables. Require your help&amp;nbsp;to resolve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is mentioned below -&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.tableeditor path=&amp;amp;_tmpcat (url=&amp;amp;_replay) contents=_webout frame=frame2.html file =temp.html
encoding='utf-8' style=styles.MyStyle1;

ods proclabel "LR INR Report";
proc print data=int_rep.LR_INR (Drop = run_date) noobs
;
	title1 "Statement of Liquidity Return - Domestic Currency, Indian Operations";
	title2 "Position as on - &amp;amp;Run_Date1.";
	title3 "Amount in Rupees Lakhs";
run;

ods tagsets.tableeditor close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 15:37:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484419#M5748</guid>
      <dc:creator>Anindya</dc:creator>
      <dc:date>2018-08-06T15:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running stored process - Library APSWORK does not exist</title>
      <link>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484434#M5749</link>
      <description>&lt;P&gt;The code you showed is not the code responsible for the ERROR, as it does not use the library APSWORK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might be that sassrv (the user under which the stored process server runs) does not have the necessary permissions for the physical path of the library.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 16:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484434#M5749</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-06T16:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running stored process - Library APSWORK does not exist</title>
      <link>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484620#M5750</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are not declaring the APSWORK library reference in the code. We are using _TMPCAT variable which specifies temporary catalog name, and&amp;nbsp;as per the stored process log, the variable _TMPCAT contains the following value -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;_TMPCAT=APSWORK.TCAT03CA&lt;/PRE&gt;&lt;P&gt;I believe this some stored process defined reserved macro variable which is getting generated automatically while executing the stored process.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 05:35:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484620#M5750</guid>
      <dc:creator>Anindya</dc:creator>
      <dc:date>2018-08-07T05:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running stored process - Library APSWORK does not exist</title>
      <link>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484646#M5751</link>
      <description>&lt;P&gt;Could you run a stored process that has&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname apswork list;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and show the resulting log?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 08:34:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484646#M5751</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-07T08:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running stored process - Library APSWORK does not exist</title>
      <link>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484673#M5752</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have included the libname statement in the same stored process which was generating the error and re-execute the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log is as follows -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; +libname apswork list;
&lt;FONT color="blue"&gt;NOTE: Libref=   APSWORK 
      Scope=    Kernel  
      Engine=   V9
      Access=   TEMP
      Physical Name= /tmp/SAS_workB97B0000710A_sasadm01.in/SAS_workDC6A0000710A_sasadm01.in
      Filename= /tmp/SAS_workB97B0000710A_sasadm01.in/SAS_workDC6A0000710A_sasadm01.in
      Inode Number= 
      Access Permission= 
      Owner Name= 
      File Size= 
      File Size (bytes)= &lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:45:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484673#M5752</guid>
      <dc:creator>Anindya</dc:creator>
      <dc:date>2018-08-07T09:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running stored process - Library APSWORK does not exist</title>
      <link>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484674#M5753</link>
      <description>&lt;P&gt;Do not run stored processes as sasadm.&lt;/P&gt;
&lt;P&gt;sasadm is for administration purposes only.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484674#M5753</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-07T09:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running stored process - Library APSWORK does not exist</title>
      <link>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484680#M5754</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;not using sasadm user. The one which you are getting in the log is getting generated from the host file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have given permission to the work folder as well, but still the same error is coming.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 10:16:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/484680#M5754</guid>
      <dc:creator>Anindya</dc:creator>
      <dc:date>2018-08-07T10:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running stored process - Library APSWORK does not exist</title>
      <link>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/487314#M5755</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/76930"&gt;@Anindya&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am&amp;nbsp;not using sasadm user. The one which you are getting in the log is getting generated from the host file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have given permission to the work folder as well, but still the same error is coming.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Which user did you give the permission for /tmp? Stored processes run as sassrv, and this user needs to be able to create files/directories there.&lt;/P&gt;
&lt;P&gt;From your log, I guess that the directories could not be created, as the libname list reports no inode number, permissions or owner.&lt;/P&gt;
&lt;P&gt;The relevant part of a similar successful log looks like this:&lt;/P&gt;
&lt;PRE&gt;      Inode Number= 139729
      Access Permission= rwx------
      Owner Name= XXXX
      File Size=              0KB
      File Size (bytes)= 256
&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Aug 2018 08:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/487314#M5755</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-16T08:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running stored process - Library APSWORK does not exist</title>
      <link>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/487315#M5756</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/76930"&gt;@Anindya&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am&amp;nbsp;not using sasadm user. The one which you are getting in the log is getting generated from the host file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have given permission to the work folder as well, but still the same error is coming.&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yeah, that sasadm.in seems to be part of your servername.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 08:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Error-while-running-stored-process-Library-APSWORK-does-not/m-p/487315#M5756</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-16T08:37:40Z</dc:date>
    </item>
  </channel>
</rss>

