<?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 table in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/creating-table/m-p/59012#M6034</link>
    <description>You can use variable lists in the rename statement/data set option:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data rename;&lt;BR /&gt;
	set want(rename=(a1-a600 = c1-c600));&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
    <pubDate>Mon, 03 Nov 2008 09:13:51 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2008-11-03T09:13:51Z</dc:date>
    <item>
      <title>creating table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/creating-table/m-p/59010#M6032</link>
      <description>I have a very simple question-&lt;BR /&gt;
&lt;BR /&gt;
I need to create a table with around 600 variables that, for many, are in the form A1 A2 A3 etc. Is there a way to quickly create these variables other than typing them into the table through the GUI and once they are there, is there a way to kind of 'find and replace' or rename? ex: A1 becomes B1 etc.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 31 Oct 2008 22:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/creating-table/m-p/59010#M6032</guid>
      <dc:creator>aabb</dc:creator>
      <dc:date>2008-10-31T22:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: creating table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/creating-table/m-p/59011#M6033</link>
      <description>Hi aabb&lt;BR /&gt;
&lt;BR /&gt;
That's how you create the numeric vars A1-A600 and the character vars B1-B600;&lt;BR /&gt;
&lt;BR /&gt;
data want;&lt;BR /&gt;
  array A {600};&lt;BR /&gt;
  array B {600} $10;&lt;BR /&gt;
run;&lt;BR /&gt;
proc contents data=want short;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
The renaming part you asked for would also be possible but needs a bit more programming. &lt;BR /&gt;
&lt;BR /&gt;
Why do you need this renaming? It sounds a bit odd...&lt;BR /&gt;
&lt;BR /&gt;
Regards, Patrick</description>
      <pubDate>Sat, 01 Nov 2008 12:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/creating-table/m-p/59011#M6033</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2008-11-01T12:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: creating table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/creating-table/m-p/59012#M6034</link>
      <description>You can use variable lists in the rename statement/data set option:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data rename;&lt;BR /&gt;
	set want(rename=(a1-a600 = c1-c600));&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Mon, 03 Nov 2008 09:13:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/creating-table/m-p/59012#M6034</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-11-03T09:13:51Z</dc:date>
    </item>
  </channel>
</rss>

