<?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 do I get rid of invalid characters error? in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493167#M6158</link>
    <description>&lt;P&gt;This may have something to do with it.&amp;nbsp; Set MSGLEVEL&amp;nbsp;as indicated and see additional information&amp;nbsp;you get.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; NOTE: One or more variables were converted because the data type is not supported by the V9 engine. For more details, run with 
       options MSGLEVEL=I.
 NOTE: The import data set has 2628 observations and 43 variables.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 06 Sep 2018 19:24:50 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2018-09-06T19:24:50Z</dc:date>
    <item>
      <title>How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493146#M6154</link>
      <description>&lt;P&gt;I'm extremely new to SAS Studio and SAS EG&amp;nbsp;and I'm trying to takeover inherited programs.&amp;nbsp; I've been using PC SAS for years.&amp;nbsp; The program was written originally using SAS EG, however, I'm trying to switch to SS.&amp;nbsp; If I submit the code in SAS EG, it works without issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I submit the exact same code via SS, I get the following error,&amp;nbsp;when the code is&amp;nbsp;trying to write the WORK dataset out to a PDF using PROC REPORT.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;ERROR: Invalid characters were present in the data.&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#ff0000"&gt;ERROR: Invalid characters were present in the data.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#ff0000"&gt;ERROR: An error occurred while processing text data.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;FONT color="#ff0000"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;FONT color="#000000"&gt;There were not any issues reading&amp;nbsp;the datasets from external source to WORK dataset.&amp;nbsp; The error only popped up at the PROC REPORT.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;FONT color="#0000ff"&gt;proc report data=fjoin nowd headline headskip split='*' missing spacing=1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; style(header)=[font=('Arial',8pt)]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; style(column)=[font=('Arial',8pt)];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; column order1 order2 order3 matchx&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ("Data Management (Rave EDC as of &amp;amp;ravedt.)" dm_subno dm_begin dm_text dm_end dm_fromcopy)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ("Drug Safety (Argus as of &amp;amp;argusdt)" ds_event ds_begindt ds_text ds_enddt ds_isclosed) stdyday color;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; by order1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define order1 / order noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define order2 / order noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define order3 / order noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define matchx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=1 format=matchx. center ' ' style(column)=[font=('Symbol',8pt)];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define dm_subno&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=6 format=z6. center 'Subject*Number' style(column)=[cellwidth=0.6in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define dm_begin&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=6 format=$20. center 'Onset*Date' style(column)=[cellwidth=0.9in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define dm_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=35 left flow 'Preferred Term/*Reported Term/*Causality' style(column)=[cellwidth=1.95in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define dm_end&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=6 format=$20. center flow 'Resolved*Date' style(column)=[cellwidth=0.9in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define dm_fromcopy / display width=8 format=1. center 'CRF Is*Copy?' style(column)=[cellwidth=0.5in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define ds_event&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=15 format=$20. left flow 'Case*Number' style(column)=[cellwidth=0.6in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define ds_begindt&amp;nbsp; / display width=6 format=$11. center 'Onset*Date' style(column)=[cellwidth=0.9in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define ds_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=35 left flow 'Preferred Term/*Reported Term /*Causality' style(column)=[cellwidth=1.95in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define ds_enddt&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=6 format=$11. center 'Resolved*Date' style(column)=[cellwidth=0.9in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define ds_isclosed / display width=8 format=$yesno. center 'Case Is*Closed?' style(column)=[cellwidth=0.5in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define stdyday&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=5 format=best8. center 'Study*Day' style(column)=[cellwidth=0.5in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define color&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; compute color;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if color='Red' then call define(_row_, "style", "style=[background=lightRed]");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if color='Yellow' then call define(_row_, "style", "style=[background=Yellow]");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; else if color='Green' then call define(_row_, "style", "style=[background=lightGreen]");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if color='White' then call define(_row_, "style", "style=[background=White]");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; endcomp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; break after order1 / skip;&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;FONT color="#000000"&gt;Can somebody please help by pointing me to what option(s) I need to play around with? Many thanks in advance.&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Sep 2018 18:17:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493146#M6154</guid>
      <dc:creator>TaniaRTP</dc:creator>
      <dc:date>2018-09-06T18:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493147#M6155</link>
      <description>&lt;P&gt;Can you post the exact log? It usually indicates where the error originates so we don't have to read every line very specifically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you by any chance move from a Unix to Windows system at all here?&lt;/P&gt;
