<?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: Proc Import Text file, not labeling last variable name in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260261#M18151</link>
    <description>&lt;P&gt;Hmm...there are ways around that, but you have 100 files that don't have the same structure? The name isn't available anywhere else?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2016 22:27:58 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-03-30T22:27:58Z</dc:date>
    <item>
      <title>Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/259430#M18122</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Using SAS EG, whenever i try to import a TXT&amp;nbsp;file , using PROC IMPORT, the label of the last column always comes as VAR , even though i use getnames=yes, still the last column does not have label. Im guessing it has to do with the demiliter but how can I change my code to correct this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the code I'm using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc import datafile = "filename.txt"&lt;BR /&gt;dbms = DLM out = filename&amp;nbsp;replace;&lt;BR /&gt;getnames=yes;&lt;BR /&gt;delimiter = "|";&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 18:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/259430#M18122</guid>
      <dc:creator>tropical_surfer</dc:creator>
      <dc:date>2016-03-28T18:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/259463#M18123</link>
      <description>&lt;P&gt;Show the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Show the SAS generated datastep.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 20:33:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/259463#M18123</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2016-03-28T20:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/259465#M18124</link>
      <description>&lt;P&gt;Your data most likely has an issue - either it's short one variable name, or the name is not SAS compatible, or it's a duplicate name, or some other issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically, examine your data to find the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 20:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/259465#M18124</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-28T20:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260236#M18137</link>
      <description>&lt;P&gt;It seems to be an issue with the way the delimiter "l" is used in the text files I have, specifically there is no delimiter placed after the end of the last variable name. The column reads in properly other than the var name. I have&amp;nbsp;over 100 files though so it would be helpful it have it import correctly rather then manually changing it.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 21:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260236#M18137</guid>
      <dc:creator>tropical_surfer</dc:creator>
      <dc:date>2016-03-30T21:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260240#M18140</link>
      <description>&lt;P&gt;Can you post some sample data?&lt;/P&gt;
