<?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: Issue with SAS Enterprise Guide Macro Code after upgrading to SAS9.4M6 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548820#M16024</link>
    <description>&lt;P&gt;Perhaps your include file is missing something and it is leaving the session hanging.&lt;/P&gt;
&lt;P&gt;Does it work if you just run a do nothing data step after the macro call? (or in the macro itself after the %include)?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%D_DB(AMIHA,CDD,AMIHA);
data _null_; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Did you update SAS also or just Enterprise Guide?&amp;nbsp; From what version to what version?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2019 16:28:42 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-04-05T16:28:42Z</dc:date>
    <item>
      <title>Issue with SAS Enterprise Guide Macro Code after upgrading to SAS9.4M6</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548792#M16021</link>
      <description>&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;Hi,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;We have SAS 9.4 Maintenance release 6 on AIX . We upgrade to maintenance release 6 on our Development Server recently.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;We have users that use SAS enterprise Guide 7.13 and 7.15 on their PC to connect to Dev Server. Before the upgrade users could run this piece of code and see the tables under libraries:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;Code 1:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%macro D_DB(DBREF,DB,SCHEMA);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%include "/sasdata/shared/D_Libref.sas";&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%mend D_DB;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%D_DB(AMIHA,CDD,AMIHA);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;Now, after Dev is upgraded this code still executes fine but when the users try to access the table it keeps loading . Please see the screenshot below:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;Output for Code 1:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 447px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28461i79618C8A20705AA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28462i05136F792F087E6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;However, what’s strange is this code works perfectly fine when we have another piece of code after that.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;Code 2: &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%macro D_DB(DBREF,DB,SCHEMA);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%include "/sasdata/shared/D_Libref.sas";&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%mend D_DB;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%D_DB(AMIHA,CDD,AMIHA);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;PROC SQL;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;CREATE TABLE work.BX_HA_CANCELLED_GRPS_1 AS &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;SELECT DISTINCT GROUP_NBR,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;INPUT(PUT(YMDEND,8.),ANYDTDTE19.) AS GRP_CAN_DT FORMAT=DATE9.,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;REASON &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;FROM AMIHA.GROUP_SPAN T1 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;WHERE T1.TRANSCODE = 'TM' AND T1.VOID = '' &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;/*AND REASON= 'TG' */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;AND T1.YMDEND NOT = 99991231 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;QUIT; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;Output for Code 2:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28463iC84341C6DECD788D/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 324px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28464i4067E1BB5EA34A63/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;I have also attached both the logs with this email.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;Note: Both Codes work on our Prod and Test servers that are not upgraded yet.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: #1f4e79;"&gt;&lt;SPAN style="margin: 0px; color: #1f4e79; font-family: 'Calibri',sans-serif; font-size: 11pt;"&gt;Are we missing something for setup for macros&lt;/SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 14:47:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548792#M16021</guid>
      <dc:creator>Aasth</dc:creator>
      <dc:date>2019-04-05T14:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SAS Enterprise Guide Macro Code after upgrading to SAS9.4M6</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548815#M16023</link>
      <description>&lt;P&gt;It looks like your macro ran fine, but hard to say what's going on because you didn't show what's in the include file.&amp;nbsp; Is it just a single libname statement?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I would try just submitting the libname statement in EG (without macro, without include), to see if you can replicate the problem.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 15:53:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548815#M16023</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2019-04-05T15:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SAS Enterprise Guide Macro Code after upgrading to SAS9.4M6</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548820#M16024</link>
      <description>&lt;P&gt;Perhaps your include file is missing something and it is leaving the session hanging.&lt;/P&gt;
&lt;P&gt;Does it work if you just run a do nothing data step after the macro call? (or in the macro itself after the %include)?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%D_DB(AMIHA,CDD,AMIHA);
data _null_; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Did you update SAS also or just Enterprise Guide?&amp;nbsp; From what version to what version?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 16:28:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548820#M16024</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-04-05T16:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SAS Enterprise Guide Macro Code after upgrading to SAS9.4M6</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548849#M16025</link>
      <description>upgraded SAS all well from SAS9.4M3 to SAS9.4M6 on AIX. I will try running it with the do nothing step</description>
      <pubDate>Fri, 05 Apr 2019 17:34:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548849#M16025</guid>
      <dc:creator>Aasth</dc:creator>
      <dc:date>2019-04-05T17:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SAS Enterprise Guide Macro Code after upgrading to SAS9.4M6</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548852#M16026</link>
      <description>Yes, the file just has a filename statement to connect to database. the code runs fine on other environments.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Apr 2019 17:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548852#M16026</guid>
      <dc:creator>Aasth</dc:creator>
      <dc:date>2019-04-05T17:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SAS Enterprise Guide Macro Code after upgrading to SAS9.4M6</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548853#M16027</link>
      <description>Still cannot access the tables after including the data step</description>
      <pubDate>Fri, 05 Apr 2019 17:40:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548853#M16027</guid>
      <dc:creator>Aasth</dc:creator>
      <dc:date>2019-04-05T17:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SAS Enterprise Guide Macro Code after upgrading to SAS9.4M6</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548856#M16028</link>
      <description>&lt;P&gt;I would try running the generated LIBNAME statement (without the macro and %include file) and see if that changes anything. That way you can decide if it is the libref itself or the macro that is causing the issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the code that seemed to wake it up accessing the libref that generated LIBNAME statement created?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most likely some system default has changed with the new SAS installation and it is making the connection not work right for EG.&lt;/P&gt;
&lt;P&gt;You will probably need to contact SAS support directly.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 17:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/548856#M16028</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-04-05T17:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SAS Enterprise Guide Macro Code after upgrading to SAS9.4M6</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/551174#M16087</link>
      <description>&lt;P&gt;I tried using a simple libnames statement. It successfully assigns the tables but the libraries keep loading when I try to see it. on the left panel&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 18:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-SAS-Enterprise-Guide-Macro-Code-after-upgrading-to/m-p/551174#M16087</guid>
      <dc:creator>Aasth</dc:creator>
      <dc:date>2019-04-15T18:25:30Z</dc:date>
    </item>
  </channel>
</rss>

