<?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: Is it possible to get code that will replicate an existing table? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-get-code-that-will-replicate-an-existing-table/m-p/632151#M77782</link>
    <description>&lt;P&gt;Thank you, it worked like a charm!&lt;/P&gt;</description>
    <pubDate>Sat, 14 Mar 2020 14:03:05 GMT</pubDate>
    <dc:creator>UniversitySas</dc:creator>
    <dc:date>2020-03-14T14:03:05Z</dc:date>
    <item>
      <title>Is it possible to get code that will replicate an existing table?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-get-code-that-will-replicate-an-existing-table/m-p/632143#M77779</link>
      <description>&lt;P&gt;I was wondering if SAS has some sort of way to automatically generate a code like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; temp&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token statement"&gt;infile&lt;/SPAN&gt; DATALINES dsd missover&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;input&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;ID&lt;/SPAN&gt; Miles Windows Occupants&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token datalines"&gt;&lt;SPAN class="token keyword"&gt;CARDS&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;SPAN class="token data string"&gt;01, 100, 2, 5
02, 200, 4, 5
03, 300, 2, .
04, ., 6, 2
05, 500, ., 8
06, 600, ., .
07, 700, 4, 5
08, 800, 4, .
02, 4, 1.7, 3
02, 5, 5.1, 4&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to replicate an existing table, in the event we want to share our code, without providing the original data set, so that&lt;/P&gt;&lt;P&gt;someone can just highlight our code and run it. Is it possible? I only have about 100 rows, which isn't much but it would be an absolute&lt;/P&gt;&lt;P&gt;pain to type out.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 13:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-get-code-that-will-replicate-an-existing-table/m-p/632143#M77779</guid>
      <dc:creator>UniversitySas</dc:creator>
      <dc:date>2020-03-14T13:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get code that will replicate an existing table?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-get-code-that-will-replicate-an-existing-table/m-p/632144#M77780</link>
      <description>&lt;P&gt;See my footnotes, there's a link to a macro that does that.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 13:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-get-code-that-will-replicate-an-existing-table/m-p/632144#M77780</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-14T13:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get code that will replicate an existing table?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-get-code-that-will-replicate-an-existing-table/m-p/632147#M77781</link>
      <description>&lt;P&gt;Check this out&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_blank"&gt;https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 13:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-get-code-that-will-replicate-an-existing-table/m-p/632147#M77781</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-03-14T13:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get code that will replicate an existing table?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-get-code-that-will-replicate-an-existing-table/m-p/632151#M77782</link>
      <description>&lt;P&gt;Thank you, it worked like a charm!&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 14:03:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-get-code-that-will-replicate-an-existing-table/m-p/632151#M77782</guid>
      <dc:creator>UniversitySas</dc:creator>
      <dc:date>2020-03-14T14:03:05Z</dc:date>
    </item>
  </channel>
</rss>

