<?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: Raw Data File in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132978#M10794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the log, it looks like you are using a SAS installation that hosted with SAS OnDemand.&amp;nbsp; Is that correct?&amp;nbsp; If so, be sure to consult the appropriate guidance for how to access/create external files in this environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With SAS Enterprise Guide, you can easily discover the structure of a text-based data file by opening it with File-&amp;gt;Import Data.&amp;nbsp; The Import Data task will generate a DATA step with INPUT statements to read your file structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Nov 2013 17:50:28 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2013-11-05T17:50:28Z</dc:date>
    <item>
      <title>Raw Data File</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132975#M10791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I go about creating raw data file in SAS Enterprise Guide?&lt;/P&gt;&lt;P&gt;Later I intend to use &lt;STRONG&gt;INFILE&lt;/STRONG&gt; statement and &lt;STRONG&gt;INPUT&lt;/STRONG&gt; to access this file and its contents.&lt;/P&gt;&lt;P&gt;Is it even possible to do so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhanashreeata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 15:29:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132975#M10791</guid>
      <dc:creator>noobs</dc:creator>
      <dc:date>2013-11-05T15:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Raw Data File</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132976#M10792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this is what you were expecting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; file "E:\source\test.txt" print;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; input name$ age;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _n_=1 then put @1 "name" @10 "age";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put @1 name&amp;nbsp; @10 age;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;alice 30 &lt;/P&gt;&lt;P&gt;william 20&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 15:45:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132976#M10792</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-11-05T15:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Raw Data File</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132977#M10793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that is what I am looking for. Although .dat extension. So after I have created that file, I am having following script to access its contents and generate data set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename testref "/home/dhanashree.gadka/user/DUG/test.dat";&lt;/P&gt;&lt;P&gt;data work.vegd;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile testref;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input vname $ vfreq $;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see this error in Log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Invalid logical name.&lt;/P&gt;&lt;P&gt;ERROR: Error in the FILENAME statement.&lt;/P&gt;&lt;P&gt;ERROR: Physical file does not exist, /sso/biconfig/930/Lev1/SASApp/TESTREF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in theory, what is the best way to peek at raw data files for data examination purposes so that one can figure out what is the data structure and how to write the input statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 17:30:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132977#M10793</guid>
      <dc:creator>noobs</dc:creator>
      <dc:date>2013-11-05T17:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Raw Data File</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132978#M10794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the log, it looks like you are using a SAS installation that hosted with SAS OnDemand.&amp;nbsp; Is that correct?&amp;nbsp; If so, be sure to consult the appropriate guidance for how to access/create external files in this environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With SAS Enterprise Guide, you can easily discover the structure of a text-based data file by opening it with File-&amp;gt;Import Data.&amp;nbsp; The Import Data task will generate a DATA step with INPUT statements to read your file structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 17:50:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132978#M10794</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-11-05T17:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Raw Data File</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132979#M10795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i believe the code is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to check the path. Also please try to give a different filename, instead of testref try testr. Though testref should also work, but since it is throwing an error try to replace the name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 17:50:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Raw-Data-File/m-p/132979#M10795</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-11-05T17:50:28Z</dc:date>
    </item>
  </channel>
</rss>

