<?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: Big DATA Imports in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375532#M90037</link>
    <description>&lt;P&gt;hi. my data has hundred thousands rows ,i use small data to understand . when i use proc import the sas output gives me the data set with headers that looks like thistable.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10308i5060BE349750B92F/image-size/original?v=1.0&amp;amp;px=-1" alt="Capture1.JPG" title="Capture1.JPG" border="0" /&gt;&lt;/P&gt;&lt;P&gt;i am trying to use this below program but it does not give me the numbers in the table as responder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data alaki;&lt;BR /&gt;infile'C:\Users\FATEMEH\Desktop\research project\alak.xlsx' ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; do trt = -1 to 1 by 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do gene = -1 to 1 by 1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do time=1 to 3;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; input responder;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=alaki;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2017 22:49:10 GMT</pubDate>
    <dc:creator>fatemeh</dc:creator>
    <dc:date>2017-07-12T22:49:10Z</dc:date>
    <item>
      <title>Big DATA Imports</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375510#M90026</link>
      <description>&lt;DIV class="lia-message-heading lia-component-message-header"&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-standard"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-20 lia-quilt-column-left"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt;&lt;DIV class="lia-message-subject"&gt;Big DATA Imports&lt;SPAN class="lia-message-subject-status"&gt;[&amp;nbsp;New&amp;nbsp;]&lt;/SPAN&gt;&lt;DIV class="MessageReadByModeratorCell lia-moderation-moderated"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-04 lia-quilt-column-right"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;DIV class="lia-message-options"&gt;&lt;DIV class="lia-menu-navigation-wrapper lia-menu-action message-menu"&gt;&lt;DIV class="lia-menu-navigation"&gt;&lt;DIV class="dropdown-default-item"&gt;&lt;A title="Show option menu" href="https://communities.sas.com/t5/Base-SAS-Programming/Big-DATA-Imports/m-p/375507#" target="_blank"&gt;Options&lt;/A&gt;&lt;DIV class="dropdown-positioning"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="lia-message-dates lia-message-post-date lia-component-post-date-last-edited"&gt;&lt;SPAN class="DateTime lia-message-posted-on lia-component-common-widget-date"&gt;&lt;SPAN class="local-friendly-date"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;data alaki;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; do trt = -1 to 1 by 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do gene = -1 to 1 by 1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do time=1 to 3;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; input responder@;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;datalines;&lt;BR /&gt;4.22027067&amp;nbsp;&amp;nbsp; &amp;nbsp;4.37189508&amp;nbsp;&amp;nbsp; &amp;nbsp;4.42832633&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;12.342489&amp;nbsp;&amp;nbsp; &amp;nbsp;12.3535905&amp;nbsp;&amp;nbsp; &amp;nbsp;12.2709339&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;6.10929307&amp;nbsp;&amp;nbsp; &amp;nbsp;6.34392243&amp;nbsp;&amp;nbsp; &amp;nbsp;6.43155656&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;4.43362232&amp;nbsp;&amp;nbsp; &amp;nbsp;4.54115629&amp;nbsp;&amp;nbsp; &amp;nbsp;4.2886178&lt;BR /&gt;12.6404601&amp;nbsp;&amp;nbsp; &amp;nbsp;12.715388&amp;nbsp;&amp;nbsp; &amp;nbsp;12.7065314&lt;BR /&gt;6.07044046&amp;nbsp;&amp;nbsp; &amp;nbsp;6.06052994&amp;nbsp;&amp;nbsp; &amp;nbsp;6.11873577&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;proc print;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hello.my question is how i can read my data as a seperate sas dataset in the above program,and then use set statement to read from this new dataset instead of using datalines ,because my data is big data and i can not place it in datalies .i used proc import but it gives me header ,and considers it as&amp;nbsp; columns which do loop doesn't realize it .if anybody knows the answer we appreciate to share it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Jul 2017 20:46:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375510#M90026</guid>
      <dc:creator>fatemeh</dc:creator>
      <dc:date>2017-07-12T20:46:08Z</dc:date>
    </item>
    <item>
      <title>Big DATA Imports</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375507#M90057</link>
      <description>&lt;P&gt;data alaki;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; do trt = -1 to 1 by 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do gene = -1 to 1 by 1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do time=1 to 3;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; input responder@;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;datalines;&lt;BR /&gt;4.22027067&amp;nbsp;&amp;nbsp; &amp;nbsp;4.37189508&amp;nbsp;&amp;nbsp; &amp;nbsp;4.42832633&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;12.342489&amp;nbsp;&amp;nbsp; &amp;nbsp;12.3535905&amp;nbsp;&amp;nbsp; &amp;nbsp;12.2709339&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;6.10929307&amp;nbsp;&amp;nbsp; &amp;nbsp;6.34392243&amp;nbsp;&amp;nbsp; &amp;nbsp;6.43155656&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;4.43362232&amp;nbsp;&amp;nbsp; &amp;nbsp;4.54115629&amp;nbsp;&amp;nbsp; &amp;nbsp;4.2886178&lt;BR /&gt;12.6404601&amp;nbsp;&amp;nbsp; &amp;nbsp;12.715388&amp;nbsp;&amp;nbsp; &amp;nbsp;12.7065314&lt;BR /&gt;6.07044046&amp;nbsp;&amp;nbsp; &amp;nbsp;6.06052994&amp;nbsp;&amp;nbsp; &amp;nbsp;6.11873577&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;proc print;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hello.my question is how i can read my data i aseperate sas dataset .and then use set statement to read from this new dataset instead of using datalines ,because my data is big data and i can not place it in datalies .i used proc import but it gives me header .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 20:34:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375507#M90057</guid>
      <dc:creator>fatemeh</dc:creator>
      <dc:date>2017-07-12T20:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Big DATA Imports</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375514#M90029</link>
      <description>&lt;P&gt;You might post a few lines of data as text and show what the result should be. If your data is sensitive then something with the same properties. Use a codebox opened with the forum {i} menu icon so the text does not get reformatted by posting in the main message window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does your actual data not have values for the trt, gene and time and you have to assign them based on the row in the data???&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 21:21:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375514#M90029</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-07-12T21:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Big DATA Imports</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375528#M90035</link>
      <description>&lt;P&gt;What's your definition of big?&lt;/P&gt;
