<?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 Passing macro variable values with special characters within session using SAS stored processes in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Passing-macro-variable-values-with-special-characters-within/m-p/121062#M3902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAS-perts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have successfully created an UI using SAS Stored Processes in EG environment - Involving creating session, passing macro variables within a session, creating custom HTML forms, updating the form with user inputs, drill down reports-etc.&lt;/P&gt;&lt;P&gt;Thanks for the inputs from the SAS community as and when required. (Thanks to FriedEgg,&amp;nbsp; Filipvdr, milts, ballardw, NN, Juan Luis Sánchez Hernández.. Sorry If I missed anybody who helped me..Ofcourse SAS TechSupport)&lt;/P&gt;&lt;P&gt;My current problem is -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have special characters in macro variable values. Initially I have suppressed '&amp;amp;' and apostrophe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is passing the 'comma' character properly. When I pass AAAA, INC - it is passing correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I realized that it is not passing the '+'.&amp;nbsp; When I pass 'days +3' and it ends up showing 'days 3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m not sure what other special characters it will not pass!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eventually I &lt;SPAN style="text-decoration: underline;"&gt;dont want to suppress any of the special characters&lt;/SPAN&gt; and want to display them as such.&lt;/P&gt;&lt;P&gt;Examples.&amp;nbsp;&amp;nbsp;&amp;nbsp; The variable has the following values.. which is being passes as _name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wal&amp;amp;Mart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wal-Mart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wal'mart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wal,Mart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2012 21:12:01 GMT</pubDate>
    <dc:creator>SGB</dc:creator>
    <dc:date>2012-09-12T21:12:01Z</dc:date>
    <item>
      <title>Passing macro variable values with special characters within session using SAS stored processes</title>
      <link>https://communities.sas.com/t5/Developers/Passing-macro-variable-values-with-special-characters-within/m-p/121062#M3902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAS-perts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have successfully created an UI using SAS Stored Processes in EG environment - Involving creating session, passing macro variables within a session, creating custom HTML forms, updating the form with user inputs, drill down reports-etc.&lt;/P&gt;&lt;P&gt;Thanks for the inputs from the SAS community as and when required. (Thanks to FriedEgg,&amp;nbsp; Filipvdr, milts, ballardw, NN, Juan Luis Sánchez Hernández.. Sorry If I missed anybody who helped me..Ofcourse SAS TechSupport)&lt;/P&gt;&lt;P&gt;My current problem is -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have special characters in macro variable values. Initially I have suppressed '&amp;amp;' and apostrophe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is passing the 'comma' character properly. When I pass AAAA, INC - it is passing correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I realized that it is not passing the '+'.&amp;nbsp; When I pass 'days +3' and it ends up showing 'days 3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m not sure what other special characters it will not pass!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eventually I &lt;SPAN style="text-decoration: underline;"&gt;dont want to suppress any of the special characters&lt;/SPAN&gt; and want to display them as such.&lt;/P&gt;&lt;P&gt;Examples.&amp;nbsp;&amp;nbsp;&amp;nbsp; The variable has the following values.. which is being passes as _name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wal&amp;amp;Mart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wal-Mart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wal'mart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wal,Mart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 21:12:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Passing-macro-variable-values-with-special-characters-within/m-p/121062#M3902</guid>
      <dc:creator>SGB</dc:creator>
      <dc:date>2012-09-12T21:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Passing macro variable values with special characters within session using SAS stored processes</title>
      <link>https://communities.sas.com/t5/Developers/Passing-macro-variable-values-with-special-characters-within/m-p/121063#M3903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&lt;/P&gt;&lt;P&gt; did your read documentation about the function and call routine HTMLENCODE:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="shortDesc"&gt;Encodes characters using HTML character entity references, and returns the encoded string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="shortDesc"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2012 04:46:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Passing-macro-variable-values-with-special-characters-within/m-p/121063#M3903</guid>
      <dc:creator>lacrefa</dc:creator>
      <dc:date>2012-09-15T04:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Passing macro variable values with special characters within session using SAS stored processes</title>
      <link>https://communities.sas.com/t5/Developers/Passing-macro-variable-values-with-special-characters-within/m-p/121064#M3904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi lacrefa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After posting this, I learnt that using URLENCODE is the one that I would need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Passing-macro-variable-values-with-special-characters-within/m-p/121064#M3904</guid>
      <dc:creator>SGB</dc:creator>
      <dc:date>2012-09-17T14:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Passing macro variable values with special characters within session using SAS stored processes</title>
      <link>https://communities.sas.com/t5/Developers/Passing-macro-variable-values-with-special-characters-within/m-p/121065#M3905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are creating stored process server sessions, the other option is to take advantage of the &lt;STRONG&gt;SAVE_&lt;/STRONG&gt; convention for saving macro variables from one request to the next one. This only works if you are using sessions. Basically what the server does is at the end of the request, it saves all the macro variables whose name begin with &lt;STRONG&gt;SAVE_&lt;/STRONG&gt; (not case-sensitive) and then when a new request &lt;EM&gt;reconnects&lt;/EM&gt; to the session, it loads the macro variables back so they are available. This is a nice way to &lt;EM&gt;save state&lt;/EM&gt; without having to embed values in the URL as name/value pairs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 22:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Passing-macro-variable-values-with-special-characters-within/m-p/121065#M3905</guid>
      <dc:creator>DonH</dc:creator>
      <dc:date>2012-09-27T22:41:04Z</dc:date>
    </item>
  </channel>
</rss>

