<?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: Import file with INFILE stops midway in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893034#M352763</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting problem. How did you determine the file has 3M records? Is there another method you can use to confirm the number of records in the file? Are you sure you're reading the same file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How many records are listed in the log as being input if you run the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  infile "&amp;amp;FILE_DIRECTORY.";
  input;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; kind regards,&lt;/P&gt;
&lt;P&gt;Amir.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2023 19:26:45 GMT</pubDate>
    <dc:creator>Amir</dc:creator>
    <dc:date>2023-09-06T19:26:45Z</dc:date>
    <item>
      <title>Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892949#M352715</link>
      <description>&lt;P&gt;I'm using SAS EG and trying to import a pipe separated file using the INFILE statement as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INFILE "&amp;amp;FILE_DIRECTORY."&lt;BR /&gt;LRECL=32767&lt;BR /&gt;ENCODING="WLATIN1"&lt;BR /&gt;TERMSTR=LF&lt;BR /&gt;DLM='|'&lt;BR /&gt;MISSOVER&lt;BR /&gt;FIRSTOBS=2&lt;BR /&gt;DSD ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the original file has 3M rows but only 1M are imported. I have tried adding the&amp;nbsp; IGNOREDOSEOF option but this isn't recognized by SAS and doesn't solve the problem. It is also worth mentioning that the row where the table "breaks" has "nothing special".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any sugestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I include the LOG below as suggested by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;1          ;*';*";*/;quit;run;
2          OPTIONS PAGENO=MIN;
3          %LET _CLIENTTASKLABEL='Program';
4          %LET _CLIENTPROCESSFLOWNAME='Program';
5          %LET _CLIENTPROJECTPATH='XXXX';
6          %LET _CLIENTPROJECTPATHHOST='XXXXX';
7          %LET _CLIENTPROJECTNAME='SAS.egp';
8          %LET _SASPROGRAMFILE='';
9          %LET _SASPROGRAMFILEHOST='';
10         
11         ODS _ALL_ CLOSE;
12         OPTIONS DEV=SVG;
13         GOPTIONS XPIXELS=0 YPIXELS=0;
14         %macro HTML5AccessibleGraphSupported;
15             %if %_SAS_VERCOMP_FV(9,4,4, 0,0,0) &amp;gt;= 0 %then ACCESSIBLE_GRAPH;
16         %mend;
17         FILENAME EGHTML TEMP;
18         ODS HTML5(ID=EGHTML) FILE=EGHTML
19             OPTIONS(BITMAP_MODE='INLINE')
20             %HTML5AccessibleGraphSupported
21             ENCODING='utf-8'
22             STYLE=HTMLBlue
23             NOGTITLE
24             NOGFOOTNOTE
25             GPATH=&amp;amp;sasworklocation
26         ;
NOTE: Writing HTML5(EGHTML) Body file: EGHTML
27         
28         
29         
30         %macro load_input_files_v2 ();
31         
32         	DATA WORK.table;
33         	    LENGTH
34         	        XXXX           8
35         	        XXXX          $ 3
36         	        XXXX          8;
42         	    FORMAT
43         	        XXXX         YYMMDD10.
44         	        XXXX          $CHAR3.
45         	        XXXX         BEST5.;
51         	    INFORMAT
52         	        XXXX         YYMMDD10.
53         	        XXXX          $CHAR3.
54         	        XXXX         BEST5. ;
60         		INFILE "&amp;amp;FILE_DIRECTORY."
61         	        LRECL=32767
62         	        ENCODING="WLATIN1"
63         	        TERMSTR=LF
64         	        DLM='|'
65         	        MISSOVER
66         		FIRSTOBS=2
67         	        DSD ;
68         	    INPUT
69         	        XXXX         : ?? YYMMDD8.
70         	        XXXX          : $CHAR3.
71         	        XXXX         : ?? BEST5.
72         	        XXXX         : ?? BEST21.;
77         	RUN;
       
83         
84         %mend;
85         
86         %load_input_files_v2();

NOTE: The infile "&amp;amp;FILE_DIRECTORY." is:
      Filename=YYYY.TXT,
      Owner Name=sastoken,Group Name=sasdata,
      Access Permission=-rw-rw-r--,
      Last Modified=16Aug2023:17:18:13,
      File Size (bytes)=66746379

NOTE: 1276289 records were read from the infile "&amp;amp;FILE_DIRECTORY."
      The minimum record length was 15.
      The maximum record length was 60.
NOTE: The data set WORK.TABLE has 1276289 observations and 4 variables.
NOTE: DATA statement used (Total process time):
      real time           1.08 seconds
      cpu time            1.08 seconds
      