&lt;P&gt;Or did you copy and paste any code from different systems? Sometimes that can introduce sometimes invisible characters that mess things up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/231260"&gt;@TaniaRTP&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'm extremely new to SAS Studio and SAS EG&amp;nbsp;and I'm trying to takeover inherited programs.&amp;nbsp; I've been using PC SAS for years.&amp;nbsp; The program was written originally using SAS EG, however, I'm trying to switch to SS.&amp;nbsp; If I submit the code in SAS EG, it works without issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I submit the exact same code via SS, I get the following error,&amp;nbsp;when the code is&amp;nbsp;trying to write the WORK dataset out to a PDF using PROC REPORT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;ERROR: Invalid characters were present in the data.&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV class="sasError"&gt;&lt;FONT color="#ff0000"&gt;ERROR: Invalid characters were present in the data.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;&lt;FONT color="#ff0000"&gt;ERROR: An error occurred while processing text data.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&lt;FONT color="#ff0000"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&lt;FONT color="#000000"&gt;There were not any issues reading&amp;nbsp;the datasets from external source to WORK dataset.&amp;nbsp; The error only popped up at the PROC REPORT.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&lt;FONT color="#0000ff"&gt;proc report data=fjoin nowd headline headskip split='*' missing spacing=1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; style(header)=[font=('Arial',8pt)]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; style(column)=[font=('Arial',8pt)];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; column order1 order2 order3 matchx&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ("Data Management (Rave EDC as of &amp;amp;ravedt.)" dm_subno dm_begin dm_text dm_end dm_fromcopy)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ("Drug Safety (Argus as of &amp;amp;argusdt)" ds_event ds_begindt ds_text ds_enddt ds_isclosed) stdyday color;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; by order1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define order1 / order noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define order2 / order noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define order3 / order noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define matchx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=1 format=matchx. center ' ' style(column)=[font=('Symbol',8pt)];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define dm_subno&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=6 format=z6. center 'Subject*Number' style(column)=[cellwidth=0.6in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define dm_begin&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=6 format=$20. center 'Onset*Date' style(column)=[cellwidth=0.9in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define dm_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=35 left flow 'Preferred Term/*Reported Term/*Causality' style(column)=[cellwidth=1.95in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define dm_end&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=6 format=$20. center flow 'Resolved*Date' style(column)=[cellwidth=0.9in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define dm_fromcopy / display width=8 format=1. center 'CRF Is*Copy?' style(column)=[cellwidth=0.5in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define ds_event&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=15 format=$20. left flow 'Case*Number' style(column)=[cellwidth=0.6in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define ds_begindt&amp;nbsp; / display width=6 format=$11. center 'Onset*Date' style(column)=[cellwidth=0.9in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define ds_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=35 left flow 'Preferred Term/*Reported Term /*Causality' style(column)=[cellwidth=1.95in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define ds_enddt&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=6 format=$11. center 'Resolved*Date' style(column)=[cellwidth=0.9in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define ds_isclosed / display width=8 format=$yesno. center 'Case Is*Closed?' style(column)=[cellwidth=0.5in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define stdyday&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display width=5 format=best8. center 'Study*Day' style(column)=[cellwidth=0.5in];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define color&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / display noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; compute color;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if color='Red' then call define(_row_, "style", "style=[background=lightRed]");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if color='Yellow' then call define(_row_, "style", "style=[background=Yellow]");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; else if color='Green' then call define(_row_, "style", "style=[background=lightGreen]");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if color='White' then call define(_row_, "style", "style=[background=White]");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; endcomp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; break after order1 / skip;&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&lt;FONT color="#000000"&gt;Can somebody please help by pointing me to what option(s) I need to play around with? Many thanks in advance.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 18:26:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493147#M6155</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-06T18:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493156#M6156</link>
      <description>&lt;P&gt;Yes, I've attached the log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, the programs did not move from Unix to Windows.&amp;nbsp; The way it's setup here, we have access to both EG &amp;amp; SS.&amp;nbsp; We connect remotely to SAS servers, so even though the program was built in EG, when I open it using SS, I'm accessing the EG program from the same remote location/servers.&amp;nbsp; I did not have to copy/paste.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 18:56:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493156#M6156</guid>
      <dc:creator>TaniaRTP</dc:creator>
      <dc:date>2018-09-06T18:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493161#M6157</link>
      <description>&lt;P&gt;It's going to be a character variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Start by reducing proc report and removing half the character variables and running it. If it runs without error it's in the other half.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Repeat until you know which variable is causing the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then repeat again with say different time periods or such.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you've found the 'offending' record so to speak, then we can help you clean it up. From a quick scan of your code it looks like you may have free text fields which are difficult to enforce types &lt;STRIKE&gt;so it's possible its a data issue that may come up regardless of what machine you're running it on&lt;/STRIKE&gt;. (Sorry, you already said it run's fine on EG).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe someone else will have a better solution, especially since it works in EG and not SS. I would also consider reporting it to SAS Tech Support once you isolate the issue because errors in EG vs SAS Studio like this should not happen IMO. You could also just contact them directly and they would help you work through this, though I suspect taking the approach above will be significantly faster.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 19:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493161#M6157</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-06T19:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493167#M6158</link>
      <description>&lt;P&gt;This may have something to do with it.&amp;nbsp; Set MSGLEVEL&amp;nbsp;as indicated and see additional information&amp;nbsp;you get.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; NOTE: One or more variables were converted because the data type is not supported by the V9 engine. For more details, run with 
       options MSGLEVEL=I.
 NOTE: The import data set has 2628 observations and 43 variables.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Sep 2018 19:24:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493167#M6158</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2018-09-06T19:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493187#M6159</link>
      <description>&lt;P&gt;Repeated use of option encoding or inencoding on the LIBNAME statements indicates that possibly someone was aware that the data may have encoding other than the current default system encoding.&lt;/P&gt;