&lt;P&gt;If you're on windows here's a quick way to grab a few lines of your data into a file:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gist.github.com/statgeek/de01cb34a61e53f2915d" target="_blank"&gt;https://gist.github.com/statgeek/de01cb34a61e53f2915d&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 21:30:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260240#M18140</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-30T21:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260241#M18141</link>
      <description>&lt;P&gt;Yes, I'll post sample data in a minute. I found a similar post regarding what seems to be a similar issue only they have a csv. Im using windows sas, so I don't know if this is relevant but someone mentioned adding termstr=crlf to resolve the problem. I'm not sure if this can be added to my import code, can it? I wasn't able to get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The post I'm refering to is here if anyone is curious: &lt;A href="https://communities.sas.com/t5/SAS-Procedures/Proc-import-issue-in-Unix-SAS/td-p/24485" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Proc-import-issue-in-Unix-SAS/td-p/24485&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 21:46:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260241#M18141</guid>
      <dc:creator>tropical_surfer</dc:creator>
      <dc:date>2016-03-30T21:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260244#M18142</link>
      <description>&lt;P&gt;Here's a sample of my data, thanks everyone for the responses!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;format EFF_START_DATE datetime. ;&lt;BR /&gt;format EFF_END_DATE datetime. ;&lt;BR /&gt;format &lt;SPAN&gt;CODE&amp;nbsp;&lt;/SPAN&gt;$3. ;&lt;BR /&gt;format VAR4 $32. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Raw .TXT&amp;nbsp;file&amp;nbsp;looks like this:&lt;/P&gt;&lt;P&gt;EFF_START_DATE|EFF_END_DATE|CODE|DESCRIPTION&lt;BR /&gt;9/01/2001 12:00:00 AM|12/31/9999 12:00:00 AM|AAA|EXAMPLE&lt;BR /&gt;9/01/2001 12:00:00 AM|12/31/9999 12:00:00 AM|BBB|EXAMPLE&lt;BR /&gt;9/01/2001 12:00:00 AM|12/31/9999 12:00:00 AM|CCC|EXAMPLE&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 21:44:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260244#M18142</guid>
      <dc:creator>tropical_surfer</dc:creator>
      <dc:date>2016-03-30T21:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260245#M18143</link>
      <description>&lt;P&gt;Show all of your code please - infile statement is important, for example all you may need is TRUNCOVER vs MISSOVER option.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 21:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260245#M18143</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-30T21:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260248#M18144</link>
      <description>&lt;P&gt;Sorry, new at this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;40 data WORK.SAMPLE ;&lt;BR /&gt;41 %let _EFIERR_ = 0; /* set the ERROR detection macro variable */&lt;BR /&gt;42 infile '/documents/IMPORT_DATA.txt' delimiter = '|' MISSOVER DSD lrecl=32767 firstobs=2 ;&lt;BR /&gt;43 informat EFF_START_DATE anydtdtm40. ;&lt;BR /&gt;44 informat EFF_END_DATE anydtdtm40. ;&lt;BR /&gt;45 informat CODE&amp;nbsp;$3. ;&lt;BR /&gt;46 informat VAR4 $32. ;&lt;/P&gt;&lt;P&gt;47 format EFF_START_DATE datetime. ;&lt;BR /&gt;48 format EFF_END_DATE datetime. ;&lt;BR /&gt;49 format CODE&amp;nbsp;$3. ;&lt;BR /&gt;50 format VAR4 $32. ;&lt;BR /&gt;51 input&lt;BR /&gt;52 EFF_START_DATE&lt;BR /&gt;53 EFF_END_DATE&lt;BR /&gt;54 CODE&amp;nbsp;$&lt;BR /&gt;55 VAR4 $&lt;BR /&gt;56 ;&lt;BR /&gt;57 if _ERROR_ then call symputx('_EFIERR_',1); /* set ERROR detection macro variable */&lt;BR /&gt;58 run;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 21:53:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260248#M18144</guid>
      <dc:creator>tropical_surfer</dc:creator>
      <dc:date>2016-03-30T21:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260250#M18145</link>
      <description>&lt;P&gt;Change MISSOVER to TRUNCOVER and try that.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 21:59:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260250#M18145</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-30T21:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260252#M18146</link>
      <description>&lt;P&gt;Okay, how can I specify&amp;nbsp;&lt;SPAN&gt;TRUNCOVER in my code? This is what I'm running to get that log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile = "/documents/IMPORT_DATA.txt"&lt;BR /&gt;dbms = DLM out = sample replace;&lt;BR /&gt;getnames=yes;&lt;BR /&gt;delimiter = "|";&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 22:02:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260252#M18146</guid>
      <dc:creator>tropical_surfer</dc:creator>
      <dc:date>2016-03-30T22:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260253#M18147</link>
      <description>&lt;P&gt;Use the code from the log. Strip out the line numbers to use it.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 22:03:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260253#M18147</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-30T22:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260255#M18148</link>
      <description>&lt;P&gt;Okay, just ran it with &lt;SPAN&gt;TRUNCOVER, but had n&lt;/SPAN&gt;o change in the last variable name.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 22:16:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260255#M18148</guid>
      <dc:creator>tropical_surfer</dc:creator>
      <dc:date>2016-03-30T22:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260257#M18149</link>
      <description>&lt;P&gt;Sorry, this code explicitly calls it VAR4 - change all references of VAR4&amp;nbsp;to Description manually &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This really is the best way to read a text file. Use proc import to generate a semi-correct data step code. Take the code and customize to data. Proc Import guesses - data step is explicit. When copying from log hold down ALT key to be able to select code without line numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the actual field being read properly?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 22:21:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260257#M18149</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-30T22:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260259#M18150</link>
      <description>&lt;P&gt;I am right now, but&amp;nbsp;I have over 100 files so its a bit tedious to do them all manually as the last variable name changes for each file.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 22:24:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260259#M18150</guid>
      <dc:creator>tropical_surfer</dc:creator>
      <dc:date>2016-03-30T22:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260261#M18151</link>
      <description>&lt;P&gt;Hmm...there are ways around that, but you have 100 files that don't have the same structure? The name isn't available anywhere else?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 22:27:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260261#M18151</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-30T22:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260266#M18154</link>
      <description>&lt;P&gt;Each file has different data, with different variables/variable names. The last variable name for every file is always missing (ie VAR#). The raw text files have&amp;nbsp;the correct variable name, just like for the other variables that import properly. The variable is named&amp;nbsp;"Description" in the raw input below. Notice there is no delimiter at the end of the line, I'm guessing thats why it doesn't read the name in, although later rows are the same and read in correctly.&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;&lt;P&gt;&lt;SPAN&gt;EFF_START_DATE|EFF_END_DATE|CODE|&lt;STRONG&gt;DESCRIPTION&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9/01/2001 12:00:00 AM|12/31/9999 12:00:00 AM|AAA|EXAMPLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9/01/2001 12:00:00 AM|12/31/9999 12:00:00 AM|BBB|EXAMPLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9/01/2001 12:00:00 AM|12/31/9999 12:00:00 AM|CCC|EXAMPLE&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 22:52:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260266#M18154</guid>
      <dc:creator>tropical_surfer</dc:creator>
      <dc:date>2016-03-30T22:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260269#M18155</link>
      <description>&lt;P&gt;There must be something in the file. &amp;nbsp;Use a data step to read the first few lines and see what it is.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   infile 'myfile' obs=3 ;
   input;
   list;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You example data works fine with PROC IMPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;56 options generic;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;57 filename tst temp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;58 data _null_;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;59 file tst ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;60 input ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;61 put _infile_;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;62 cards;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote1_1459381107509" class="sasNote"&gt;NOTE: The file TST is:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;(system-specific pathname),&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;(system-specific file attributes)&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1459381107509" class="sasNote"&gt;NOTE: 4 records were written to the file (system-specific pathname).&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;The minimum record length was 80.&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;The maximum record length was 80.&lt;/DIV&gt;
&lt;DIV id="sasLogNote3_1459381107509" class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.01 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.01 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;67 ;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;68&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;69 proc import datafile=tst out=tst replace&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;70 dbms=dlm&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;71 ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;72 delimiter='|';&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;73 run;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;WORK.PARMS.PARMS.SLIST.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;74 /**********************************************************************&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;75 * PRODUCT: SAS&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;76 * VERSION: 9.4&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;77 * CREATOR: External File Interface&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;78 * DATE: 30MAR16&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;79 * DESC: Generated SAS Datastep Code&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;80 * TEMPLATE SOURCE: (None Specified.)&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;81 ***********************************************************************/&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;82 data WORK.TST ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;83 %let _EFIERR_ = 0; /* set the ERROR detection macro variable */&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;84 infile TST delimiter = '|' MISSOVER DSD firstobs=2 ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;85 informat EFF_START_DATE anydtdtm40. ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;86 informat EFF_END_DATE anydtdtm40. ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;87 informat CODE $3. ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;88 informat DESCRIPTION $7. ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;89 format EFF_START_DATE datetime. ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;90 format EFF_END_DATE datetime. ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;91 format CODE $3. ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;92 format DESCRIPTION $7. ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;93 input&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;94 EFF_START_DATE&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;95 EFF_END_DATE&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;96 CODE $&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;97 DESCRIPTION $&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;98 ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;99 if _ERROR_ then call symputx('_EFIERR_',1); /* set ERROR detection macro variable */&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;100 run;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote4_1459381107509" class="sasNote"&gt;NOTE: The infile TST is:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;(system-specific pathname),&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;(system-specific file attributes)&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote5_1459381107509" class="sasNote"&gt;NOTE: 3 records were read from the infile (system-specific pathname).&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;The minimum record length was 80.&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;The maximum record length was 80.&lt;/DIV&gt;
&lt;DIV id="sasLogNote6_1459381107509" class="sasNote"&gt;NOTE: The data set WORK.TST has 3 observations and 4 variables.&lt;/DIV&gt;
&lt;DIV id="sasLogNote7_1459381107509" class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.01 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;3 rows created in WORK.TST from TST.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote8_1459381107509" class="sasNote"&gt;NOTE: WORK.TST data set was successfully created.&lt;/DIV&gt;
&lt;DIV id="sasLogNote9_1459381107509" class="sasNote"&gt;NOTE: The data set WORK.TST has 3 observations and 4 variables.&lt;/DIV&gt;
&lt;DIV id="sasLogNote10_1459381107509" class="sasNote"&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.08 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.04 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Mar 2016 23:41:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260269#M18155</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2016-03-30T23:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260271#M18156</link>
      <description>No, I wouldn't expect a delimiter at end. &lt;BR /&gt;&lt;BR /&gt;Review file as Tom indicates. You may also want to view in editor that shows invisibles and see if anything shows up.</description>
      <pubDate>Thu, 31 Mar 2016 00:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260271#M18156</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-31T00:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Text file, not labeling last variable name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260272#M18157</link>
      <description>&lt;P&gt;If you paste the sample data above into a blank notepad and save it as a .txt you can replicate the issue II'm having. This makes me doubt its the file formatting and I'm sort of at a loss for ideas.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 00:20:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-Import-Text-file-not-labeling-last-variable-name/m-p/260272#M18157</guid>
      <dc:creator>tropical_surfer</dc:creator>
      <dc:date>2016-03-31T00:20:07Z</dc:date>
    </item>
  </channel>
</rss>