&lt;P&gt;What's the source?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can read from a file using an INFILE staement to point at a text file, or a straight PROC IMPORT will often work as well. Without further detailed information we can't help you.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 22:33:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375528#M90035</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-12T22:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Big DATA Imports</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375529#M90036</link>
      <description>&lt;P&gt;Read the documentation.&lt;/P&gt;
&lt;P&gt;Proc import has options DATAROW and GETNAMES to deal with headers.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 22:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375529#M90036</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-07-12T22:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Big DATA Imports</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375532#M90037</link>
      <description>&lt;P&gt;hi. my data has hundred thousands rows ,i use small data to understand . when i use proc import the sas output gives me the data set with headers that looks like thistable.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10308i5060BE349750B92F/image-size/original?v=1.0&amp;amp;px=-1" alt="Capture1.JPG" title="Capture1.JPG" border="0" /&gt;&lt;/P&gt;&lt;P&gt;i am trying to use this below program but it does not give me the numbers in the table as responder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data alaki;&lt;BR /&gt;infile'C:\Users\FATEMEH\Desktop\research project\alak.xlsx' ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; do trt = -1 to 1 by 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do gene = -1 to 1 by 1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do time=1 to 3;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; input responder;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=alaki;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 22:49:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375532#M90037</guid>
      <dc:creator>fatemeh</dc:creator>
      <dc:date>2017-07-12T22:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Big DATA Imports</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375534#M90038</link>
      <description>&lt;P&gt;You need to first import your data (PROC IMPORT)&lt;/P&gt;
&lt;P&gt;THen you need to add the multiple options, since your code is replicating your data or assuming a structure. Either way, move that to a different data step. If your code works on your small sample it will work on hte big data (thanks SAS) so working with small samples to start is a very smart idea.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's some video tutorials on SAS and the UCLA link above has many many tutorials on everything from reading sas to how to interpret your regression analysis output.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://video.sas.com/#category/videos/how-to-tutorials" target="_blank"&gt;http://video.sas.com/#category/videos/how-to-tutorials&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 23:00:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375534#M90038</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-12T23:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Big DATA Imports</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375575#M90061</link>
      <description>&lt;P&gt;Interesting strategy: repeating a question while ignoring answers already given.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A data-step can import almost any text-file. Multiple datasets are created by using the output statement.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 07:50:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375575#M90061</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2017-07-13T07:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Big DATA Imports</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375589#M90064</link>
      <description>&lt;P&gt;Probably something like that should work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT OUT= WORK.tmp 
            DATAFILE= "C:\Users\FATEMEH\Desktop\research project\alak.xlsx" 
            DBMS=EXCEL REPLACE;
     SHEET="Please complete"; 
     GETNAMES=YES;
     MIXED=YES;
     SCANTEXT=NO;
     USEDATE=NO;
     SCANTIME=NO;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Reading the documentation&amp;nbsp;about how to import and handle data might help too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 09:07:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Big-DATA-Imports/m-p/375589#M90064</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2017-07-13T09:07:37Z</dc:date>
    </item>
  </channel>
</rss>

