<?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 mutiple txt file, where should i put remove code to remove unwanted row or blank row in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388733#M93228</link>
    <description>&lt;P&gt;Hi Shmuel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace&amp;nbsp;&lt;SPAN&gt;MISSOVER option with TRUNCOVER option but same problem happen. Only 4 records output and read 1 txt file only,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Summary log same message got LOST CARD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 10:24:35 GMT</pubDate>
    <dc:creator>sagulolo</dc:creator>
    <dc:date>2017-08-17T10:24:35Z</dc:date>
    <item>
      <title>infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388394#M93153</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a infile code that work for 1 txt file, recently want to enhance it to infile more than 1 txt file into 1 dataset. Code can proceeded and i'm facing difficulty to slot in 1 programming command(to delete empty and unwanted row) as&amp;nbsp;result shown 1st record read and then it jump to 2nd txt file, instead of contnue till end of the 1st txt file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my code as below:-&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=" language-sas"&gt;filename fn pipe 'dir C:\Users\Desktop\testing\*.txt /s /b';

data new;
infile fn;
input name:&amp;amp;$100.;

infile in filevar=name end=last firstobs=11 missover dsd ;

retain Grp_AC    No	Batch_no	TRX_CODE   Amount	Block_Code ; 

format Grp_AC $char11.
	   Batch_no $char14.
	   Block_Code $char4.
	   No $char16.
	   TRX_CODE $char3.;

do while(not last);