87         
88         %LET _CLIENTTASKLABEL=;
89         %LET _CLIENTPROCESSFLOWNAME=;
90         %LET _CLIENTPROJECTPATH=;
91         %LET _CLIENTPROJECTPATHHOST=;
92         %LET _CLIENTPROJECTNAME=;
93         %LET _SASPROGRAMFILE=;
94         %LET _SASPROGRAMFILEHOST=;
95         
96         ;*';*";*/;quit;run;
97         ODS _ALL_ CLOSE;
3                                                          The SAS System                         12:25 Wednesday, September 6, 2023

98         
99         
100        QUIT; RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 18:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892949#M352715</guid>
      <dc:creator>Babado</dc:creator>
      <dc:date>2023-09-06T18:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892953#M352719</link>
      <description>&lt;P&gt;What does the LOG show? Copy the text from the log with the code submitted and all note, messages or warnings, on the forum open a text box and paste the text.&lt;/P&gt;
&lt;P&gt;A data step reading a text file also will include a note about the file name read and some characteristics. Include that as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A single line from a data step program is insufficient to answer almost any question about why a number of records is/isn't in the data set. You may have IF or OUTPUT statements that would reduce what is written to the output data set. Your INPUT statement might contain syntax that reads multiple lines of the source file into a single observation or one line of file into multiple observations.&lt;/P&gt;
&lt;P&gt;And those are very simple things that may have an impact on then number of observations without even looking at the contents of the source file.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 15:51:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892953#M352719</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-06T15:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892973#M352731</link>
      <description>&lt;P&gt;Have you &lt;A href="https://blogs.sas.com/content/sasdummy/2016/11/30/data-step-debugger-sas-eg/" target="_self"&gt;tried using the DATA step debugger in EG&lt;/A&gt; to see what happens near the record where processing stops?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 15:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892973#M352731</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2023-09-06T15:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892979#M352734</link>
      <description>Post updated.</description>
      <pubDate>Wed, 06 Sep 2023 15:58:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892979#M352734</guid>
      <dc:creator>Babado</dc:creator>
      <dc:date>2023-09-06T15:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892982#M352736</link>
      <description>&lt;P&gt;If you are sure the file should have more than&amp;nbsp;1,276,289 lines then perhaps it has a CONTROL-Z embedded in it that is causing SAS to stop reading at that point.&amp;nbsp; Try adding the &lt;STRONG&gt;IGNOREDOSEOF&lt;/STRONG&gt; option to the INFILE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;1399  filename xx temp;
1400  data _null_;
1401    file xx;
1402    put 'line one'
1403      / 'line two'
1404      / 'line three' '1A'x
1405      / 'line four'
1406    ;
1407  run;

NOTE: The file XX is:
      (system-specific pathname),
      (system-specific file attributes)

NOTE: 4 records were written to the file (system-specific pathname).
      The minimum record length was 8.
      The maximum record length was 11.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.01 seconds


1408
1409  data _null_;
1410   infile xx;
1411   input;
1412   list;
1413  run;

NOTE: The infile XX is:
      (system-specific pathname),
      (system-specific file attributes)

RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7
1         line one 8
2         line two 8
3         line three 10
NOTE: 3 records were read from the infile (system-specific pathname).
      The minimum record length was 8.
      The maximum record length was 10.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds


1414
1415  data _null_;
1416    infile xx ignoredoseof;
1417    input;
1418    list;
1419  run;

NOTE: The infile XX is:
      (system-specific pathname),
      (system-specific file attributes)

RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7
1         line one 8
2         line two 8

3   CHAR  line three. 11
    ZONE  66662767661
    NUMR  C9E5048255A
4         line four 9
NOTE: 4 records were read from the infile (system-specific pathname).
      The minimum record length was 8.
      The maximum record length was 11.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds


&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Sep 2023 16:25:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892982#M352736</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-09-06T16:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892991#M352742</link>
      <description>&lt;P&gt;How sure are you of the TERMSTR=LF? If the file actually contains CRLF you might get skipped lines when the OS reads the CR. The 1,276,289 in that case could be skipping half the lines for a line count of around 2,550,000. Which might be though of as "3m" lines in a rough round.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 17:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/892991#M352742</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-06T17:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893003#M352748</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;How sure are you of the TERMSTR=LF? If the file actually contains CRLF you might get skipped lines when the OS reads the CR. The 1,276,289 in that case could be skipping half the lines for a line count of around 2,550,000. Which might be though of as "3m" lines in a rough round.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That seems backwards.&amp;nbsp; If the actual lines end with CRLF and you tell SAS to only look for LF then the number of lines could not be less.&amp;nbsp; It could only be the same or more. It could detect more lines if some of the lines contained LF characters in the value of one of the character fields.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The effect of using TERMSTR=LF for file that is using CRLF to mark the end of the lines is that the CR at the end of the line will become the last character on the line. So it might cause trouble for the INPUT statement.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 17:36:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893003#M352748</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-09-06T17:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893008#M352752</link>
      <description>&lt;P&gt;I have tried to use&amp;nbsp;&lt;SPAN&gt;TERMSTR=CRLF and the output is null. Also removing the option&amp;nbsp;TERMSTR=LF outputs the same result (same number of lines).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 17:53:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893008#M352752</guid>
      <dc:creator>Babado</dc:creator>
      <dc:date>2023-09-06T17:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893013#M352756</link>
      <description>&lt;P&gt;Does the imported data look OK (e.g. look at the first ten lines of the file and compare them to the first ten observations of the dataset)?&lt;/P&gt;
