<?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: How to resove or remove bouble quotes from string macro in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94009#M19819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try what data _null_ suggested?&lt;/P&gt;&lt;P&gt;Why do you want to remove the quotes if your intent is to use the value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use as a value in a DATA step then use SYMGET and you do not need to worry about the commas or quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; length syserrortext $400;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; syserrortext=symget('&lt;SPAN style="color: #ff0000; font-size: 16px; background-color: #ffffff;"&gt;syserrortext&lt;/SPAN&gt;');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the value in a TITLE statement then use the QUOTE() function.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;title %sysfunc(quote(%superq(&lt;SPAN style="color: #ff0000; font-size: 16px; background-color: #ffffff;"&gt;syserrortext&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2013 05:36:50 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2013-04-02T05:36:50Z</dc:date>
    <item>
      <title>How to resove or remove bouble quotes from string macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94004#M19814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am generating a macro with double quotes in if&lt;/P&gt;&lt;P&gt;eg &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let TEXT=Total outstanding balance for "Rise company" is 25;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc print data=sashelp.cars;&lt;/P&gt;&lt;P&gt;title "for period the &amp;amp;text";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will get error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to replace or remove this double quotes form text macro&lt;/P&gt;&lt;P&gt;is there any way&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 09:38:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94004#M19814</guid>
      <dc:creator>santhosh</dc:creator>
      <dc:date>2013-04-01T09:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to resove or remove bouble quotes from string macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94005#M19815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;title %sysfunc(quote(for period the &amp;amp;text));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 10:07:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94005#M19815</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-04-01T10:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to resove or remove bouble quotes from string macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94006#M19816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i&amp;nbsp; have one problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am connecting to oracle and executing procedure and i am getting error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; color: #ff0000; font-size: 12pt;"&gt;%put &amp;amp;syserrortext;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ORACE execute error: ORA-06550: line 1, column 7:PLS-00201: identifier 'PROC_CPR033_VALIDATE11' must be &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; declaredORA-06550: line 1, column 7:PL/SQL: Statement ignoredORA-06512: at "DEVELOPER.CPR_RETURNS_BACK_DATE", line &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 67ORA-06512: at line 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to display this syserrortext in table or in macro or export as txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i use this in title i am getting following error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: The function QUOTE referenced by the %SYSFUNC or %QSYSFUNC macro function has too many arguments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 11:39:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94006#M19816</guid>
      <dc:creator>santhosh</dc:creator>
      <dc:date>2013-04-01T11:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to resove or remove bouble quotes from string macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94007#M19817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The commas in syserrortext are the problem.&amp;nbsp; Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%sysfunc(quote(%superq(syserrortext)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;notice there is NO &amp;amp; used with %superq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 11:43:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94007#M19817</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-04-01T11:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to resove or remove bouble quotes from string macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94008#M19818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; color: #ff0000; font-size: 12pt;"&gt;%put &amp;amp;syserrortext;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ORACE execute error: ORA-06550: line 1, column 7:PLS-00201: identifier 'PROC_CPR033_VALIDATE11' must be &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; declaredORA-06550: line 1, column 7:PL/SQL: Statement ignoredORA-06512: at &lt;STRONG&gt;"DEVELOPER.CPR_RETURNS_BACK_DATE",&lt;/STRONG&gt; line &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 67ORA-06512: at line 1&lt;/P&gt;&lt;P&gt; this double quotes is creating a problem&lt;/P&gt;&lt;P&gt;is there any way to remove double or single quotes from macro syserrortext&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 04:56:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94008#M19818</guid>
      <dc:creator>santhosh</dc:creator>
      <dc:date>2013-04-02T04:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to resove or remove bouble quotes from string macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94009#M19819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try what data _null_ suggested?&lt;/P&gt;&lt;P&gt;Why do you want to remove the quotes if your intent is to use the value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use as a value in a DATA step then use SYMGET and you do not need to worry about the commas or quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; length syserrortext $400;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; syserrortext=symget('&lt;SPAN style="color: #ff0000; font-size: 16px; background-color: #ffffff;"&gt;syserrortext&lt;/SPAN&gt;');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the value in a TITLE statement then use the QUOTE() function.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;title %sysfunc(quote(%superq(&lt;SPAN style="color: #ff0000; font-size: 16px; background-color: #ffffff;"&gt;syserrortext&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 05:36:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94009#M19819</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-04-02T05:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to resove or remove bouble quotes from string macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94010#M19820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks tom its correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 09:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94010#M19820</guid>
      <dc:creator>santhosh</dc:creator>
      <dc:date>2013-04-02T09:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to resove or remove bouble quotes from string macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94011#M19821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; length syserrortext $400;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; syserrortext=symget('&lt;SPAN style="background-color: #ffffff; color: #ff0000; font-size: 16px;"&gt;syserrortext&lt;/SPAN&gt;');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using this code i am able to handle error in want table&lt;/P&gt;&lt;P&gt;if there is no error i am getting blank data but when i am taking count of syserrortext then i am getting count as 1&lt;/P&gt;&lt;P&gt;how to get 0 if no data is available&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 10:32:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resove-or-remove-bouble-quotes-from-string-macro/m-p/94011#M19821</guid>
      <dc:creator>santhosh</dc:creator>
      <dc:date>2013-04-18T10:32:53Z</dc:date>
    </item>
  </channel>
</rss>

