<?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: Which input method to use? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394521#M277931</link>
    <description>Hi:&lt;BR /&gt;  Programming 1 is our free introductory class, when you activate the e-learning version of the class. We explain reasons for using different techniques in the class.&lt;BR /&gt;&lt;BR /&gt;  The bottom line is that you have to know what the structure of your raw data file looks like, is it space delimited? is it tab delimited? is it comma delimited? is the data in fixed columns? is the data standard or non-standard? do you need to use read the data a special way? do you have date values? All of these things can factor into the method you use to read the data.&lt;BR /&gt;&lt;BR /&gt;  You can activate the free Programming 1 class by clicking the link at the top of this page &lt;BR /&gt;&lt;A href="https://support.sas.com/edu/elearning.html?ctry=us&amp;amp;productType=library" target="_blank"&gt;https://support.sas.com/edu/elearning.html?ctry=us&amp;amp;productType=library&lt;/A&gt;&lt;BR /&gt;(you will have to log onto your SAS Profile to complete the activation process).&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
    <pubDate>Sun, 10 Sep 2017 17:30:40 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-09-10T17:30:40Z</dc:date>
    <item>
      <title>Which input method to use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394518#M277930</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my first post and i am new in Sas programming.I just started reading Sas a week ago for my class and i am confused with so many ways we can read raw data.My question is how to know which input method to use for read a raw data.How do we know when to use list input, column input or formatted input. Is there a particular way to figure it out or its just more practice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2017 16:36:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394518#M277930</guid>
      <dc:creator>anikhana</dc:creator>
      <dc:date>2017-09-10T16:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Which input method to use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394521#M277931</link>
      <description>Hi:&lt;BR /&gt;  Programming 1 is our free introductory class, when you activate the e-learning version of the class. We explain reasons for using different techniques in the class.&lt;BR /&gt;&lt;BR /&gt;  The bottom line is that you have to know what the structure of your raw data file looks like, is it space delimited? is it tab delimited? is it comma delimited? is the data in fixed columns? is the data standard or non-standard? do you need to use read the data a special way? do you have date values? All of these things can factor into the method you use to read the data.&lt;BR /&gt;&lt;BR /&gt;  You can activate the free Programming 1 class by clicking the link at the top of this page &lt;BR /&gt;&lt;A href="https://support.sas.com/edu/elearning.html?ctry=us&amp;amp;productType=library" target="_blank"&gt;https://support.sas.com/edu/elearning.html?ctry=us&amp;amp;productType=library&lt;/A&gt;&lt;BR /&gt;(you will have to log onto your SAS Profile to complete the activation process).&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Sun, 10 Sep 2017 17:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394521#M277931</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-09-10T17:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Which input method to use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394522#M277932</link>
      <description>&lt;P&gt;The key thing is how is the file you are reading formatted. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is delimited, like a CSV file, then list mode input is best, use the DSD option on the INFILE statement. &amp;nbsp;You can even try using PROC IMPORT to make guess at what your variables are and how they should be defined.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is fixed format then read it using either formats or column positions. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is space delimited then you can sometimes use list mode, but you need to make sure that missing values are properly indicated or else the input will read the values out of order because it cant' tell that the extra spaces mean there is empty value.&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;</description>
      <pubDate>Sun, 10 Sep 2017 17:35:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394522#M277932</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-09-10T17:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Which input method to use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394641#M277933</link>
      <description>&lt;P&gt;Thank you for your suggestion. I will definately look into that free learning course.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 11:38:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394641#M277933</guid>
      <dc:creator>anikhana</dc:creator>
      <dc:date>2017-09-11T11:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Which input method to use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394642#M277934</link>
      <description>&lt;P&gt;Thank you Tom. It gave me better idea on how to read raw data files.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 11:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-input-method-to-use/m-p/394642#M277934</guid>
      <dc:creator>anikhana</dc:creator>
      <dc:date>2017-09-11T11:40:31Z</dc:date>
    </item>
  </channel>
</rss>

