<?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: Help with re-formatting a table in Enterprise Guide in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-with-re-formatting-a-table-in-Enterprise-Guide/m-p/109769#M9396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what I needed.&amp;nbsp; Thanks so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2012 20:20:43 GMT</pubDate>
    <dc:creator>arogers</dc:creator>
    <dc:date>2012-12-27T20:20:43Z</dc:date>
    <item>
      <title>Help with re-formatting a table in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-with-re-formatting-a-table-in-Enterprise-Guide/m-p/109767#M9394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with variable names (string values) in column form that come from a user input.&amp;nbsp; There is always 1 column with the header called "Name" but the number of rows in the column is undefined (based on user input, the variable list is currently called by the macro &amp;amp;THRES_VARS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Example Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Name&lt;/P&gt;&lt;P&gt;Variable1&lt;/P&gt;&lt;P&gt;Variable2&lt;/P&gt;&lt;P&gt;Variable3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the resulting output to be a 1 column 1 row table that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Variable1+Variable2+Variable3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to produce code/macro to produce the output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 19:32:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-with-re-formatting-a-table-in-Enterprise-Guide/m-p/109767#M9394</guid>
      <dc:creator>arogers</dc:creator>
      <dc:date>2012-12-27T19:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help with re-formatting a table in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-with-re-formatting-a-table-in-Enterprise-Guide/m-p/109768#M9395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;assuming you literally want it separated by "+"&lt;/P&gt;&lt;P&gt;Here's one way via code.&amp;nbsp; You can change the delimiter as you like as well.&amp;nbsp; Make sure the initial length of the variable is long enough to hold the resulting string.&lt;/P&gt;&lt;P&gt;firstobs is set to 2 so that the name is not included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;length variable $512;&lt;/P&gt;&lt;P&gt;set have (firstobs=2) end=eof;&lt;/P&gt;&lt;P&gt;retain variable;&lt;/P&gt;&lt;P&gt;variable=catx("+", variable, your_variable);&lt;/P&gt;&lt;P&gt;if eof then output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 20:05:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-with-re-formatting-a-table-in-Enterprise-Guide/m-p/109768#M9395</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-12-27T20:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with re-formatting a table in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-with-re-formatting-a-table-in-Enterprise-Guide/m-p/109769#M9396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what I needed.&amp;nbsp; Thanks so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 20:20:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-with-re-formatting-a-table-in-Enterprise-Guide/m-p/109769#M9396</guid>
      <dc:creator>arogers</dc:creator>
      <dc:date>2012-12-27T20:20:43Z</dc:date>
    </item>
  </channel>
</rss>

