<?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: Infile cut off records in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Infile-cut-off-records/m-p/232771#M42435</link>
    <description>&lt;P&gt;What do the notes from the data step you ran say? &amp;nbsp;Does it indicate that some lines were truncated?&lt;/P&gt;
&lt;P&gt;What operating system are you running SAS on? &amp;nbsp;Windows used to interpret a specific character as an end of file marker. &amp;nbsp;You could try adding the IGNOREDOSEOF option to the INFILE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="xis-argument"&gt;IGNOREDOSEOF&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;is used in the context of &lt;SPAN class="xis-nobr"&gt;I/O&lt;/SPAN&gt; operations on variable record format files. When this option is specified, any occurrence of ^Z is interpreted as character data and not as an end-of-file marker.&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 02 Nov 2015 17:19:08 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2015-11-02T17:19:08Z</dc:date>
    <item>
      <title>Infile cut off records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infile-cut-off-records/m-p/232768#M42433</link>
      <description>&lt;P&gt;I'm trying create a large sas log into a sas dataset via infile statement. &amp;nbsp;When I read in the file, it ends at 826 records, when the log contains many more records. &amp;nbsp;The code I am using is as follows: &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data file;&lt;BR /&gt; infile "[program location].log" dsd dlm='09'x truncover ;&lt;BR /&gt; input line $200.;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why would this get cut off? &amp;nbsp;Is there anything I can change to the code to make it read in all records from the log? My only thought is that there seems to be an arrow&amp;nbsp;in the log where there was a " &amp;gt; " in the program. &amp;nbsp;Could this make the infile end prematurely? And is there a way to ignore strange characters like this, that were printed to the log?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Amanda&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12048i30D5EEC3BE81891D/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;</description>
      <pubDate>Mon, 02 Nov 2015 16:51:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infile-cut-off-records/m-p/232768#M42433</guid>
      <dc:creator>aplaisted</dc:creator>
      <dc:date>2015-11-02T16:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Infile cut off records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infile-cut-off-records/m-p/232770#M42434</link>
      <description>&lt;P&gt;Would you be able to attach the log file?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 17:17:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infile-cut-off-records/m-p/232770#M42434</guid>
      <dc:creator>kannand</dc:creator>
      <dc:date>2015-11-02T17:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Infile cut off records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infile-cut-off-records/m-p/232771#M42435</link>
      <description>&lt;P&gt;What do the notes from the data step you ran say? &amp;nbsp;Does it indicate that some lines were truncated?&lt;/P&gt;
&lt;P&gt;What operating system are you running SAS on? &amp;nbsp;Windows used to interpret a specific character as an end of file marker. &amp;nbsp;You could try adding the IGNOREDOSEOF option to the INFILE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="xis-argument"&gt;IGNOREDOSEOF&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;is used in the context of &lt;SPAN class="xis-nobr"&gt;I/O&lt;/SPAN&gt; operations on variable record format files. When this option is specified, any occurrence of ^Z is interpreted as character data and not as an end-of-file marker.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 Nov 2015 17:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infile-cut-off-records/m-p/232771#M42435</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-11-02T17:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Infile cut off records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infile-cut-off-records/m-p/232773#M42436</link>
      <description>&lt;P&gt;This fixed the issue! &amp;nbsp;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 17:45:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infile-cut-off-records/m-p/232773#M42436</guid>
      <dc:creator>aplaisted</dc:creator>
      <dc:date>2015-11-02T17:45:33Z</dc:date>
    </item>
  </channel>
</rss>