Input  Grp_AC $ 1-24 @;
file_name = scan( scan( name, -1, '\' ), 1, '.' );

input    Grp_AC $ 1-24    No $ 31-48  Batch_no $  52-66   TRX_CODE $ 72-76  @86   Amount  trailsgn16. Block_Code  $ 110-113 ;

output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;wanna to insert code below:-&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=" language-sas"&gt;if Grp_AC = 'Grp A' or Grp_AC = '' or Grp_AC = 'OVER' or Grp_AC = 'Total Count'  then delete;&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;Thank in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 09:39:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388394#M93153</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-08-16T09:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388396#M93154</link>
      <description>&lt;P&gt;Assuming all input text files have the same format and should be treated the same&lt;/P&gt;
&lt;P&gt;enter your code - dealing with the variables just read - just before the OUTPUT statement.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 10:15:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388396#M93154</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-16T10:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388400#M93155</link>
      <description>&lt;P&gt;Hi Shmuel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did try below, but it only read 1 record from each txt file. Think the delete stop the current process and went to next txt file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename fn pipe 'dir C:\Users\Desktop\testing\*.txt /s /b';

data new;
infile fn;
input name:&amp;amp;$100.;

infile in filevar=name end=last firstobs=11 missover dsd ;

retain Grp_AC    No	Batch_no	TRX_CODE   Amount	Block_Code ; 

format Grp_AC $char11.
	   Batch_no $char14.
	   Block_Code $char4.
	   No $char16.
	   TRX_CODE $char3.;

do while(not last);

Input  Grp_AC $ 1-24 @;
file_name = scan( scan( name, -1, '\' ), 1, '.' );

if Grp_AC = 'Grp A' or Grp_AC = '' or Grp_AC = 'OVER' or Grp_AC = 'Total Count'  then delete;

input    Grp_AC $ 1-24    No $ 31-48  Batch_no $  52-66   TRX_CODE $ 72-76  @86   Amount  trailsgn16. Block_Code  $ 110-113 ;

output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Aug 2017 10:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388400#M93155</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-08-16T10:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388424#M93166</link>
      <description>&lt;P&gt;See an example here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use EOV on the INFILE to identify the first record.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-do-I-write-a-macro-to-import-multiple-text-files-that-have/ta-p/223627" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-do-I-write-a-macro-to-import-multiple-text-files-that-have/ta-p/223627&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 12:15:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388424#M93166</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-16T12:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388431#M93170</link>
      <description>&lt;P&gt;Try next code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename fn pipe 'dir C:\Users\Desktop\testing\*.txt /s /b';

data new;
infile fn  EOV=Done;  /*** Option EOD added ***/
input name:&amp;amp;$100.;

infile in filevar=name end=last firstobs=11 missover dsd ;

retain Grp_AC    No	Batch_no	TRX_CODE   Amount	Block_Code ; 

format Grp_AC $char11.
	   Batch_no $char14.
	   Block_Code $char4.
	   No $char16.
	   TRX_CODE $char3.;

do while(not last);

Input  Grp_AC $ 1-24 @;
file_name = scan( scan( name, -1, '\' ), 1, '.' );

input    Grp_AC $ 1-24    No $ 31-48  Batch_no $  52-66   TRX_CODE $ 72-76  @86   Amount  trailsgn16. Block_Code  $ 110-113 ;

/*** place of the if changed ***/
if Grp_AC = 'Grp A' or Grp_AC = '' or Grp_AC = 'OVER' or Grp_AC = 'Total Count'  then delete;


output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 12:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388431#M93170</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-16T12:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388443#M93174</link>
      <description>&lt;P&gt;You don't want to use the DELETE statement since that will end the data step iteration and start from the next file in the input list.&lt;/P&gt;
&lt;P&gt;So instead of&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if (condition) then delete;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You want to code&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if not (condition) then output;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So your program might look like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data new;
  infile 'dir C:\Users\Desktop\testing\*.txt /s /b' pipe truncover;
  length Grp_AC $11 No $16 Batch_no $14 
         TRX_CODE $3 Amount 8 Block_Code $4 
  ;
  input name $256. ;
  file_name = scan( scan( name, -1, '\' ), 1, '.' );
  infile in filevar=name end=last firstobs=11 truncover  ;
  do while (not last);
    input  Grp_AC $ 1-24 @;
    if  not (Grp_AC in ('Grp A' , ' ', 'OVER', 'Total Count') ) then do;
      input Grp_AC $ 1-24
            No $ 31-48
            Batch_no $  52-66   
            TRX_CODE $ 72-76  
            @86   Amount  trailsgn16. 
            Block_Code  $ 110-113 
      ;
      output;
    end;
  end;
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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 13:20:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388443#M93174</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-08-16T13:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388504#M93183</link>
      <description>&lt;P&gt;Reply number one:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A lot of managed SAS environments won't let you use the "X" statement, so here's an alternate, really easy way to get all of the datasets in a directory. You just need to add a bit of code to select only the ".txt" datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* Set the directory name to scan */&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; DirectoryName = C:\Users\Desktop\testing;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; DatasetsInADirectory;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;keep&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; DirectoryAndDataset;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;length&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; DatasetName DirectoryAndDataset $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1024&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; FileRef $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;8&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* Assign the fileref */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;call&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; missing(FileRef); &lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* Blank, so SAS will assign a file name */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt; rc1 = filename(FileRef, &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"&amp;amp;DirectoryName."&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;); &lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* Associate the file name with the directory */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; rc1 ^= &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;abort;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* Open the directory for access by SAS */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;DirectoryID = dopen(FileRef);&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; DirectoryID = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;abort;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* Get the count of directories and datasets */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;MemberCount = dnum(DirectoryID);&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; MemberCount = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;abort;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* Get all of the entry names ... directories and datasets */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;do&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; MemberIndex = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;to&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; MemberCount;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;DatasetName = dread(DirectoryID, MemberIndex);&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; missing(DatasetName) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;abort;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt; DirectoryAndDataset = cats(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"&amp;amp;DirectoryName."&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"/"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;,DatasetName);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* Close the directory */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;rc2 = dclose(DirectoryID);&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; rc2 ^= &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;abort;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 15:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388504#M93183</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2017-08-16T15:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388513#M93185</link>
      <description>&lt;P&gt;Reply number two&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ordinarily, I hesitate to recommend SAS macros to less-experienced users. But I also hate to see "do until" type processing of input datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So here's the simplest possible macro which will give you similar results. You'll notice it has the advantage that although there are more steps, each step is extremely simple, and stands alone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It uses the results of my first reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;%macro&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; GetTXTData(DsnToGet);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;data temp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt; infile &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"&amp;amp;DsnToGet."&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* You had additional infile options, which would go here */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt; Input Grp_AC $; &lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* Again, change as required */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* additional processing here */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;proc datasets lib=work nolist;&lt;/P&gt;
&lt;P&gt;append data=temp base=new;&lt;/P&gt;
&lt;P&gt;delete temp;&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;%mend&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;datasets&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;lib&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=work &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nolist&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;delete&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; new;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;_null_&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;length&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; SASMacroCall $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1024&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; DatasetsInADirectory;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt; SASMacroCall = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%nrstr&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(cats("%&lt;STRONG&gt;&lt;I&gt;GetTXTData&lt;/I&gt;&lt;/STRONG&gt;(", strip(DirectoryAndDataset), ");"));&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;call&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; execute(SASMacroCall);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 16:14:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388513#M93185</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2017-08-16T16:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388700#M93213</link>
      <description>&lt;P&gt;&lt;U&gt;Hi Reeza/shmuel,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank for the code and guidance, i actually have 4 txt file, try below:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename fn pipe 'dir C:\Users\Desktop\testing\*.txt /s /b';

data new;
infile fn  EOV=Done;  /*** Option EOD added ***/
input name:&amp;amp;$100.;

infile in filevar=name end=last firstobs=11 missover dsd ;

retain Grp_AC    No	Batch_no	TRX_CODE   Amount	Block_Code ; 

format Grp_AC $char11.
	   Batch_no $char14.
	   Block_Code $char4.
	   No $char16.
	   TRX_CODE $char3.;

do while(not last);

Input  Grp_AC $ 1-24 @;
file_name = scan( scan( name, -1, '\' ), 1, '.' );

input    Grp_AC $ 1-24    No $ 31-48  Batch_no $  52-66   TRX_CODE $ 72-76  @86   Amount  trailsgn16. Block_Code  $ 110-113 ;

/*** place of the if changed ***/
if Grp_AC = 'Grp A' or Grp_AC = '' or Grp_AC = 'OVER' or Grp_AC = 'Total Count'  then delete;


output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;only get total 4 record from 4 txt file.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 06:18:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388700#M93213</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-08-17T06:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388703#M93214</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try run the code and it take long time to process(1 hour waited) and&amp;nbsp;still running. I stop the code running and check the log, seem it stuck at 2nd record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data new;
  infile 'dir C:\Users\Desktop\testing\*.txt /s /b' pipe truncover;
  length Grp_AC $11 No $16 Batch_no $14 
         TRX_CODE $3 Amount 8 Block_Code $4 
  ;
  input name $256. ;
  file_name = scan( scan( name, -1, '\' ), 1, '.' );
  infile in filevar=name end=last firstobs=11 truncover  ;
  do while (not last);
    input  Grp_AC $ 1-24 @;
    if  not (Grp_AC in ('Grp A' , ' ', 'OVER', 'Total Count') ) then do;
      input Grp_AC $ 1-24
            No $ 31-48
            Batch_no $  52-66   
            TRX_CODE $ 72-76  
            @86   Amount  trailsgn16. 
            Block_Code  $ 110-113 
      ;
      output;
    end;
  end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14531i0C1EDFE2BCF412C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="log.png" alt="log.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 06:29:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388703#M93214</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-08-17T06:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388705#M93215</link>
      <description>&lt;P&gt;Would you try:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename fn pipe 'dir C:\Users\Desktop\testing\*.txt /s /b';

data new;
infile fn  EOV=Done;  
input name:&amp;amp;$100.;

infile in filevar=name end=last firstobs=11 missover dsd ;

retain Grp_AC    No	Batch_no	TRX_CODE   Amount	Block_Code ; 

format Grp_AC $char11.
	   Batch_no $char14.
	   Block_Code $char4.
	   No $char16.
	   TRX_CODE $char3.;

DO UNTIL (EOV);   /* line added */

do while(not last);

Input  Grp_AC $ 1-24 @;
file_name = scan( scan( name, -1, '\' ), 1, '.' );

input    Grp_AC $ 1-24    No $ 31-48  Batch_no $  52-66   TRX_CODE $ 72-76  @86   Amount  trailsgn16. Block_Code  $ 110-113 ;

/*** statement changed according to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;'s suggestion ***/
if  NOT (Grp_AC = 'Grp A' or Grp_AC = '' or Grp_AC = 'OVER' or Grp_AC = 'Total Count')&lt;BR /&gt;  then output;
end;&lt;BR /&gt;&lt;BR /&gt;last=0; /* reseting for next file */
END;    /* ending loop until eov */
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Aug 2017 07:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388705#M93215</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-17T07:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388706#M93216</link>
      <description>&lt;P&gt;Hi TomKari,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank for your code, tried the code and it actually import the data to SAS. Problem is how do I get rid of unwanted row like blank and header.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is those row I don't want:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grp_AC =&amp;nbsp;&lt;SPAN&gt;'Grp A'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Grp_AC = ''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Grp_AC = 'OVER'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Grp_AC = 'Total Count'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where should I insert those code, assume my code as below or any other alternative.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if Grp_AC = 'Grp A' or Grp_AC = '' or Grp_AC = 'OVER' or Grp_AC = 'Total Count' &amp;nbsp;then delete;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 07:06:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388706#M93216</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-08-17T07:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388707#M93217</link>
      <description>&lt;P&gt;Hi Shmuel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try the code it actually infile 1 txt file only, then it stop, won't proceed to other txt file. There another variable name "EOV" appear in dataset which this variable not exist in txt file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 07:20:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388707#M93217</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-08-17T07:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388708#M93218</link>
      <description>&lt;P&gt;1) have you got all rows from the first text file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) soory, I had a typo. I defined&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;infile fn  EOV=Done;  &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;therefore change &amp;nbsp;from: &amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;DO UNTIL &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;EOV&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;to&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;DO UNTIL &lt;SPAN class="token punctuation"&gt;(Done&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 07:40:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388708#M93218</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-17T07:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388710#M93219</link>
      <description>Hi Shmuel,&lt;BR /&gt;&lt;BR /&gt;Yes,I have all rows i wanted and EOV variable no more. Now how to import other txt file as now it only import 1 instead of 4 txt file.</description>
      <pubDate>Thu, 17 Aug 2017 07:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388710#M93219</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-08-17T07:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388715#M93220</link>
      <description>&lt;P&gt;I cannot simulate and run your code nor guess where is the problem.&lt;/P&gt;
&lt;P&gt;I believe it should read all 4 files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you reset&amp;nbsp;&lt;STRONG&gt;last=0;&amp;nbsp;&lt;/STRONG&gt; between &lt;STRONG&gt;end&lt;/STRONG&gt; of 'do until(last)' &amp;nbsp;and &lt;STRONG&gt;end&lt;/STRONG&gt; of &amp;nbsp;'do until(done)'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please post the full log running with &lt;STRONG&gt;options source;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 08:22:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388715#M93220</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-17T08:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388717#M93221</link>
      <description>&lt;P&gt;Hi Shmuel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologize for inconveniece caused, attached the 2 txt file and code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename fn pipe 'dir C:\Users\Desktop\testing\*.txt /s /b';

data new;
infile fn  EOV=Done;  
input name:&amp;amp;$100.;

infile in filevar=name end=last firstobs=11 missover dsd ;

retain Grp_AC  No	Batch_no	TRX_CODE   Amount	Block_Code ; 

format Grp_AC $char11.
	   Batch_no $char14.
	   Block_Code $char4.
	   No $char16.
	   TRX_CODE $char3.;

DO UNTIL (Done);    /* line added */

do while(not last);

Input Grp_AC $ 1-24 @;
file_name = scan( scan( name, -1, '\' ), 1, '.' );

input    Grp_AC $ 1-24    No $ 31-48  Batch_no $  52-66   TRX_CODE $ 72-76  @86   Amount  trailsgn16. Block_Code  $ 110-113 ;

/*** statement changed according to @Tom's suggestion ***/
if  NOT (Grp_AC = 'Grp A' or Grp_AC = '' or Grp_AC = 'OVER' or Grp_AC = 'Total Count')  then output;
end;last=0; /* reseting for next file */
END;    /* ending loop until eov */
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Aug 2017 08:57:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388717#M93221</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-08-17T08:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388719#M93222</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Shmuel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Attached the log summary(screenshot as well).&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LOG.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14532iB17DE9CCAF9EE08C/image-size/large?v=v2&amp;amp;px=999" role="button" title="LOG.png" alt="LOG.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 09:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388719#M93222</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-08-17T09:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388727#M93225</link>
      <description>&lt;P&gt;In your summary log the is a message of LOST CARD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One more try - replace the MISSOVER option with TRUNCOVER option&lt;/P&gt;
&lt;P&gt;with hope it will help, otherwise maybe someone else will be able to help.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:03:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388727#M93225</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-17T10:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: infile mutiple txt file, where should i put remove code to remove unwanted row or blank row</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388733#M93228</link>
      <description>&lt;P&gt;Hi Shmuel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace&amp;nbsp;&lt;SPAN&gt;MISSOVER option with TRUNCOVER option but same problem happen. Only 4 records output and read 1 txt file only,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Summary log same message got LOST CARD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:24:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-mutiple-txt-file-where-should-i-put-remove-code-to-remove/m-p/388733#M93228</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-08-17T10:24:35Z</dc:date>
    </item>
  </channel>
</rss>

