<?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: Is there any difference between file and datafile in the IMPORT step? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838782#M331650</link>
    <description>&lt;P&gt;FILE is an Alias for DATAFILE - but if you look into a &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n18jyszn33umngn14czw2qfw7thc.htm#p1n3qopje7rab1n1bnp6m7zugu8y" target="_self"&gt;current SAS documentation&lt;/A&gt; you only find DATAFILE so use this name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS is highly backward compatible and therefore many things still work even though you might no more find it documented for newer versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS EG shows me the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1665810993307.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76218i1F3D24B5EFA9CF5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Patrick_0-1665810993307.png" alt="Patrick_0-1665810993307.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Oct 2022 05:18:17 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2022-10-15T05:18:17Z</dc:date>
    <item>
      <title>Is there any difference between file and datafile in the IMPORT step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838761#M331637</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I am running the following code from Programming 1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_in_Canberra_0-1665791765895.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76213iD6C25A48CD2302AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_in_Canberra_0-1665791765895.png" alt="Ben_in_Canberra_0-1665791765895.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I changed the datafile to file, the result seems to be exact the same.&lt;/P&gt;
&lt;P&gt;is there any difference between DATAFILE and FILE?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 00:02:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838761#M331637</guid>
      <dc:creator>Nietzsche</dc:creator>
      <dc:date>2022-10-15T00:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between file and datafile in the IMPORT step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838777#M331647</link>
      <description>&lt;P&gt;What does the log say when you use FILE= in place of DATAFILE=?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 05:00:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838777#M331647</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-10-15T05:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between file and datafile in the IMPORT step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838782#M331650</link>
      <description>&lt;P&gt;FILE is an Alias for DATAFILE - but if you look into a &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n18jyszn33umngn14czw2qfw7thc.htm#p1n3qopje7rab1n1bnp6m7zugu8y" target="_self"&gt;current SAS documentation&lt;/A&gt; you only find DATAFILE so use this name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS is highly backward compatible and therefore many things still work even though you might no more find it documented for newer versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS EG shows me the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1665810993307.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76218i1F3D24B5EFA9CF5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Patrick_0-1665810993307.png" alt="Patrick_0-1665810993307.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 05:18:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838782#M331650</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-10-15T05:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between file and datafile in the IMPORT step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838789#M331655</link>
      <description>nothing, just ran like normal.</description>
      <pubDate>Sat, 15 Oct 2022 06:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838789#M331655</guid>
      <dc:creator>Nietzsche</dc:creator>
      <dc:date>2022-10-15T06:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between file and datafile in the IMPORT step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838821#M331663</link>
      <description>&lt;P&gt;So it is a working, undocumented statement; I suspected that SAS might have written something to the log like "erroneous FILE option interpreted as DATAFILE".&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 15:37:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838821#M331663</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-10-15T15:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between file and datafile in the IMPORT step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838835#M331675</link>
      <description>&lt;P&gt;here are the two logs, I can't see any difference.&lt;/P&gt;
&lt;PRE&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 70         
 71         proc import file="/home/u62043935/EPG1V2/data/eu_sport_trade.xlsx"
 72         dbms=xlsx
 73         out=eu_sport_trade
 74         replace;
 75         run;
 
 NOTE: One or more variables were converted because the data type is not supported by the V9 engine. For more details, run with 
       options MSGLEVEL=I.
 NOTE: The import data set has 6816 observations and 6 variables.
 NOTE: WORK.EU_SPORT_TRADE data set was successfully created.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.40 seconds
       user cpu time       0.40 seconds
       system cpu time     0.00 seconds
       memory              3210.25k
       OS Memory           30632.00k
       Timestamp           15/10/2022 09:21:09 PM
       Step Count                        24  Switch Count  2
       Page Faults                       0
       Page Reclaims                     944
       Page Swaps                        0
       Voluntary Context Switches        19
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           1032
       
 
 76         
 77         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 88         &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 70         
 71         proc import datafile="/home/u62043935/EPG1V2/data/eu_sport_trade.xlsx"
 72         dbms=xlsx
 73         out=eu_sport_trade
 74         replace;
 75         run;
 
 NOTE: One or more variables were converted because the data type is not supported by the V9 engine. For more details, run with 
       options MSGLEVEL=I.
 NOTE: The import data set has 6816 observations and 6 variables.
 NOTE: WORK.EU_SPORT_TRADE data set was successfully created.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.39 seconds
       user cpu time       0.39 seconds
       system cpu time     0.00 seconds
       memory              3178.87k
       OS Memory           30888.00k
       Timestamp           15/10/2022 09:22:25 PM
       Step Count                        30  Switch Count  4
       Page Faults                       0
       Page Reclaims                     618
       Page Swaps                        0
       Voluntary Context Switches        34
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           1032
       
 
 76         
 77         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 88         &lt;/PRE&gt;</description>
      <pubDate>Sat, 15 Oct 2022 21:23:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-any-difference-between-file-and-datafile-in-the-IMPORT/m-p/838835#M331675</guid>
      <dc:creator>Nietzsche</dc:creator>
      <dc:date>2022-10-15T21:23:07Z</dc:date>
    </item>
  </channel>
</rss>

