<?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: Input Statement from SAS Data Table. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Input-Statement-from-SAS-Data-Table/m-p/77005#M16641</link>
    <description>To read a SAS table, use the SET-statement.&lt;BR /&gt;
To read out parts of a string which contains a delimiter, use the SCAN function.&lt;BR /&gt;
To read data and time data, use corresponding informats during input operation, or in the subsequent step by using the input function. See on-line documentation for details.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Linus</description>
    <pubDate>Mon, 16 Mar 2009 08:55:13 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2009-03-16T08:55:13Z</dc:date>
    <item>
      <title>Input Statement from SAS Data Table.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-Statement-from-SAS-Data-Table/m-p/77004#M16640</link>
      <description>So I imported my csv file into SAS and created a SAS data table.  The data table contains the variable name and the values in column format.  The problem is I am used to having input statements from a data file and have no clue how to input the data using the data table.  The data is messy and looks similar to:&lt;BR /&gt;
&lt;BR /&gt;
Name               Location            Date          Time&lt;BR /&gt;
&lt;BR /&gt;
Joe@Johnson    Oakland      04/12/2001        04:18:35&lt;BR /&gt;
Greg@Smith    Boston         03/22/2001        06:14:45&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I need to seperate name into two seperate columns first and last and then have location and date (total day format) and time (total second format).  This data was imported from a .csv file so originally looked like Joe@Johnson,Oakland,04/12/2001/04:18:35  .  I tried using informat statements and DLM=',' and DLM='@' statements but have most trouble with the date and time variables.  Any help would be appreciated.</description>
      <pubDate>Mon, 16 Mar 2009 02:13:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-Statement-from-SAS-Data-Table/m-p/77004#M16640</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-16T02:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Input Statement from SAS Data Table.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-Statement-from-SAS-Data-Table/m-p/77005#M16641</link>
      <description>To read a SAS table, use the SET-statement.&lt;BR /&gt;
To read out parts of a string which contains a delimiter, use the SCAN function.&lt;BR /&gt;
To read data and time data, use corresponding informats during input operation, or in the subsequent step by using the input function. See on-line documentation for details.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Linus</description>
      <pubDate>Mon, 16 Mar 2009 08:55:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-Statement-from-SAS-Data-Table/m-p/77005#M16641</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-03-16T08:55:13Z</dc:date>
    </item>
  </channel>
</rss>

