<?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: how to input data file with semicolon and add variable name in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/how-to-input-data-file-with-semicolon-and-add-variable-name/m-p/693673#M25047</link>
    <description>&lt;P&gt;Use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;dbms=dlm&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;in the PROC IMPORT statement. TAB forces a tabulation character ('09'x) as delimiter.&lt;/P&gt;
&lt;P&gt;In the long run you will be better off to copy the data step code created by PROC IMPORT from the log, adapt it to your needs and use that in the future for consistency.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 08:31:17 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-10-23T08:31:17Z</dc:date>
    <item>
      <title>how to input data file with semicolon and add variable name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-input-data-file-with-semicolon-and-add-variable-name/m-p/693670#M25045</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fighting123_0-1603440980163.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50923i7666D3C6008670D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fighting123_0-1603440980163.png" alt="fighting123_0-1603440980163.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT DATAFILE = 'C:\Users\TSE\s208034\Vegas_edit.dat'
OUT = Vegas DBMS =  TAB REPLACE;
DATAROWS=1;
DELIMITER=' ; ';
GETNAMES=NO;
INPUT country $  review $  hotel_review $ help_vote $ score $ stay $ type $ pool $ gym $ tennis $  spa $  casino $ internet $ name $ stars $ rooms $ user $
member $  date $ month $  weekday;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I want to input the dataset that is dat file with semicolon and add variable name&lt;/P&gt;&lt;P&gt;can someone tell me where is wrong and teach me pls&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 08:18:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-input-data-file-with-semicolon-and-add-variable-name/m-p/693670#M25045</guid>
      <dc:creator>fighting123</dc:creator>
      <dc:date>2020-10-23T08:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to input data file with semicolon and add variable name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-input-data-file-with-semicolon-and-add-variable-name/m-p/693673#M25047</link>
      <description>&lt;P&gt;Use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;dbms=dlm&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;in the PROC IMPORT statement. TAB forces a tabulation character ('09'x) as delimiter.&lt;/P&gt;
&lt;P&gt;In the long run you will be better off to copy the data step code created by PROC IMPORT from the log, adapt it to your needs and use that in the future for consistency.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 08:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-input-data-file-with-semicolon-and-add-variable-name/m-p/693673#M25047</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-23T08:31:17Z</dc:date>
    </item>
  </channel>
</rss>