&lt;PRE&gt; data fjoin (encoding=asciiany) ;&lt;/PRE&gt;
&lt;P&gt;You may want to examine what your session encoding is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc options option=encoding;    
run; &lt;/PRE&gt;
&lt;P&gt;You may need to specify the encoding option in the places that you haven't, such as proc report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 20:25:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493187#M6159</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-06T20:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493717#M6163</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/231260"&gt;@TaniaRTP&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Hmm... Same code but different outcome when run out of EG as compared to SS. Both EG and SS are the clients. The actual code and the error encountered is server side. So something environmental must be different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Are you connecting to the same SAS machine and SAS application server with both clients?&lt;/P&gt;
&lt;P&gt;2. After connecting to the application server have you run as very first step a Proc contents (or queried the dictionary tables) to check if there are differences in Option settings?&lt;/P&gt;
&lt;P&gt;3. With EG (not sure about SS) one can set-up the project to execute additional code which eventually could change the environment. Have you already checked if that's the case?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 492px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23111iBEAEC5421CABF8EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;And then it's eventually also worth to actually understand what these hurting characters are. I'd expect they come from the Excel file. You could write a step after the import and check all character variables for non-printable characters (just use an array _character_ and then loop over the vars to search for such characters) - Line Feeds (LF) in Excel cells can be "fun" for example.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 02:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493717#M6163</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-09-08T02:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493768#M6167</link>
      <description>&lt;P&gt;Usually this is caused by having values in character variables that cannot be trancoded.&lt;/P&gt;
