<?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 Closed:  Using and escaping special characters within SAS? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Closed-Using-and-escaping-special-characters-within-SAS/m-p/55521#M11815</link>
    <description>In doing some ETL development I am finding that SAS isn't allowing me to use some special characters (e.g., parentheses and single quotes) in some places (e.g., file descriptions, file names).  &lt;BR /&gt;
&lt;BR /&gt;
Is there a complete list of non-usable special characters and what/if any escapes there are for their use.&lt;BR /&gt;
&lt;BR /&gt;
(Please inform me if this is posted in the wrong forum.)&lt;BR /&gt;
&lt;BR /&gt;
Please let me know if more info is required.&lt;BR /&gt;
&lt;BR /&gt;
Thanks

Thanks, but I have answered this.&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: veblen</description>
    <pubDate>Fri, 22 Apr 2011 19:58:10 GMT</pubDate>
    <dc:creator>veblen</dc:creator>
    <dc:date>2011-04-22T19:58:10Z</dc:date>
    <item>
      <title>Closed:  Using and escaping special characters within SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Closed-Using-and-escaping-special-characters-within-SAS/m-p/55521#M11815</link>
      <description>In doing some ETL development I am finding that SAS isn't allowing me to use some special characters (e.g., parentheses and single quotes) in some places (e.g., file descriptions, file names).  &lt;BR /&gt;
&lt;BR /&gt;
Is there a complete list of non-usable special characters and what/if any escapes there are for their use.&lt;BR /&gt;
&lt;BR /&gt;
(Please inform me if this is posted in the wrong forum.)&lt;BR /&gt;
&lt;BR /&gt;
Please let me know if more info is required.&lt;BR /&gt;
&lt;BR /&gt;
Thanks

Thanks, but I have answered this.&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: veblen</description>
      <pubDate>Fri, 22 Apr 2011 19:58:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Closed-Using-and-escaping-special-characters-within-SAS/m-p/55521#M11815</guid>
      <dc:creator>veblen</dc:creator>
      <dc:date>2011-04-22T19:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using and escaping special characters within SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Closed-Using-and-escaping-special-characters-within-SAS/m-p/55522#M11816</link>
      <description>Hi:&lt;BR /&gt;
  SAS file references and file names have strict rules about what a valid SAS name can be. For example, this is a valid column or variable name: AGE_GROUP_1 however 1_AGE_GROUP is an invalid name because it starts with a number and SAS names cannot start with numbers. Valid SAS names can ONLY contain numbers, letters and underscores (spaces not allowed) and must start with a letter or underscore. So this would also be a valid variable or column name: _1_AGE_GROUP.&lt;BR /&gt;
&lt;BR /&gt;
  However, due to the fact that some systems do allow special characters or spaces in a name, for example, SAS also allows you to use "name literals" tokens or strings to reference variables. Some references are:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998953.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998953.htm&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001392879.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001392879.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
For example, as a name literal, it shows in the documentation that you could read in a column or variable with a name of [pre] '$ Amount Budgeted'n or  'Amount Spent'n [/pre] Note that in this syntax construction the whole string is quoted and is immediately followed by an &lt;B&gt;&lt;I&gt;n&lt;/I&gt;&lt;/B&gt;&lt;I&gt;&lt;/I&gt;, which indicates that the string is a name literal.&lt;BR /&gt;
&lt;BR /&gt;
  You might want to open a track with Tech Support for more thorough help on this issue, they can look at all your code and your operating system configuration and make specific recommendations.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 22 Apr 2011 21:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Closed-Using-and-escaping-special-characters-within-SAS/m-p/55522#M11816</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-04-22T21:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using and escaping special characters within SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Closed-Using-and-escaping-special-characters-within-SAS/m-p/55523#M11817</link>
      <description>My apologies for the slow response, but THANKS for the assistance Cynthia. &lt;BR /&gt;
&lt;BR /&gt;
Your advice and the links came in handy and it is highly appreciated.</description>
      <pubDate>Wed, 27 Apr 2011 16:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Closed-Using-and-escaping-special-characters-within-SAS/m-p/55523#M11817</guid>
      <dc:creator>veblen</dc:creator>
      <dc:date>2011-04-27T16:57:17Z</dc:date>
    </item>
  </channel>
</rss>

