<?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: Invalid string Error while importing a file which contains smiley symbols in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190237#M35904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this question and the great help that followed. I'm moving this post to the Macros community so others might see it, too. Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2014 13:18:49 GMT</pubDate>
    <dc:creator>Community_Help</dc:creator>
    <dc:date>2014-10-20T13:18:49Z</dc:date>
    <item>
      <title>Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190226#M35893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on Social Media Data. I have my input file as ';' delimiter file. In twitter and Facebook contains lots of symbols :smileyplain:.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a import file code like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data WORK.Test&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let _EFIERR_ = 0; /* set the ERROR detection macro variable */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile 'D:\Rajesh_sun\POCData\SrBachchan.csv' delimiter = ';' MISSOVER DSD lrecl=13106&lt;/P&gt;&lt;P&gt; firstobs=2 TERMSTR=CRLF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat level $3. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat id $3. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat parent_id $3. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat object_id $20. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat object_type $6. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat query_status $15. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat query_time $28. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat query_type $23. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat created_at $32. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat user_screen_name $17. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat favorite_count $3. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat retweet_count $4. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat entities_hashtags___text $12. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat entities_user_mentions___name $43. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat entities_urls___display_url $2. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat in_reply_to_user_id $11. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat in_reply_to_screen_name $12. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat in_reply_to_status_id $2. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat text $142. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format level $3. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format id $3. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format parent_id $3. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format object_id $20. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format object_type $6. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format query_status $15. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format query_time $28. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format query_type $23. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format created_at $32. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format user_screen_name $17. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format favorite_count $3. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format retweet_count $4. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format entities_hashtags___text $12. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format entities_user_mentions___name $43. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format entities_urls___display_url $2. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format in_reply_to_user_id $11. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format in_reply_to_screen_name $12. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format in_reply_to_status_id $2. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format text $142. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input&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; level $&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; id $&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; parent_id $&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; object_id $&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; object_type $&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; query_status $&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; query_time $&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; query_type $&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; created_at $&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; user_screen_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; favorite_count $&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; retweet_count $&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; entities_hashtags___text $&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; entities_user_mentions___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; entities_urls___display_url $&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; in_reply_to_user_id $&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; in_reply_to_screen_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; in_reply_to_status_id $&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; text $&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _ERROR_ then call symputx('_EFIERR_',1);&amp;nbsp; /* set ERROR detection macro variable */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;While I execute the code i am getting an error like &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: A byte-order mark in the file "D:\Rajesh_sun\POCData\SrBachchan.csv" (for fileref&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "#LN00023") indicates that the data is encoded in "utf-8".&amp;nbsp; This encoding will be used to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; process the file.&lt;/P&gt;&lt;P&gt;NOTE: The infile 'D:\Rajesh_sun\POCData\SrBachchan.csv' is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename=D:\Rajesh_sun\POCData\SrBachchan.csv,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECFM=V,LRECL=52424,File Size (bytes)=3390532,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Modified=17Oct2014:21:42:06,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create Time=17Oct2014:21:51:09&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080;"&gt;ERROR: Invalid string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080;"&gt;FATAL: Unrecoverable I/O error detected in the execution of the DATA step program.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aborted during the EXECUTION phase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NOTE: 9 records were read from the infile 'D:\Rajesh_sun\POCData\SrBachchan.csv'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 72.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 364.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;WARNING: The data set WORK.TEST may be incomplete.&amp;nbsp; When this step was stopped there were 9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; observations and 19 variables.&lt;/P&gt;&lt;P&gt;WARNING: Data set WORK.TEST was not replaced because this step was stopped.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.03 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.03 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It have various types of Symbols. I attached a sample pics and file as well. Please help me to overcome this issue.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="issue.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/7648_issue.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 17:21:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190226#M35893</guid>
      <dc:creator>rajeshitboys</dc:creator>
      <dc:date>2014-10-17T17:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190227#M35894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of SAS?&amp;nbsp; It works fine for me with SAS 9.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;filename&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; xxx zip &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'C:\Downloads\SrBachchan.csv.zip'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;infile&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; xxx(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'SrBachchan.csv'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;lrecl&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;30000&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;dsd&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;dlm&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;';'&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;truncover&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; x1-x20 $&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;500&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; x1-x20 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NOTE: A total of 11829 records were read from the infile library XXX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 590.&lt;/P&gt;&lt;P&gt;NOTE: 11829 records were read from the infile XXX('SrBachchan.csv').&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 590.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 18:21:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190227#M35894</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-10-17T18:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190228#M35895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's an interesting one. If using the zip engine then things work as in Tom's code. If first extracting the file using 7-zip or WinZip then I'm getting the same error like the OP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename xxx 'C:\temp' ;&lt;/P&gt;&lt;P&gt;data _null_ ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile xxx('SrBachchan.csv') lrecl=30000 obs=10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: Invalid string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;FATAL: Unrecoverable I/O error detected in the execution of the DATA step program.&amp;nbsp; Aborted during the EXECUTION phase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue seems to appear for the first time at the end of line 10 in the source file and if I remove below string from source then I can read past of line 10. Not sure why though.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="7658" alt="Capture.PNG" class="jive-image-thumbnail jive-image" height="70" src="https://communities.sas.com/legacyfs/online/7658_Capture.PNG" style="height: 70px; width: 715.909090909091px;" width="716" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having tested a bit further:&lt;/P&gt;&lt;P&gt;It appears that when using the zip engine SAS doesn't detect the BOM and reads the file using the session encoding (WLATIN1 in my case). In doing so things work.&lt;/P&gt;&lt;P&gt;When extracting the file first and then reading the .csv SAS detects the BOM and UFT-8 gets used; and that's where the issues occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Tom's code with the zip engine but setting the encoding to UTF-8 the code also throws an error.&lt;/P&gt;&lt;P&gt;filename xxx zip 'C:\temp\SrBachchan.csv.zip' ;&lt;/P&gt;&lt;P&gt;data _null_ ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile xxx('SrBachchan.csv') lrecl=30000 dsd dlm= ';' truncover &lt;STRONG&gt;encoding='utf-8&lt;/STRONG&gt;';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done a test where I've opened the .csv with Notepad++ and then saved it as UTF-8 without BOM. After this I read the file using WLATIN1 and again didn't get an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it has something to do with UTF-8. I still don't understand why this is happening though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 01:27:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190228#M35895</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-10-19T01:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190229#M35896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I am also working on 9.4,&amp;nbsp; for this code also i am getting an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: No encoding was specified for the fileref "#LN00013" (for the file "d:\SrBachchan.csv").&amp;nbsp; A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte order mark in the file indicates that the data is encoded in "utf-8".&amp;nbsp; This encoding will&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; be used to process the file.&lt;/P&gt;&lt;P&gt;NOTE: The infile 'd:\SrBachchan.csv' is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename=d:\SrBachchan.csv,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECFM=V,LRECL=180000,File Size (bytes)=3390532,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Modified=17Oct2014:21:42:08,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create Time=19Oct2014:23:40:47&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Invalid string.&lt;/P&gt;&lt;P&gt;FATAL: Unrecoverable I/O error detected in the execution of the DATA step program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aborted during the EXECUTION phase.&lt;/P&gt;&lt;P&gt;NOTE: 10 records were read from the infile 'd:\SrBachchan.csv'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 72.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 364.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 18:22:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190229#M35896</guid>
      <dc:creator>rajeshitboys</dc:creator>
      <dc:date>2014-10-19T18:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190230#M35897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that when code I posted is run using WLATIN1 encoding the file is just read it byte by byte and the UTF8 encoding is ignored.&lt;/P&gt;&lt;P&gt;You can see by looking at the value of the first field for this header line that it has ignored the encoding information and treated it as part of the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x1=ï»¿"level"&lt;/P&gt;&lt;P&gt;EFBBBF226C6576656C22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read it without errors by using a SAS session that is using UTF8 encoding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 19:38:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190230#M35897</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-10-19T19:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190231#M35898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to encoding like through encoding=WLATIN1 option i am getting an error like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: The file "d:\SrBachchan.csv" could not be opened.&amp;nbsp; A byte order mark indicates that the data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is encoded in "utf-8".&amp;nbsp; This conflicts with the "wlatin1" encoding that was specified for the&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileref "#LN00014".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code which i submitted,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_ ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile 'd:\SrBachchan.csv' lrecl=30000 dsd dlm= ';' truncover encoding=WLATIN1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length x1-x20 $5099;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input x1-x20 ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 20:36:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190231#M35898</guid>
      <dc:creator>rajeshitboys</dc:creator>
      <dc:date>2014-10-19T20:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190232#M35899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is backwards. You need to start SAS using UTF-8 encoding instead of WLATIN1 encoding. Then you can read that file without errors because SAS will not try to translate characters from UTF-8 to WLATIN1.&amp;nbsp; The problem is that the file contains characters that do not have translations in WLATIN1 encoding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 22:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190232#M35899</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-10-19T22:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190233#M35900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it only was a translation issue then there shouldn't be a fatal error thrown. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 23:09:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190233#M35900</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-10-19T23:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190234#M35901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still I am getting the same error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile 'D:\Rajesh_sun\POCData\SrBachchan.csv' delimiter = ';' MISSOVER DSD lrecl=13106&lt;/P&gt;&lt;P&gt; firstobs=2 encoding="utf-8";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The infile 'D:\Rajesh_sun\POCData\SrBachchan.csv' is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename=D:\Rajesh_sun\POCData\SrBachchan.csv,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECFM=V,LRECL=52424,File Size (bytes)=3390532,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Modified=17Oct2014:21:42:06,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create Time=17Oct2014:21:51:09&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Invalid string.&lt;/P&gt;&lt;P&gt;FATAL: Unrecoverable I/O error detected in the execution of the DATA step program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aborted during the EXECUTION phase.&lt;/P&gt;&lt;P&gt;NOTE: 9 records were read from the infile 'D:\Rajesh_sun\POCData\SrBachchan.csv'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 72.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 364.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 10:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190234#M35901</guid>
      <dc:creator>rajeshitboys</dc:creator>
      <dc:date>2014-10-20T10:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190235#M35902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What Tom suggests is that you change your session encoding to UTF-8. That's something you need to do in the config file and it will affect all SAS sessions starting up with this config file. It also means that you can't use some of the character functions anymore and that you will need to use the ones for multi byte character sets (mbcs). This is documented in the NLS bits of the SAS documentation. &lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/nlsref/67399/HTML/default/viewer.htm#p18bboh5zrwqw5n1kkhonig4jpwq.htm" title="http://support.sas.com/documentation/cdl/en/nlsref/67399/HTML/default/viewer.htm#p18bboh5zrwqw5n1kkhonig4jpwq.htm"&gt;SAS(R) 9.4 National Language Support (NLS): Reference Guide, Third Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UTF-8 encodes characters with up to 4 bytes which allows for a vast amount of different characters like the ones used in the Chinese alphabet. Most people use single byte character sets (sbcs). WLATIN1 is a common sbcs code page for the English Language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naturally MBCS can't map 1:1 into SBCS as there are many more different characters possible in MBCS. UTF-8 is the "standard" Internet encoding. But even with UTF-8 the standard letters and numbers of the English alphabet use only 1 byte so here a 1:1 mapping into a single byte code page like WLATIN1 is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I installed SAS on my laptop I didn't tick the box for "multibyte" and so these modules haven't been installed on my machine. When I tried to set UTF-8 as encoding in my config file I've got a Kernel error when starting SAS. That is o.k. with me as I actually haven't installed these bits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I would expect SAS to behave when reading a UTF-8 encoded source using a single byte SAS session encoding is to map single byte encoded characters in UTF-8 to single bytes in my session - and to throw a warning for all multi byte characters saying something like "WARNING: A character that could not be transcoded has been replaced in record xxx." And then map these bytes one:one resulting in some garbage characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I consider to be a defect is what you're observing: SAS aborting with a fatal Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you open a ticket with SAS Tech Support. &lt;A class="active_link" href="http://support.sas.com/techsup/contact/" title="http://support.sas.com/techsup/contact/"&gt;Contact SAS Institute Technical Support &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you decide to do so: Please let us know in this track what the outcome was.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Notepad++ (download it if you don't have it. It's a really helpful tool) I can see that your .csv is encoded as UTF-8 with a BOM. A BOM is a sequence of a few Bytes at the very beginning of a file. It's nothing you can see when opening the file (unless you look at it with a HEX editor - you can get this as a Notepad++ plugin) BUT: Software like SAS detects this BOM and therefore knows that the file is UTF-8 encoded. That's why SAS complains if you set 'ENCODING="WLATIN1" in your INFILE statement. SAS wants to use UTF-8. That's also why setting ENCODING='UTF-8' in the INFILE statement doesn't help you. that's what SAS already uses and where the issue occurs. The only thing which would help here according to Tom's testing is to set the SAS session encoding to UTF-8. I consider this to be a bit "extreme".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that when using the ZIP engine - that's what Tom did in his first post - SAS ignores the BOM and just uses the session encoding. So if this is something like WLATIN1 for you then things seem to work (you still will get "garbage" for multi byte encoded characters though). Another work around for a once-off tasks and if you're only interested in "standard English letters and number" is to open the source file with Notepad++, switch under menu "Encoding" to "UTF-8 without BOM", save the file and then use in the INFILE statement ENCODING="WLATIN1" (or whatever code page you like). Now - without BOM - SAS won't complain anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What also worked for me: Use in SAS EG the IMPORT Wizard. It took forever and I first thought EG crashed as it was unresponsive for a while - but with a little bit of patience EG 6.1 went over the scanning step and I was able to import the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 10:55:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190235#M35902</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-10-20T10:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190236#M35903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UTF-8 is used at a lot places. Internet office all are utf-8 based. There are some other Unicode encodings around as several utf-16 versions.&lt;/P&gt;&lt;P&gt;A standard installation of SAS supporting all languages will have dedicated startups for lantin1 en and one for utf8.&amp;nbsp; It are the old sas programmers that are missing this changing world of encodings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That bom notification is an important one. It just is telling you you are having an encoding file and utf-8 is assumed to be the one, may be it is a utf-16 one.&lt;/P&gt;&lt;P&gt;You can open the file with notepad++ it will detect some things of those.&amp;nbsp; The complete free formatted text could indicate getting problems using default input statements That is the next attention point.&amp;nbsp; &lt;BR /&gt;The quoted strings possible having quotes or other chars. &lt;A href="http://support.sas.com/documentation/cdl/en/leforinforref/64790/HTML/default/viewer.htm#p1vxhutnfa9d5xn1mft81oadyg9b.htm" title="http://support.sas.com/documentation/cdl/en/leforinforref/64790/HTML/default/viewer.htm#p1vxhutnfa9d5xn1mft81oadyg9b.htm"&gt;SAS(R) 9.4 Formats and Informats: Reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;At line 11 there is a strange one, not able to interpreted at an earliers place dots are shown. It is utf8 encoded, you can read it with excel (utf8)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Please tackle issue for issue understanding them while solving. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 12:15:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190236#M35903</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-20T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190237#M35904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this question and the great help that followed. I'm moving this post to the Macros community so others might see it, too. Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 13:18:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190237#M35904</guid>
      <dc:creator>Community_Help</dc:creator>
      <dc:date>2014-10-20T13:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190238#M35905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 13:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190238#M35905</guid>
      <dc:creator>rajeshitboys</dc:creator>
      <dc:date>2014-10-20T13:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190239#M35906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, Its a social media data. So we can't predict where these type of symbols will appear. And we cant able to resolve in manual process. There is 100's of symbols available in Social media's like facebook, twitter, tumblr etc.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Its really impossible to run Excel macro to scan and replace in Excel itself. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 13:52:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190239#M35906</guid>
      <dc:creator>rajeshitboys</dc:creator>
      <dc:date>2014-10-20T13:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190240#M35907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rajeshitboys&amp;nbsp;&amp;nbsp; I took you sample dataset and ahs run that with your code using the UE. That one us running sas in utf8 mode.&lt;/P&gt;&lt;P&gt;There ere no errors generated all records are read. Hindi characters and smileys are shown while viewing that dataset.&lt;/P&gt;&lt;P&gt;To achieve this you could run the u8 version on Windows when you have installed that. There will be a dedicated directory for starting that u8 or en version somewhere (just review the installation dir) .&lt;/P&gt;&lt;P&gt;As the source is social media (all are using utf8) his approach looks me valid. I know it is a new one for most SAS people.&lt;/P&gt;&lt;P&gt;You can run those sas versions latin1 and utf8 side by side on the same machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is however an other issue with the data. We should not use the cr/lf while reading the data as record separator. Some/several of those&amp;nbsp; free text posting are also having those chars (yes they are just chars).&amp;nbsp; As SAS input processing is not aware of that It breaks is at those lines. Also notepad++ is doing that.&amp;nbsp; I do not know which program method you used to retrieve that data.&lt;/P&gt;&lt;P&gt;Is it possible to use the string:&amp;nbsp; cr-lf-"1";&amp;nbsp;&amp;nbsp;&amp;nbsp; as record-separator? When you are really using Unix it would be:&amp;nbsp; lf-"1";&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://en.wikipedia.org/wiki/Newline" title="http://en.wikipedia.org/wiki/Newline"&gt;Newline - Wikipedia, the free encyclopedia&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 19:18:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190240#M35907</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-20T19:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190241#M35908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="2342" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; - Is it a "Macro community" question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 23:37:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190241#M35908</guid>
      <dc:creator>AndrewHowell</dc:creator>
      <dc:date>2014-10-20T23:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190242#M35909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our SAS system also runs in utf8 mode and we do have SAS in Windows server. Could you please share the code, Its really helpful for me.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting this. "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;. here will be a dedicated directory for starting that somewhere." If you elaborate it would be grateful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajesh Sundarraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:06:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190242#M35909</guid>
      <dc:creator>rajeshitboys</dc:creator>
      <dc:date>2014-10-21T10:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190243#M35910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did is what I have run:&lt;/P&gt;&lt;P&gt;The recoding of format/informat is just a matter of taste. the id Changed to length of 8 (may be needing more), looks to be a counter. It should be equal to the recordnumber in that case.&lt;/P&gt;&lt;P&gt;The last field is hat text field possible getting split up. Back-joined that one again as stopping at the first next good record. Count=10000 for that &lt;/P&gt;&lt;P&gt;Having lengths predefined they will get truncated when the real value is longer (no warning).&amp;nbsp; &lt;/P&gt;&lt;P&gt;The input statement is having a truncover and endfile option. (not reading after last record).&lt;/P&gt;&lt;P&gt;Did not get my fingers on that 0d0a could be get hidden. The adjusted variables are having quotes around them. At the others those quotes are removed.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#n0lrz3gb7m9e4rn137op544ddg0v.htm" title="http://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#n0lrz3gb7m9e4rn137op544ddg0v.htm"&gt;SAS(R) 9.4 Statements: Reference, Third Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="sasSource"&gt; 44&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename test "/folders/myfolders/test";&lt;/P&gt;&lt;P class="sasSource"&gt; 45&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename macro "/folders/myfolders/macro";&lt;/P&gt;&lt;P class="sasSource"&gt; 46&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P class="sasSource"&gt; 47&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename work "%sysfunc(pathname(work))";&lt;/P&gt;&lt;P class="sasSource"&gt; 48&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename tmp&amp;nbsp; "/tmp" ;&lt;/P&gt;&lt;P class="sasSource"&gt; 49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P class="sasSource"&gt; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P class="sasSource"&gt;&lt;SPAN&gt; 51&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* &lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="31" data-containertype="14" data-objectid="62151" data-objecttype="1" href="https://communities.sas.com/thread/62151"&gt;https://communities.sas.com/thread/62151&lt;/A&gt;&lt;SPAN&gt; */&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="sasSource"&gt; 52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P class="sasSource"&gt; 53&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let _EFIERR_ = 0; /* set the ERROR detection macro variable */&lt;/P&gt;&lt;P class="sasSource"&gt; 54&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data WORK.Test&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P class="sasSource"&gt; 55&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile test("SrBachchan.txt") delimiter = ';' truncOVER DSD lrecl=32767 firstobs=2 end=endfil;&lt;/P&gt;&lt;P class="sasSource"&gt; 56&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; informat level $3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id $8.&lt;/P&gt;&lt;P class="sasSource"&gt; 57&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; parent_id $3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object_id $20.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object_type $6.&lt;/P&gt;&lt;P class="sasSource"&gt; 58&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; query_status $15.&amp;nbsp; query_time $28.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query_type $23.&lt;/P&gt;&lt;P class="sasSource"&gt; 59&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; created_at $32.&amp;nbsp;&amp;nbsp;&amp;nbsp; user_screen_name $17. favorite_count $3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; retweet_count $4.&lt;/P&gt;&lt;P class="sasSource"&gt; 60&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; entities_hashtags___text $12.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entities_user_mentions___name $43.&amp;nbsp; entities_urls___display_url $2.&lt;/P&gt;&lt;P class="sasSource"&gt; 61&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; in_reply_to_user_id $11.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in_reply_to_screen_name $12.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in_reply_to_status_id $2.&lt;/P&gt;&lt;P class="sasSource"&gt; 62&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; text $142.&lt;/P&gt;&lt;P class="sasSource"&gt; 63&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P class="sasSource"&gt; 64&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format level $3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id $8.&lt;/P&gt;&lt;P class="sasSource"&gt; 65&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; parent_id $3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object_id $20.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object_type $6.&lt;/P&gt;&lt;P class="sasSource"&gt; 66&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; query_status $15.&amp;nbsp; query_time $28.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query_type $23.&lt;/P&gt;&lt;P class="sasSource"&gt; 67&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; created_at $32.&amp;nbsp;&amp;nbsp;&amp;nbsp; user_screen_name $17. favorite_count $3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; retweet_count $4.&lt;/P&gt;&lt;P class="sasSource"&gt; 68&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; entities_hashtags___text $12.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entities_user_mentions___name $43.&amp;nbsp; entities_urls___display_url $2.&lt;/P&gt;&lt;P class="sasSource"&gt; 69&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; in_reply_to_user_id $11.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in_reply_to_screen_name $12.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in_reply_to_status_id $2.&lt;/P&gt;&lt;P class="sasSource"&gt; 70&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; text $142.&lt;/P&gt;&lt;P class="sasSource"&gt; 71&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P class="sasSource"&gt; 72&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input&lt;/P&gt;&lt;P class="sasSource"&gt; 73&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; level&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; id&lt;/P&gt;&lt;P class="sasSource"&gt; 74&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; parent_id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object_id&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; object_type&lt;/P&gt;&lt;P class="sasSource"&gt; 75&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; query_status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query_time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query_type&lt;/P&gt;&lt;P class="sasSource"&gt; 76&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; created_at&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user_screen_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; favorite_count&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; retweet_count&lt;/P&gt;&lt;P class="sasSource"&gt; 77&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; entities_hashtags___text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entities_user_mentions___name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entities_urls___display_url&lt;/P&gt;&lt;P class="sasSource"&gt; 78&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; in_reply_to_user_id&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; in_reply_to_screen_name&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; in_reply_to_status_id&lt;/P&gt;&lt;P class="sasSource"&gt; 79&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; text&lt;/P&gt;&lt;P class="sasSource"&gt; 80&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; ;&lt;/P&gt;&lt;P class="sasSource"&gt; 81&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _ERROR_ then call symputx('_EFIERR_',1);&amp;nbsp; /* set ERROR detection macro variable */&lt;/P&gt;&lt;P class="sasSource"&gt; 82&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (not endfil) then do;&lt;/P&gt;&lt;P class="sasSource"&gt; 83&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; input @@;&lt;/P&gt;&lt;P class="sasSource"&gt; 84&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; Do while ( _infile_ not =: '"1";' ) ;&lt;/P&gt;&lt;P class="sasSource"&gt; 85&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; text=trim(text) || '0D0A'x ||&amp;nbsp; trim(_infile_);&lt;/P&gt;&lt;P class="sasSource"&gt; 86&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; input / @@;&lt;/P&gt;&lt;P class="sasSource"&gt; 87&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; end;&lt;/P&gt;&lt;P class="sasSource"&gt; 88&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P class="sasSource"&gt; 89&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P class="sasSource"&gt; 90&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote2_1413892027397"&gt; NOTE: The infile library TEST is:&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Directory=/folders/myfolders/test,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Owner Name=root,Group Name=root,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Access Permission=drwxrwxrwx,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Modified=20 oktober 2014 14:58:17 uur&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote3_1413892027397"&gt; NOTE: The infile TEST("SrBachchan.txt") is:&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename=/folders/myfolders/test/SrBachchan.txt,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Owner Name=root,Group Name=root,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Access Permission=-rwxrwxrwx,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Modified=20 oktober 2014 09:13:10 uur,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File Size (bytes)=3390532&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote4_1413892027397"&gt; NOTE: A total of 11795 records were read from the infile library TEST.&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 0.&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 590.&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote5_1413892027397"&gt; NOTE: 11795 records were read from the infile TEST("SrBachchan.txt").&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 0.&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 590.&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote6_1413892027397"&gt; NOTE: The data set WORK.TEST has 10000 observations and 19 variables.&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote7_1413892027397"&gt; NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.07 seconds&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.08 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 11:49:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190243#M35910</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-21T11:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190244#M35911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there - I am not 100% sure - if there is a better community I'm happy to move. Thanks.. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 14:56:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190244#M35911</guid>
      <dc:creator>Community_Help</dc:creator>
      <dc:date>2014-10-21T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid string Error while importing a file which contains smiley symbols</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190245#M35912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i Convert my file as unicode or txt file then i have no issues to import those. But the problem is, I cannot able to do one by one and I am creating an Automation process for the data flow. So Its really difficult to convert the file one by one. Is there any other way to approach this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 15:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-string-Error-while-importing-a-file-which-contains/m-p/190245#M35912</guid>
      <dc:creator>rajeshitboys</dc:creator>
      <dc:date>2014-10-21T15:33:21Z</dc:date>
    </item>
  </channel>
</rss>

