<?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 49 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825625#M326105</link>
    <description>&lt;P&gt;Have you restarted your SAS session? If not do so.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jul 2022 10:40:44 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2022-07-27T10:40:44Z</dc:date>
    <item>
      <title>Error 49</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825603#M326097</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;There is a data set in work library.&lt;/P&gt;
&lt;P&gt;I am trying to run a&amp;nbsp; simple query and get error 49.&lt;/P&gt;
&lt;P&gt;I opened SAS again but nothing help.&lt;/P&gt;
&lt;P&gt;May anyone help to understand what is going on and what action should be done to solve the issue?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;11         ODS _ALL_ CLOSE;
4          %LET _CLIENTPROCESSFLOWNAME='Process Flow';
                                                    __
                                                    49
NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release.  Inserting white space 
             between a quoted string and the succeeding identifier is recommended.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Jul 2022 07:02:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825603#M326097</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2022-07-27T07:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error 49</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825608#M326100</link>
      <description>&lt;P&gt;First thing, that is NOT and error, it is a Note.&lt;/P&gt;
&lt;P&gt;For some reason SAS thinks there is a character other than a space between the ending quote and the semicolon. I don't see it, I can't generated that note using your code copied and pasted into my editor so I suspect that your code file may have a non-printable character of some sort that the forum software strips or ignores. I would suggest in your source code that you try deleting the characters after the second quote and retyping.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The note related to use of 'text' followed by another character(s) to indicate special treatment of the text. 'stupid-varname'n for name literals, '01JAN2022'd for date literals, '08:15:00't for time literals and/or '01Jan2022:08:15:00'dt for datetime literal values.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 08:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825608#M326100</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-27T08:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error 49</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825611#M326103</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;I run a very simple query&amp;nbsp; and I didnt write any&amp;nbsp;&lt;SPAN&gt;quote in the code as you wrote.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I don't see the wanted data set qqq&amp;nbsp; because of error 49.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;Data qqq;
set  r_r.L9;
Run;
&lt;/PRE&gt;
&lt;P&gt;The error is&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1                                                          The SAS System                             11:47 Wednesday, July 27, 2022

1          ;*';*";*/;quit;run;
2          OPTIONS PAGENO=MIN;
3          %LET _CLIENTTASKLABEL='Program';
4          %LET _CLIENTPROCESSFLOWNAME='Process Flow';
5          %LET _CLIENTPROJECTPATH='';
6          %LET _CLIENTPROJECTPATHHOST='';
7          %LET _CLIENTPROJECTNAME='';
8          %LET _SASPROGRAMFILE='';
9          %LET _SASPROGRAMFILEHOST='';
10         
11         ODS _ALL_ CLOSE;
12         OPTIONS DEV=PNG;

           _________________________________
           49
NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release.  Inserting white space 
             between a quoted string and the succeeding identifier is recommended.

13         FILENAME EGHTML TEMP;
14         ODS HTML(ID=EGHTML) FILE=EGHTML
15             ENCODING='utf-8'
16             STYLE=HTMLBlue
17             STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASEnterpriseGuide/7.1/Styles/HTMLBlue.css")
18             NOGTITLE
19             NOGFOOTNOTE
20             GPATH=&amp;amp;sasworklocation
21         ;
NOTE: Line generated by the macro variable "SASWORKLOCATION".
21         ")    NOGTITLE    NOGFOOTNOTE
21       ! GPATH="/usr/local/saswork/SAS_work509E00000D90_LINX107717A15/SAS_workA43500000D90_LINX107717A15/"
                                                                                                           _
                                                                                                           49
NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release.  Inserting white space 
             between a quoted string and the succeeding identifier is recommended.
