<?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: Importing unstructured txt file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915880#M360839</link>
    <description>&lt;P&gt;The file you shared does not have any non 7bit ASCII characters. So it will NOT cause any transcoding errors.&lt;/P&gt;
&lt;PRE&gt;354  data _null_;
355    infile "C:\Users\xxx\Downloads\test (1).txt" expandtabs  ;
356    input;
357    if indexc(_infile_,collate(128,255));
358    list;
359  run;

NOTE: The infile "C:\Users\xxx\Downloads\test (1).txt" is:
      (system-specific pathname),
      (system-specific file attributes)

NOTE: 40 records were read from the infile (system-specific pathname).
      The minimum record length was 0.
      The maximum record length was 156.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 16:40:20 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2024-02-13T16:40:20Z</dc:date>
    <item>
      <title>Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915791#M360822</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to import a text file which is unstructured like header at the top and then column names.&lt;/P&gt;&lt;P&gt;i want the dataset with column names listed below&lt;/P&gt;&lt;P&gt;account no&lt;/P&gt;&lt;P&gt;in-date&lt;/P&gt;&lt;P&gt;in-Time&lt;/P&gt;&lt;P&gt;balance&lt;/P&gt;&lt;P&gt;type&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;ref&lt;/P&gt;&lt;P&gt;party&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;i have attached sample input file and also attached the desired output file as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly please help me on this&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 11:20:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915791#M360822</guid>
      <dc:creator>sg_kr</dc:creator>
      <dc:date>2024-02-13T11:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915800#M360826</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;option validvarname=any;  *Make sure variable name could contain blanks;
filename x 'c:\temp\test.txt' encoding='utf8' termstr=crlf;
data have;
infile x  dlm='09'x dsd truncover;
input @;
if anydigit(_infile_) ne 1 then delete;
input  ('account no'n  'in-date-time'n  balance	 type code_ref party)  (: $40.);
'in-date'n=scan(strip('in-date-time'n),1,' ','m');
'in-time'n=scan(strip('in-date-time'n),-1,' ','m');
code=scan(strip(code_ref),1,' ','m');
ref=scan(strip(code_ref),-1,' ','m');
drop 'in-date-time'n code_ref;
run;
data want;
retain 'account no'n  'in-date'n  'in-time'n  balance	 type code ref party;
set have;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Feb 2024 12:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915800#M360826</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-02-13T12:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915876#M360837</link>
      <description>&lt;P&gt;Thanks for your response!&lt;BR /&gt;&lt;BR /&gt;I tried to&lt;BR /&gt;Execute it but unfortunately i encountered an error like below&lt;BR /&gt;also there is an date column included inthe file as well&lt;BR /&gt;&lt;BR /&gt;An error occurred executing the workspace job "Sample Data".&lt;BR /&gt;Integration technologies failed to submit the code. [Error] Failed to transcode data from U_UTF8_CE to U_LATIN1_CE encoding because it contained characters which are not supported by your SAS session encoding. Please review your encoding= and locale= SAS system options to ensure that they can accommodate the data that you want to process. A portion of the source string, in hex representation is:&lt;BR /&gt;[None] 7305623f3a4: 3b 2a 27 3b 2a 22 3b 2a 2f 3b 71 75 69 74&lt;BR /&gt;3b 72 *:***/,quit;rl&lt;BR /&gt;[None] 7305623f3b4: 75 6e 3b 0d 0a 4f 50 54 49 4f 4e 53 20 50 41 47 |un;..OPTIONS PAGI&lt;BR /&gt;[Error] Some code points did not transcode.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 16:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915876#M360837</guid>
      <dc:creator>sg_kr</dc:creator>
      <dc:date>2024-02-13T16:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915879#M360838</link>
      <description>&lt;P&gt;Those HEX codes you showed are just normal characters, nothing that would cause transcoding issues.&amp;nbsp; In fact they just look like the string that SAS/Studio and/or Enterprise Guide sends after submitting your user written code in the hope of cleaning up any messes your code caused.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why are you reading the file as if it contained UTF-8 characters?&amp;nbsp; Are you sure it does contain UTF-8 characters?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LATIN1 is a single byte encoding so it can only represent 256 characters. There are thousands of UTF-8 characters (since it can use up to 4 bytes for a character) so not all of them can be transcoded to LATIN1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to be running SAS with ENCODING=UTF-8 instead of LATIN1 if you want to read non 7bit ASCII characters.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 16:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915879#M360838</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-13T16:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915880#M360839</link>
      <description>&lt;P&gt;The file you shared does not have any non 7bit ASCII characters. So it will NOT cause any transcoding errors.&lt;/P&gt;
&lt;PRE&gt;354  data _null_;
355    infile "C:\Users\xxx\Downloads\test (1).txt" expandtabs  ;
356    input;
357    if indexc(_infile_,collate(128,255));
358    list;
359  run;

NOTE: The infile "C:\Users\xxx\Downloads\test (1).txt" is:
      (system-specific pathname),
      (system-specific file attributes)

