<?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: SAS CI Studio: The stored procedure must check for errors with the macro call %mastatus(&amp;amp;_st in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/371556#M512</link>
    <description>&lt;P&gt;I am getting this as error&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Insufficient authorization to access /sasdata/sasconf/config/Lev1/SASApp/&amp;amp;_stpwork.counts.txt.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 07:44:39 GMT</pubDate>
    <dc:creator>india2016</dc:creator>
    <dc:date>2017-06-29T07:44:39Z</dc:date>
    <item>
      <title>SAS CI Studio: The stored procedure must check for errors with the macro call %mastatus(&amp;_stpwork.st</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/371538#M511</link>
      <description>&lt;P&gt;Hello I am trying to run a stored process in a process node but I am getting below error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SAS CI Studio: The stored procedure must check for errors with the macro call %mastatus(&amp;amp;_stpwork.status.txt);.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The code is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%stpbegin;&lt;BR /&gt;%maspinit;&lt;/P&gt;&lt;P&gt;/*Import login csv into Workspace*/&lt;/P&gt;&lt;P&gt;proc import datafile="/opt/database/survey_details/export_data.csv" replace&lt;BR /&gt;out=work.export_data; run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;create table login2&lt;BR /&gt;as select _SURVEY_ID, TIME format=datetime20.,_USERNAME&lt;BR /&gt;from work.export_data&lt;BR /&gt;having TIME=max(TIME) and _USERNAME="&amp;amp;_metauser.";&lt;BR /&gt;quit;&lt;BR /&gt;/*Import macro for survey_id*/&lt;BR /&gt;proc sql;&lt;BR /&gt;select max(_SURVEY_ID) into: sid from login2;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%MAStatus(&amp;amp;_stpwork.status.txt);&lt;BR /&gt;%stpend;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 06:09:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/371538#M511</guid>
      <dc:creator>india2016</dc:creator>
      <dc:date>2017-06-29T06:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS CI Studio: The stored procedure must check for errors with the macro call %mastatus(&amp;_st</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/371556#M512</link>
      <description>&lt;P&gt;I am getting this as error&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Insufficient authorization to access /sasdata/sasconf/config/Lev1/SASApp/&amp;amp;_stpwork.counts.txt.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 07:44:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/371556#M512</guid>
      <dc:creator>india2016</dc:creator>
      <dc:date>2017-06-29T07:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS CI Studio: The stored procedure must check for errors with the macro call %mastatus(&amp;_st</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/371704#M514</link>
      <description>&lt;P&gt;Does this&amp;nbsp;run properly&amp;nbsp;in Enterprise Guide and you only receive this error in CI Studio?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 14:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/371704#M514</guid>
      <dc:creator>pcapazzi</dc:creator>
      <dc:date>2017-06-29T14:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS CI Studio: The stored procedure must check for errors with the macro call %mastatus(&amp;_st</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/371743#M515</link>
      <description>&lt;P&gt;Another thought:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the permissions of /sasdata/sasconf/config/Lev1/SASApp/&amp;nbsp; ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does it allow for group level write access for the SAS group?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Linux:&lt;/P&gt;
&lt;P&gt;ls -la /sasdata/sasconf/config/Lev1/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look for SASApp&lt;/P&gt;
&lt;P&gt;drwxr&lt;FONT color="#ff0000"&gt;w&lt;/FONT&gt;xr-x 13 sas sas&amp;nbsp;&amp;nbsp; 4096 Jun 28 13:06 SASApp&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that w highlighted in red there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also is the service account that CIS is using in the SAS group?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 14:46:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/371743#M515</guid>
      <dc:creator>pcapazzi</dc:creator>
      <dc:date>2017-06-29T14:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS CI Studio: The stored procedure must check for errors with the macro call %mastatus(&amp;_st</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/374125#M521</link>
      <description>&lt;P&gt;Hi, were you able to resolve the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd check whether you have checked the "Package" output type checkbox for your Stored Process execution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also it's a good idea to&amp;nbsp;add the %macount execution (before %mastatus call)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards, Dmitriy.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 00:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-Studio-The-stored-procedure-must-check-for-errors-with/m-p/374125#M521</guid>
      <dc:creator>Dmitry_Alergant</dc:creator>
      <dc:date>2017-07-08T00:36:39Z</dc:date>
    </item>
  </channel>
</rss>