&lt;P&gt;Does the premature end of the import always happen at the same spot?&lt;/P&gt;
&lt;P&gt;If the answer to both questions is "yes", open the file with a suitable text editor (e.g. Notepad++) and scroll down to the trouble spot to get a clue.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 18:19:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893013#M352756</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-09-06T18:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893016#M352758</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;How sure are you of the TERMSTR=LF? If the file actually contains CRLF you might get skipped lines when the OS reads the CR. The 1,276,289 in that case could be skipping half the lines for a line count of around 2,550,000. Which might be though of as "3m" lines in a rough round.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That seems backwards.&amp;nbsp; If the actual lines end with CRLF and you tell SAS to only look for LF then the number of lines could not be less.&amp;nbsp; It could only be the same or more. It could detect more lines if some of the lines contained LF characters in the value of one of the character fields.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The effect of using TERMSTR=LF for file that is using CRLF to mark the end of the lines is that the CR at the end of the line will become the last character on the line. So it might cause trouble for the INPUT statement.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's been a long time but I had a "file" that was actually a pipe that skipped lines because of an end of line issue and how the system treated it going through the pipe. Long shot but the OP has not actually defined the source well. The macro variable could hold all sorts of interesting stuff...&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 18:26:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893016#M352758</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-06T18:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893019#M352759</link>
      <description>&lt;P&gt;The data does look ok and I didn't find anything odd with the troubled spot.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 18:39:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893019#M352759</guid>
      <dc:creator>Babado</dc:creator>
      <dc:date>2023-09-06T18:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893024#M352760</link>
      <description>What makes you think the original file has 3 million rows? Is that from a DOS/Unix line command or from documentation?</description>
      <pubDate>Wed, 06 Sep 2023 19:00:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893024#M352760</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-09-06T19:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893034#M352763</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting problem. How did you determine the file has 3M records? Is there another method you can use to confirm the number of records in the file? Are you sure you're reading the same file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How many records are listed in the log as being input if you run the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  infile "&amp;amp;FILE_DIRECTORY.";
  input;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; kind regards,&lt;/P&gt;
&lt;P&gt;Amir.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 19:26:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893034#M352763</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2023-09-06T19:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893115#M352809</link>
      <description>&lt;P&gt;I'm sure the file has around 3M rows because I can open it on the notepad. Moreover, before I import it, it has 200MB, but after I import it, it only shows 60MB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After I run&lt;/P&gt;&lt;PRE class=""&gt;&lt;CODE&gt;data _null_;
  infile "&amp;amp;FILE_DIRECTORY.";
  input;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the LOG shows&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;NOTE: 1276290 records were read from the infile "&amp;amp;FILE_DIRECTORY.".
The minimum record length was 15.
The maximum record length was 74.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So it appears it is not reading everything.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 09:33:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893115#M352809</guid>
      <dc:creator>Babado</dc:creator>
      <dc:date>2023-09-07T09:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893132#M352821</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/399356"&gt;@Babado&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;... Moreover, before I import it, it has 200MB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not true. From your own log, as posted in the initial post:&lt;/P&gt;
&lt;PRE&gt;NOTE: The infile "&amp;amp;FILE_DIRECTORY." is:
      Filename=YYYY.TXT,
      Owner Name=sastoken,Group Name=sasdata,
      Access Permission=-rw-rw-r--,
      Last Modified=16Aug2023:17:18:13,
      File Size (bytes)=&lt;FONT color="#FF0000"&gt;66746379&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;So you can see that the file available to SAS is only ~60M in size, which corresponds with the later dataset size.&lt;/P&gt;
&lt;P&gt;I guess you had a problem uploading the file to the SAS server.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 10:51:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893132#M352821</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-09-07T10:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with INFILE stops midway</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893141#M352825</link>
      <description>Thanks. It turns out there was an error importing the table to the SAS server and only half of the table was imported.</description>
      <pubDate>Thu, 07 Sep 2023 11:39:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-INFILE-stops-midway/m-p/893141#M352825</guid>
      <dc:creator>Babado</dc:creator>
      <dc:date>2023-09-07T11:39:28Z</dc:date>
    </item>
  </channel>
</rss>