NOTE: 40 records were read from the infile (system-specific pathname).
      The minimum record length was 0.
      The maximum record length was 156.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 16:40:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915880#M360839</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-13T16:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915887#M360841</link>
      <description>&lt;P&gt;Does NOT look unstructured to me.&amp;nbsp; But it does look like someone accidentally opened it in an editor that replaces spaces with tab characters.&amp;nbsp; You can use the EXPANDTABS option of the INFILE statement to undo that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can LOOK at the actual file so the structure is clearer.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  infile "C:\Users\abernathyt\Downloads\test.txt" expandtabs ;
  input;
  list;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now you can see that the data is appearing in fixed column locations on the lines.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
1                                 Description AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
     101  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 137
2         assakndsklfdsfpsdskmcs'kfdskfnsd'vkmsdv;ls vlksnfdks'fjdsoifnsonvs;lnsohfsnskjfhso;fskfjslfks';fljsl
     101  kfjs;lfjslkfj;lksfjslkfjos;kufoeisocnds;ojvnoriecnwiocns 156
3         fhdsiupfhwfnsdpcmdwpofwecmsd'lkvnpsfmspcns[oijsncspncdsvnsnccd 62
4          0
5          0
6             account no          in-date   in-Time       balance  type   code       ref          party  94
7         *****************       *******   *******       ******* ******  ********   ******    ************* 98
8          0
9         0000000000001111        20230222  23:01:01      100.00- debit   Transfer   123456       00-1289-1234
     101  56-00 105
10                                           DR AMT:      100.00  CR AMT:            0.00  Net Amt:
     101      100.00- 111
11                                         32
12        0000000000001111        20230222  23:01:01      100.00-                                 00-1289-1234
     101  56-00 105
13        0000000000001111        20230222  23:01:01      100.00-                                 00-1289-1234
     101  46-04 105
14        0000000000001111        20230222  23:01:01      100.00-                                 00-1289-1234
     101  56-00 105
