<?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: _LAST_ in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/364926#M23922</link>
    <description>&lt;P&gt;Please post the log including the code of the whole step. Use the {i} button to preserve formatting.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2017 11:58:35 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-06-07T11:58:35Z</dc:date>
    <item>
      <title>_LAST_</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/364923#M23920</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting this error.&amp;nbsp; Can anyone explain to me what is this and how to fix it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Invalid option value LIBRARY.'DATASET'n for SAS option _LAST_.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 11:55:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/364923#M23920</guid>
      <dc:creator>ismahero2</dc:creator>
      <dc:date>2017-06-07T11:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: _LAST_</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/364926#M23922</link>
      <description>&lt;P&gt;Please post the log including the code of the whole step. Use the {i} button to preserve formatting.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 11:58:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/364926#M23922</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-07T11:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: _LAST_</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/365042#M23927</link>
      <description>&lt;P&gt;If you think the name is valid then check if the string is macro quoted. You migth need to use %unquote() to remove the macro quoting to get the SAS parser to interpret the statement properly.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 15:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/365042#M23927</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-06-07T15:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: _LAST_</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/365185#M23932</link>
      <description>&lt;P&gt;Disregard.&amp;nbsp; The issue I was thinking of was with the value EG was setting to SYSLAST when you explicitly link a data set to a program in&amp;nbsp;a process flow.&amp;nbsp;(EG sets the SYSLAST macro to the linked data set in this case.)&amp;nbsp; I&amp;nbsp;second posting your log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;What is the exact version of EG (listed in EG's Help-&amp;gt;About dialog)&amp;nbsp;you are using?&amp;nbsp; I seem to recall this being a bug at one point that was fixed.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Casey&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 21:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/365185#M23932</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2017-06-07T21:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: _LAST_</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/537488#M33100</link>
      <description>Hi, 


What is really happening is that the value EG was setting to SYSLAST when I explicitly link a data set to a program in a process flow. 
EG in setting the SYSLAST macro to the linked data set.  Because of this I am getting the following error. 
ERROR: Invalid option value IDATASET.'TABLE'n for SAS option _LAST_.

If I don't link the dataset to the program in a process flow, the program runs without any errors.   Here is the log. 




1                                                          The SAS System                            10:50 Friday, December 14, 2018

1          ;*';*";*/;quit;run;
2          OPTIONS PAGENO=MIN;
ERROR: Invalid option value IDATASET.'TABLE'n for SAS option _LAST_.
3          %LET SYSLAST=IDATASET.'TABLE'n ;
4          %LET _CLIENTTASKLABEL='PA_1';
5          %LET _CLIENTPROCESSFLOWNAME='PENALTIES ALL';
6          %LET _CLIENTPROJECTPATH='C:\Users\XXXXXXX\Desktop\ANALYSIS.egp';
7          %LET _CLIENTPROJECTNAME=ANALYSIS.egp';
8          %LET _SASPROGRAMFILE=;
9          
10         ODS _ALL_ CLOSE;
11         OPTIONS DEV=ACTIVEX;
12         GOPTIONS XPIXELS=0 YPIXELS=0;
13         FILENAME EGSR TEMP;
14         ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR
15             STYLE=HtmlBlue
16             STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASEnterpriseGuide/7.1/Styles/HtmlBlue.css")
17             NOGTITLE
18             NOGFOOTNOTE
19             GPATH=&amp;amp;sasworklocation
20             ENCODING=UTF8
21             options(rolap="on")
22         ;
NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR
23         
24         GOPTIONS ACCESSIBLE;
25         /* Insert custom code before submitted code here */
26         
27         
28         DATA IH_WORK.WANT;
29         SET
30         IDATASET.TABLE (DROP= VARINFO XREFMFT XREFTXPD XREFTIN)
31         IDATASET.TABLE2 (DROP= VARINFO);
32         IF TRANCD = '999' AND VARFIELD NOT = '000';
33         RUN;

NOTE: There were 667876 observations read from the data set IDATASET.TABLE.
NOTE: There were 354978 observations read from the data set IDATASET.TABLE2.
NOTE: The data set IH_WORK.WANT has 1018545 observations and 11 variables.
NOTE: DATA statement used (Total process time):
      real time           3.26 seconds
      cpu time            1.81 seconds
      

34         
35         
36         
37         /* Insert custom code after submitted code here */
38         
39         GOPTIONS NOACCESSIBLE;
40         %LET _CLIENTTASKLABEL=;
41         %LET _CLIENTPROCESSFLOWNAME=;
42         %LET _CLIENTPROJECTPATH=;
43         %LET _CLIENTPROJECTNAME=;
44         %LET _SASPROGRAMFILE=;
45         
46         ;*';*";*/;quit;run;
47         ODS _ALL_ CLOSE;
2                                                          The SAS System                            10:50 Friday, December 14, 2018

48         
49         
50         QUIT; RUN;
51</description>
      <pubDate>Thu, 21 Feb 2019 18:33:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/LAST/m-p/537488#M33100</guid>
      <dc:creator>ismahero2</dc:creator>
      <dc:date>2019-02-21T18:33:00Z</dc:date>
    </item>
  </channel>
</rss>