&lt;P&gt;When you are running in with a single byte character encoding then what is actually in the character string doesn't matter much.&amp;nbsp;&amp;nbsp;But if you try to treat the same string of bytes as if it was UTF-8 then you could have a sequence of bytes that do not represent any known unicode character.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 15:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493768#M6167</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-09-08T15:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493808#M6168</link>
      <description>Hi, even though the PROGRAMS did not work from Unix to SAS, the encoding on the server might have changed between when the data files were originally created and now. Was SAS on the server recently updated?&lt;BR /&gt;Cynthia</description>
      <pubDate>Sat, 08 Sep 2018 18:21:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/493808#M6168</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-09-08T18:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496271#M6224</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I have checked my session encoding (UTF-8).&amp;nbsp; I have also specified the encoding option everywhere&lt;/P&gt;&lt;P&gt;--- PROC REPORT DATA=xxx(encoding=yyyy)&lt;/P&gt;&lt;P&gt;--- all my work datasets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried each of these encoding options:&amp;nbsp; UTF-8, asciiany and "session".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, I tried to confirm if it was a particular observation by deleting&amp;nbsp;observations various ways, but still get the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="dijitBorderContainer dijitContainer row-fluid dijitLayoutContainer"&gt;&lt;DIV class="dijitContentPane dijitBorderContainer-child dijitBorderContainer-dijitContentPane dijitBorderContainerPane dijitAlignCenter dijitContentPaneSingleChild"&gt;&lt;DIV class="dijitBorderContainer dijitContainer row-fluid dijitLayoutContainer"&gt;&lt;DIV class="dijitContentPane dijitAlignCenter dijitContentPaneSingleChild dijitBorderContainer-child dijitBorderContainer-dijitContentPane dijitBorderContainerPane"&gt;&lt;DIV class="tabs dijitBorderContainer dijitContainer dojoDndTarget sasStudioTabsParentContainer dijitLayoutContainer dojoDndContainerOver"&gt;&lt;DIV class="dijitTabContainer dijitTabContainerTop dijitContainer dijitLayoutContainer tabStrip-disabled sasStudioTabsTabContainer sasStudioTabsTabContainerVertical sasStudioTabsTop dijitBorderContainer-child dijitBorderContainer-dijitTabContainerTop dijitBorderContainerPane dijitAlignCenter"&gt;&lt;DIV class="dijitTabPaneWrapper dijitTabContainerTop-container dijitAlignCenter"&gt;&lt;DIV class="dijitTabContainerTopChildWrapper dijitVisible"&gt;&lt;DIV class="dijitBorderContainer dijitContainer sasStudioTabsTabContainerChild dijitTabPane dijitTabContainerTop-child dijitTabContainerTop-dijitBorderContainer dijitLayoutContainer"&gt;&lt;DIV class="dijitBorderContainer dijitContainer dojoDndTarget dijitBorderContainer-child dijitBorderContainer-dijitBorderContainer dijitBorderContainerPane dijitAlignCenter dijitLayoutContainer dojoDndContainerOver"&gt;&lt;DIV class="dijitTabContainer dijitTabContainerTop dijitContainer dijitLayoutContainer tabStrip-disabled sasSuiteTabs dijitBorderContainer-child dijitBorderContainer-dijitTabContainerTop dijitBorderContainerPane dijitAlignCenter"&gt;&lt;DIV class="dijitTabPaneWrapper dijitTabContainerTop-container dijitAlignCenter"&gt;&lt;DIV class="dijitTabContainerTopChildWrapper dijitVisible"&gt;&lt;DIV class="dijitBorderContainer dijitContainer dijitTabPane dijitTabContainerTop-child dijitTabContainerTop-dijitBorderContainer dijitLayoutContainer"&gt;&lt;DIV class="dijitBorderContainer dijitContainer dijitBorderContainer-child dijitBorderContainer-dijitBorderContainer dijitBorderContainerPane dijitAlignCenter dijitLayoutContainer"&gt;&lt;DIV class="dijitContentPane dijitBorderContainer-child dijitBorderContainer-dijitContentPane dijitBorderContainerPane dijitAlignCenter"&gt;&lt;DIV class="sasError"&gt;ERROR: Invalid characters were present in the data.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Invalid characters were present in the data.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: An error occurred while processing text data.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;I switched to Enterprise Guide &amp;amp; ran it with encoding=utf8, asciiany and they both ran without error, producing a PDF.&amp;nbsp; Any other thoughts?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Sep 2018 15:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496271#M6224</guid>
      <dc:creator>TaniaRTP</dc:creator>
      <dc:date>2018-09-17T15:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496272#M6225</link>
      <description>&lt;P&gt;Were you able to identify which fields are causing the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 15:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496272#M6225</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-17T15:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496273#M6226</link>
      <description>&lt;P&gt;I'm unaware if SAS was recently updated.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 15:44:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496273#M6226</guid>
      <dc:creator>TaniaRTP</dc:creator>
      <dc:date>2018-09-17T15:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496287#M6227</link>
      <description>&lt;P&gt;Thank you Reeza for the reminder.&amp;nbsp; I hadn't looked at variables causing the issue, only observations.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was the variable MATCHX. There was a format being applied (don't know why).&amp;nbsp; I commented out the format and it works perfect!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;value matchx 0='B4'x 1='D6'x;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 16:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496287#M6227</guid>
      <dc:creator>TaniaRTP</dc:creator>
      <dc:date>2018-09-17T16:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496288#M6228</link>
      <description>&lt;P&gt;Thank you Reeza for the reminder.&amp;nbsp; I hadn't looked at variables causing the issue, only observations.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was the variable MATCHX. There was a format being applied (don't know why).&amp;nbsp; I commented out the format and it works perfect!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 16:03:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496288#M6228</guid>
      <dc:creator>TaniaRTP</dc:creator>
      <dc:date>2018-09-17T16:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496291#M6229</link>
      <description>&lt;P&gt;I wonder if the format was corrupted somehow when switching versions....&lt;/P&gt;
&lt;P&gt;Definitely compare outputs to make sure they're identical and glad you got the problem solved!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 16:04:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496291#M6229</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-17T16:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get rid of invalid characters error?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496293#M6230</link>
      <description>&lt;P&gt;The format was created within the program so it wasn't being read from an external file.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked at old PDFs, and I can't ascertain what the purpose of the format was.&amp;nbsp; The previous output displayed as 0 and 1 (the raw values), not special characters, so&amp;nbsp;I think omitting the format is fine.&amp;nbsp; I truly thank you for your replies &amp;amp; assistance.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 16:13:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-do-I-get-rid-of-invalid-characters-error/m-p/496293#M6230</guid>
      <dc:creator>TaniaRTP</dc:creator>
      <dc:date>2018-09-17T16:13:55Z</dc:date>
    </item>
  </channel>
</rss>

