<?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: Challenge Practice: Importing Data with a Specific Delimiter in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Challenge-Practice-Importing-Data-with-a-Specific-Delimiter/m-p/524405#M142604</link>
    <description>&lt;P&gt;HI:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It looks like you are working in the Programming 1 e-learning course. In the code you posted, it looks like your quotes are balanced -- in this step. However, my guess is that if you save this program (without the curly braces { }) and close your SAS session, then open SAS back up, you'll find the unbalanced quotes have been cleared. Typically, an error message about unbalanced quotes such as you show happens when a PREVIOUS step had unbalanced quotes and you didn't catch it in time to correct them. The unbalanced quotes from a previous step can impact a new step if you're not careful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here's what the correct code should look like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="epg194_read_np_traffic_dat.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25972i8AC2A7724DEFBB26/image-size/large?v=v2&amp;amp;px=999" role="button" title="epg194_read_np_traffic_dat.png" alt="epg194_read_np_traffic_dat.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The guessingrows was set to 3000 to be sure that the entire raw data file was used to set the variable's type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe there is a lecture in the e-learning course about debugging issues like unbalanced quotes. You may want to find it and re-watch the videos.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jan 2019 22:45:15 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-01-03T22:45:15Z</dc:date>
    <item>
      <title>Challenge Practice: Importing Data with a Specific Delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Challenge-Practice-Importing-Data-with-a-Specific-Delimiter/m-p/524396#M142601</link>
      <description>&lt;P&gt;I am having an issue with my code its not running and this is the result from my log;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;{proc import datafile="C:\Users\Adewumi\Documents\EPG194\data\np_traffic.dat"&lt;BR /&gt;dbms=dlm&lt;BR /&gt;out=traffic2&lt;BR /&gt;replace;&lt;BR /&gt;guessingrows=200;&lt;BR /&gt;delimiter="|";&lt;BR /&gt;run;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;log;&lt;/P&gt;&lt;P&gt;{NOTE: &lt;STRONG&gt;The quoted string currently being processed has become more than 262 characters long.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;You might have unbalanced quotation marks.&lt;/STRONG&gt;&lt;BR /&gt;400 proc import datafile= "C:\Users\Adewumi\Documents\EPG194\data\np_traffic.dat"&lt;BR /&gt;400! DBMS= dlm&lt;BR /&gt;401 out= traffic2 replace ;&lt;BR /&gt;402 guessingrows=3000;&lt;BR /&gt;403 delimiter= "|";&lt;BR /&gt;404 run;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i fix this;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 22:15:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Challenge-Practice-Importing-Data-with-a-Specific-Delimiter/m-p/524396#M142601</guid>
      <dc:creator>CathyVI</dc:creator>
      <dc:date>2019-01-03T22:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge Practice: Importing Data with a Specific Delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Challenge-Practice-Importing-Data-with-a-Specific-Delimiter/m-p/524405#M142604</link>
      <description>&lt;P&gt;HI:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It looks like you are working in the Programming 1 e-learning course. In the code you posted, it looks like your quotes are balanced -- in this step. However, my guess is that if you save this program (without the curly braces { }) and close your SAS session, then open SAS back up, you'll find the unbalanced quotes have been cleared. Typically, an error message about unbalanced quotes such as you show happens when a PREVIOUS step had unbalanced quotes and you didn't catch it in time to correct them. The unbalanced quotes from a previous step can impact a new step if you're not careful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here's what the correct code should look like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="epg194_read_np_traffic_dat.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25972i8AC2A7724DEFBB26/image-size/large?v=v2&amp;amp;px=999" role="button" title="epg194_read_np_traffic_dat.png" alt="epg194_read_np_traffic_dat.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The guessingrows was set to 3000 to be sure that the entire raw data file was used to set the variable's type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe there is a lecture in the e-learning course about debugging issues like unbalanced quotes. You may want to find it and re-watch the videos.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 22:45:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Challenge-Practice-Importing-Data-with-a-Specific-Delimiter/m-p/524405#M142604</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-01-03T22:45:15Z</dc:date>
    </item>
  </channel>
</rss>