&lt;/PRE&gt;
&lt;P&gt;You just need to do a little work to see which lines to IGNORE.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  infile "C:\downloads\test.txt" expandtabs truncover firstobs=4;
  input account_no $20. @;
  if (account_no in (' ','account no','*****************') then delete;
  input @25 date yymmdd8. @35 time time8.
        @45 balance trailsgn11. type $ 56-63 code $ 65-74 ref $75-85 part $86-105 
  ;
  format date yymmdd10. time tod8.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Results&lt;/P&gt;
&lt;PRE&gt;OBS       account_no             date        time    balance    type       code       ref      part

  1    0000000000001111    2023-02-22    23:01:01      -100     debit    Transfer    123456    00-1289-123456-00
  2    0000000000001111    2023-02-22    23:01:01      -100                                    00-1289-123456-00
  3    0000000000001111    2023-02-22    23:01:01      -100                                    00-1289-123446-04
  4    0000000000001111    2023-02-22    23:01:01      -100                                    00-1289-123456-00
  5    0000000000001111    2023-02-22    23:01:01      -100                                    xxxx-xxxx
  6    0000000000001111    2023-02-22    23:01:01      -100     debit    Transfer    123456    00-1289-123456-00
  7    0000000000001111    2023-02-22    23:01:01      -100     debit    Transfer    123456    00-1289-123456-00
  8    0000000000001111    2023-02-22    23:01:01      -100     debit    Transfer    123456    00-1289-123456-00
  9    0000000000001111    2023-02-22    23:01:01      -100                                    00-1289-123456-00
 10    0000000000001111    2023-02-22    23:01:01      -100                                    00-1289-123446-04
 11    0000000000001111    2023-02-22    23:01:01      -100                                    00-1289-123456-00
 12    0000000000001111    2023-02-22    23:01:01      -100                                    xxxx-xxxx
 13    0000000000001111    2023-02-22    23:01:01      -100     debit    Transfer    123456    00-1289-123456-00
 14    0000000000001111    2023-02-22    23:01:01      -100     debit    Transfer    123456    00-1289-123456-00



&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Feb 2024 17:32:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915887#M360841</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-13T17:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915966#M360857</link>
      <description>As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt; said, you need to change your sas encoding to be UTF-8 , it has nothing to do with sas code.&lt;BR /&gt;&lt;BR /&gt;There are some characters in UTF-8 can not display in Latin1 encoding ,therefore you can not input these characters .</description>
      <pubDate>Wed, 14 Feb 2024 00:13:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915966#M360857</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-02-14T00:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915969#M360859</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;if you are using the test.txt updated by OP, your code would not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1707869897082.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93674i75A563376045A932/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1707869897082.png" alt="Ksharp_0-1707869897082.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 00:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915969#M360859</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-02-14T00:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915974#M360863</link>
      <description>&lt;P&gt;That file as two more variables.&amp;nbsp; Just adjust.&lt;/P&gt;
&lt;P&gt;It also has some minor inconsistency in the position of the fields.&amp;nbsp; Not sure what caused that, probably whatever changed the spaces into tabs. But there is&amp;nbsp; enough empty space around the moved fields to make the same method work.&amp;nbsp; Just increase the width of the informats used.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 01:51:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915974#M360863</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-14T01:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915980#M360867</link>
      <description>"It also has some minor inconsistency in the position of the fields. "&lt;BR /&gt;&lt;BR /&gt;Yes. That is reason why I could not use column input method.</description>
      <pubDate>Wed, 14 Feb 2024 02:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915980#M360867</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-02-14T02:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915983#M360870</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;"It also has some minor inconsistency in the position of the fields. "&lt;BR /&gt;&lt;BR /&gt;Yes. That is reason why I could not use column input method.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Plus the fact that COLUMN MODE input does not allow using special INFORMATs like YYMMDD or TIME or TRAILSGN that are needed for some of those values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You cannot use LIST MODE because the missing values and the delimiter are both represented by spaces.&lt;/P&gt;
&lt;P&gt;So that just leaves FORMATTED MODE for those variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  infile "C:\downloads\test (1).txt" expandtabs truncover firstobs=4;
/*
RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
1         0000000000001111        20230222 20230222  23:01:01     100.00- debit   Transfer   123456       00-1
     101  289-123456-00 113
2         0000000000001111        20230222  20230222  23:01:01    100.00-                                 00-1
     101  289-123456-00 113
*/
  input account_no $20. @;
  if not (account_no in (' ','account no','*****************'));
  input @25 date yymmdd8. @34 in_date yymmdd10. @44 in_time time10.
        @55 balance trailsgn9. type $ 65-72 code $ 73-82 ref $84-96 part $97-113
  ;
  format date in_date yymmdd10. in_time tod8.;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Feb 2024 02:34:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/915983#M360870</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-14T02:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917519#M361413</link>
      <description>&lt;P&gt;Thanks Tom for the resolution.&lt;/P&gt;
&lt;P&gt;Any chance , can we get the deleted items to another dataset . like test data should have all the account numbers data and&amp;nbsp; another dataset to have data which are deleted in the if statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if (account_no in (' ','account no','*****************') then delete;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when i use output, im able to get them but my test data is empty.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 03:33:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917519#M361413</guid>
      <dc:creator>sg_kr</dc:creator>
      <dc:date>2024-02-23T03:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917522#M361414</link>
      <description>&lt;P&gt;The lines with&amp;nbsp;'account no' or '*****************' in that position do not appear to me to have any other information.&amp;nbsp; Neither do the lines that are totally empty.&lt;/P&gt;
&lt;PRE&gt;6             account no          in-date   in-Time       balance  type   code       ref          party  94
7         *****************       *******   *******       ******* ******  ********   ******    ************* 98
8          0&lt;/PRE&gt;
&lt;P&gt;What information did you want to keep from the lines that are blank at the beginning and have stuff in other places.&amp;nbsp; What do those values mean?&lt;/P&gt;
&lt;PRE&gt;10                                           DR AMT:      100.00  CR AMT:            0.00  Net Amt:
     101      100.00- 111&lt;/PRE&gt;
&lt;P&gt;To me those just looked like sub-total lines, Can't you recreate them by adding up the values read from the actual data lines?&lt;/P&gt;
&lt;P&gt;If they are important then you will need to make another variable to RETAIN the account number read from the lines above since it is empty on those lines.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 04:25:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917522#M361414</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-23T04:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917524#M361416</link>
      <description>&lt;P&gt;absoultely agree!! those values doesnt have any sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but we need to check what all&amp;nbsp; the data we deleted and thats the reason we want them in another dataset&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you make clear on how to use retain here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank again!!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 04:35:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917524#M361416</guid>
      <dc:creator>sg_kr</dc:creator>
      <dc:date>2024-02-23T04:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917525#M361417</link>
      <description>&lt;P&gt;I don't understand.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What "DATA" did you delete?&lt;/P&gt;
&lt;P&gt;The DELETE statement just ends the data step iteration because it has determined the current line of the file has no data on it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 04:37:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917525#M361417</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-23T04:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917526#M361418</link>
      <description>&lt;P&gt;we deleted the data based on the if condition and we want those deleted data into another dataset&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 04:41:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917526#M361418</guid>
      <dc:creator>sg_kr</dc:creator>
      <dc:date>2024-02-23T04:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Importing unstructured txt file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917528#M361419</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/215304"&gt;@sg_kr&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;we deleted the data based on the if condition and we want those deleted data into another dataset&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What DATA????&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The program I showed was for reading a file into a dataset.&amp;nbsp; Before it ran there was no dataset. So there was not "data" to delete.&amp;nbsp; Only decisions to made about how to read the file.&amp;nbsp; Like ignoring skipping page numbers when reading a book.&amp;nbsp; or ignoring the ads on a webpage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 04:47:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-unstructured-txt-file/m-p/917528#M361419</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-23T04:47:51Z</dc:date>
    </item>
  </channel>
</rss>

