<?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: ESCAPECHAR in my data in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787524#M25524</link>
    <description>&lt;P&gt;That is what I ended up doing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Dec 2021 13:38:23 GMT</pubDate>
    <dc:creator>jtcowder</dc:creator>
    <dc:date>2021-12-28T13:38:23Z</dc:date>
    <item>
      <title>ESCAPECHAR in my data</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787287#M25516</link>
      <description>&lt;P&gt;I have a dataset that has ^ in the data, 1x10^3.&lt;/P&gt;&lt;P&gt;My escapechar is '^'.&lt;/P&gt;&lt;P&gt;Is there a way to mask the '^' in the data?&lt;/P&gt;&lt;P&gt;I know I can reset the escape character to something else, but would like to know if there is a function of some sort to make it read in the entire value, ignoring the escape character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 21:10:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787287#M25516</guid>
      <dc:creator>jtcowder</dc:creator>
      <dc:date>2021-12-23T21:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: ESCAPECHAR in my data</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787298#M25518</link>
      <description>&lt;P&gt;So your data is in an external file you are trying to read into SAS or is it already in a SAS dataset you have read from an external file? The usual approach is to replace unprintable characters like escape with blanks. This can be done with the TRANSLATE function as you are reading your data in or during post-processing.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 22:15:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787298#M25518</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-12-23T22:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: ESCAPECHAR in my data</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787300#M25519</link>
      <description>&lt;P&gt;Hi, the easiest thing to do is to change your escape character to something else. Change it to something like&lt;BR /&gt;ods escapechar='~';&lt;BR /&gt;or some other character like the #.&lt;BR /&gt;Reading the data should be OK. Take a look at this quick test:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1640298194137.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66944i9EBFB6CEB336CB8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1640298194137.png" alt="Cynthia_sas_0-1640298194137.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;It's when you go to use ODS to display the data that ODS ESCAPECHAR can cause you issues... as shown in this PROC PRINT output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1640298234043.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66945i598D9CBCDCA36E32/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1640298234043.png" alt="Cynthia_sas_1-1640298234043.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The data is being read correctly. Why can't you change the ESCAPECHAR before your report step? &lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 22:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787300#M25519</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-12-23T22:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: ESCAPECHAR in my data</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787319#M25520</link>
      <description>&lt;P&gt;Why are you using ^ as the escapechar for ODS if you know the text you want to display includes it?&lt;/P&gt;
&lt;P&gt;Use a different escape character for ODS.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 03:50:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787319#M25520</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-12-24T03:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: ESCAPECHAR in my data</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787524#M25524</link>
      <description>&lt;P&gt;That is what I ended up doing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 13:38:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787524#M25524</guid>
      <dc:creator>jtcowder</dc:creator>
      <dc:date>2021-12-28T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: ESCAPECHAR in my data</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787525#M25525</link>
      <description>&lt;P&gt;In part, because this data set had not been used before, so when the initial code was written, none of the data sets had '^' in them, which was what being used as the escapechar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After producing something like 40 outputs, they requested similar tables on a data set with data that read 1x10^3 in one field.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 13:41:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787525#M25525</guid>
      <dc:creator>jtcowder</dc:creator>
      <dc:date>2021-12-28T13:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: ESCAPECHAR in my data</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787526#M25526</link>
      <description>&lt;P&gt;To answer the second part of your post :&lt;/P&gt;&lt;P&gt;the footer has "page x of y" in it, and that was called from a driver file.&lt;/P&gt;&lt;P&gt;Changing the escapechar just before the report made the paging not present correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went back to the common driver file and changed the escapechar there.&amp;nbsp; Now I will have to check other code that used the "^" escapechar to add superscripts to some headings and change it there as well.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 13:48:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ESCAPECHAR-in-my-data/m-p/787526#M25526</guid>
      <dc:creator>jtcowder</dc:creator>
      <dc:date>2021-12-28T13:48:27Z</dc:date>
    </item>
  </channel>
</rss>

