<?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: Creating a custtom SAS Table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-custtom-SAS-Table/m-p/862469#M340686</link>
    <description>&lt;P&gt;You need a colon in the INPUT statement before YYMMDD10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;input date :yymmdd10. customer_id segment_generation_1 &lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 06 Mar 2023 14:08:57 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-03-06T14:08:57Z</dc:date>
    <item>
      <title>Creating a custtom SAS Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-custtom-SAS-Table/m-p/862467#M340685</link>
      <description>&lt;P&gt;I want to create a SAS table corresponding to this:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;TABLE width="598"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="242"&gt;date&lt;/TD&gt;
&lt;TD width="171"&gt;customer_id&lt;/TD&gt;
&lt;TD width="185"&gt;segment_generation_1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2023-01-01&lt;/TD&gt;
&lt;TD&gt;111&lt;/TD&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2023-01-01&lt;/TD&gt;
&lt;TD&gt;222&lt;/TD&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2023-01-01&lt;/TD&gt;
&lt;TD&gt;333&lt;/TD&gt;
&lt;TD&gt;C&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;My attempt:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data snapshot_1;
   input date yymmdd10. customer_id segment_generation_1 $;
   format date yymmdd10.;
   datalines;
   2023-01-01 111 A
   2023-01-01 222 C
   2023-01-01 333 A
   ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;returns this which is wrong:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SasStatistics_0-1678110924824.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81104i5DB754D7C6D55F04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SasStatistics_0-1678110924824.png" alt="SasStatistics_0-1678110924824.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Any ideas on how to do it properly?&lt;BR /&gt;&lt;BR /&gt;Thanks.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 13:55:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-custtom-SAS-Table/m-p/862467#M340685</guid>
      <dc:creator>SasStatistics</dc:creator>
      <dc:date>2023-03-06T13:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custtom SAS Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-custtom-SAS-Table/m-p/862469#M340686</link>
      <description>&lt;P&gt;You need a colon in the INPUT statement before YYMMDD10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;input date :yymmdd10. customer_id segment_generation_1 &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Mar 2023 14:08:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-custtom-SAS-Table/m-p/862469#M340686</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-03-06T14:08:57Z</dc:date>
    </item>
  </channel>
</rss>

