<?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: User Access issue in Enterprise guide with no issue in Base SAS in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336404#M22358</link>
    <description>&lt;P&gt;I think SAS is interpreting the statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;create table "CD_&amp;amp;MOB.MOB"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a reference to a filename, not a data set. &amp;nbsp;Try removing the quotes from the reference (in both the SQL and APPEND steps).&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2017 01:40:15 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2017-02-28T01:40:15Z</dc:date>
    <item>
      <title>User Access issue in Enterprise guide with no issue in Base SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336371#M22356</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a fairly new user to EG as I usually program in base SAS and then put scripts in a EG project to automate data runs.&lt;/P&gt;
&lt;P&gt;I picked up this issue, and being unsure around EG, I am an not sure why its giving the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a macro that is called and creates table names using the following convention to create table names : "table_name". Code is given below.&amp;nbsp;When I developed this in Base SAS, it gives no error. It writes these tables to a library called WC000001. When I put this in EG, it gave an error 'user access' (see screen shot below).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets library=work noprint;
 delete CDQ_CD_MOB;
run;

%macro run_CD_MOB(MOB);

	proc sql;
 		create table "CD_&amp;amp;MOB.MOB" as
			select *
			 from CDQ_monthly
			 where MOB = &amp;amp;MOB
			;
	quit;

 	proc append data="CD_&amp;amp;MOB.MOB" base= CDQ_CD_MOB;
	 run;

%mend run_CD_MOB;

%run_CD_MOB(3);
%run_CD_MOB(6);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;IMG title="user access issue.JPG" alt="user access issue.JPG" src="https://communities.sas.com/t5/image/serverpage/image-id/7483iDC0C0BC2BD599AFE/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd appreciate input on two matters:&lt;/P&gt;
&lt;P&gt;1. why does EG have this issue and how do I fix it.&lt;/P&gt;
&lt;P&gt;2. how do I redirect this code to output the tables to a library of my own choosing (or to the work library). This will probably fix the issue anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thnx&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GD&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 22:47:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336371#M22356</guid>
      <dc:creator>GenDemo</dc:creator>
      <dc:date>2017-02-27T22:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: User Access issue in Enterprise guide with no issue in Base SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336383#M22357</link>
      <description>&lt;P&gt;I'm confused! Where do you mention the library WC000001? And, should the various file names be in quotes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 23:49:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336383#M22357</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-02-27T23:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: User Access issue in Enterprise guide with no issue in Base SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336404#M22358</link>
      <description>&lt;P&gt;I think SAS is interpreting the statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;create table "CD_&amp;amp;MOB.MOB"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a reference to a filename, not a data set. &amp;nbsp;Try removing the quotes from the reference (in both the SQL and APPEND steps).&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 01:40:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336404#M22358</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-02-28T01:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: User Access issue in Enterprise guide with no issue in Base SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336407#M22359</link>
      <description>&lt;P&gt;because I use a macro variable in the table name, you need to put quotation marks around the name. Because of this, SAS puts it into a temporary library (some some silly reason).&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 01:56:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336407#M22359</guid>
      <dc:creator>GenDemo</dc:creator>
      <dc:date>2017-02-28T01:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: User Access issue in Enterprise guide with no issue in Base SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336409#M22360</link>
      <description>wow now I feel really embarrased &amp;amp; stupid...&lt;BR /&gt;When I developed this it gave me an error...hence I put the quotation marks around.&lt;BR /&gt;Maybe there was something else wrong at that time.&lt;BR /&gt;&lt;BR /&gt;Thnx though..  &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;</description>
      <pubDate>Tue, 28 Feb 2017 02:00:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336409#M22360</guid>
      <dc:creator>GenDemo</dc:creator>
      <dc:date>2017-02-28T02:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: User Access issue in Enterprise guide with no issue in Base SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336413#M22361</link>
      <description>&lt;P&gt;Happens to the best of us &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &amp;nbsp;Glad it's working.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 02:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Access-issue-in-Enterprise-guide-with-no-issue-in-Base-SAS/m-p/336413#M22361</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-02-28T02:06:06Z</dc:date>
    </item>
  </channel>
</rss>

