<?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 Reading external file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11595#M1404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See "reading delimited data" in &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000146932.htm"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000146932.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The DSD option addresses consecutive delimiters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2011 16:01:54 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2011-12-09T16:01:54Z</dc:date>
    <item>
      <title>Reading external file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11592#M1401</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 need to read an external file with the following specific. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first filed is a date in the format MM/DD/YYYY HH:MM:SS, then we have a character field of variable lenght and then we have a number. The number should have decimal digits and not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The separator is ";"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;11/30/2011&amp;nbsp; 0.30.50;XXX;100.45&lt;/P&gt;&lt;P&gt;12/01/2011&amp;nbsp; 12.00.40;YYYY;98&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried with mmddyyyy, anydtdtm and some other stuffs like this but nothing is working. Also trying to read the number Im getting problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry but I'm new with SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion will be very appreciate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 15:19:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11592#M1401</guid>
      <dc:creator>garag</dc:creator>
      <dc:date>2011-12-09T15:19:35Z</dc:date>
    </item>
    <item>
      <title>Reading external file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11593#M1402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This code worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA one;&lt;/P&gt;&lt;P&gt;infile 'c:\temp\mydata.txt' dlm=';';&lt;/P&gt;&lt;P&gt;INFORMAT dt1 anydtdtm. txt1 $8. num1 best12.;&lt;/P&gt;&lt;P&gt;FORMAT Dt1 datetime21.;&lt;/P&gt;&lt;P&gt;INPUT dt1 txt1 num1;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data are also easy to bring in using Enterprise Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 15:34:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11593#M1402</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-12-09T15:34:38Z</dc:date>
    </item>
    <item>
      <title>Reading external file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11594#M1403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi &lt;SPAN class="replyToName"&gt;&lt;A href="mailto:Doc@Duke"&gt;Doc@Duke&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;many thanks for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;It's work but I forget to specify another option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;If the XXX or YYY are missing, I mean if I have a row like this, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;11/30/2011&amp;nbsp; 0.30.50;;100.45&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;it should be continue to work saving a missing value on the second variable of the dataset for that observation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Right now it shift the values to left.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;I've tried with the attribute missover but it does not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Do you have any idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 15:55:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11594#M1403</guid>
      <dc:creator>garag</dc:creator>
      <dc:date>2011-12-09T15:55:29Z</dc:date>
    </item>
    <item>
      <title>Reading external file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11595#M1404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See "reading delimited data" in &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000146932.htm"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000146932.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The DSD option addresses consecutive delimiters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 16:01:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11595#M1404</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-12-09T16:01:54Z</dc:date>
    </item>
    <item>
      <title>Reading external file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11596#M1405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The option DSD was necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works perfectly now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 16:15:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-external-file/m-p/11596#M1405</guid>
      <dc:creator>garag</dc:creator>
      <dc:date>2011-12-09T16:15:57Z</dc:date>
    </item>
  </channel>
</rss>