22         FILENAME EGSR TEMP;
23         ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR
24             STYLE=HTMLBlue
25             STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASEnterpriseGuide/7.1/Styles/HTMLBlue.css")
26             NOGTITLE
27             NOGFOOTNOTE
28             GPATH=&amp;amp;sasworklocation
29             ENCODING=UTF8
NOTE: Line generated by the macro variable "SASWORKLOCATION".
29         ")    NOGTITLE    NOGFOOTNOTE
29       ! GPATH="/usr/local/saswork/SAS_work509E00000D90_LINX107717A15/SAS_workA43500000D90_LINX107717A15/"

_____________________________________                                                                                               
                                                                                                           49
NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release.  Inserting white space 
             between a quoted string and the succeeding identifier is recommended.
30             options(rolap="on")
31         ;
32         
33         Data qqq;
34         set  r_r.L9;
35         Run;
36         
37         %LET _CLIENTTASKLABEL=;
2                                                          The SAS System                             11:47 Wednesday, July 27, 2022

38         %LET _CLIENTPROCESSFLOWNAME=;
39         %LET _CLIENTPROJECTPATH=;
40         %LET _CLIENTPROJECTPATHHOST=;
41         %LET _CLIENTPROJECTNAME=;
42         %LET _SASPROGRAMFILE=;
43         %LET _SASPROGRAMFILEHOST=;
44         
45         ;*';*";*/;quit;run;
46         ODS _ALL_ CLOSE;
47         
48         
49         QUIT; RUN;
50         
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Jul 2022 08:54:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825611#M326103</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2022-07-27T08:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error 49</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825625#M326105</link>
      <description>&lt;P&gt;Have you restarted your SAS session? If not do so.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 10:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825625#M326105</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-07-27T10:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error 49</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825633#M326108</link>
      <description>&lt;P&gt;I found the source for error but I really can't understand it.&lt;/P&gt;
&lt;P&gt;The problem was that there was extra (&amp;nbsp; in the code:&lt;/P&gt;
&lt;P&gt;%step3(sourcetbl=Cars_To_Check_Cons_New, OfferField=offer_CARLOAN , productId=&lt;FONT size="6"&gt;&lt;STRONG&gt;((&lt;/STRONG&gt;&lt;/FONT&gt;'CP','NC' ,'AP'),t=10);&lt;/P&gt;
&lt;P&gt;Surprisingly this code run well and I didn't get any error and the data sets were created well.&lt;/P&gt;
&lt;P&gt;But after run this macro I run another short query that work on one of the data sets that were created in the macro and I saw error 49.&lt;/P&gt;
&lt;P&gt;May anyone explain what happened?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 11:08:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825633#M326108</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2022-07-27T11:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error 49</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825783#M326156</link>
      <description>&lt;P&gt;Brackets operate in pairs. You have an opening bracket and no closing bracket, so the call of macro STEP3 is not correctly defined or ended. Hence following statements will get scrambled as well.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 20:56:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/825783#M326156</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-07-27T20:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error 49</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/911678#M359483</link>
      <description>&lt;P&gt;The error means that there is an unclosed quote.&amp;nbsp; When you use proc sql to enclose codes in quotes and separate them by commas, you have to hard code the first quote for the first code and the last quote for the last code, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;select codes into:code_name separated by '", "'&lt;/P&gt;&lt;P&gt;from table;quit;&lt;/P&gt;&lt;P&gt;%put ("&amp;amp;code_names");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I always mess this up too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 17:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/911678#M359483</guid>
      <dc:creator>eganx010</dc:creator>
      <dc:date>2024-01-16T17:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error 49</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/911718#M359504</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;The main learning experience from this really must be that you ALWAYS need to create a new SAS session if you get such errors, warnings, notes etc. - especially if they occur at the very beginning.&lt;/P&gt;
&lt;P&gt;Make it a habit that when you encounter an error that's not obvious to always first re-run in a new session before spending time investigating what could be caused by a leftover from an earlier run in an existing session.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 23:26:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-49/m-p/911718#M359504</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-01-16T23:26:10Z</dc:date>
    </item>
  </channel>
</rss>

