<?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: Print observations in a row in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393413#M3373</link>
    <description>I'd be very thankful if you can create a macro, because this is not going to be a one-time SAS code for me.</description>
    <pubDate>Wed, 06 Sep 2017 02:03:14 GMT</pubDate>
    <dc:creator>Alireza_Boloori</dc:creator>
    <dc:date>2017-09-06T02:03:14Z</dc:date>
    <item>
      <title>Print observations in a row</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393407#M3371</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I want to print all observations under a variable, it prints them in a column format (i.e., each observation is listed right below the previous one). However, how can I print all observations in a row format (i.e., all observations are listed adjasent to each other)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea/thought is really appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 00:39:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393407#M3371</guid>
      <dc:creator>Alireza_Boloori</dc:creator>
      <dc:date>2017-09-06T00:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Print observations in a row</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393410#M3372</link>
      <description>&lt;P&gt;You'll need to manually use a PUT statement within a data step to control your output.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you could select the row, transpose your data and then use PROC PRINT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is something you do regularly I'd probably create a macro to handle this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 01:09:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393410#M3372</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-06T01:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Print observations in a row</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393413#M3373</link>
      <description>I'd be very thankful if you can create a macro, because this is not going to be a one-time SAS code for me.</description>
      <pubDate>Wed, 06 Sep 2017 02:03:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393413#M3373</guid>
      <dc:creator>Alireza_Boloori</dc:creator>
      <dc:date>2017-09-06T02:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Print observations in a row</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393596#M3382</link>
      <description>&lt;P&gt;Show an example starting data set and the desired resulting data set.&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 15:13:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393596#M3382</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-06T15:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Print observations in a row</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393617#M3383</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/147550"&gt;@Alireza_Boloori&lt;/a&gt; wrote:&lt;BR /&gt;I'd be very thankful if you can create a macro, because this is not going to be a one-time SAS code for me.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm happy to help, not to write your code. If this is not a one time use you should also understand it thoroughly. I suggest coding it for a 'Base case' then we can help you turn it into a macro. For example, how to get all Names from SASHELP.CLASS on a single line. You didn't want any delimiter between the values?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the PUT Statement Documentation for examples&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#n1spe7nmkmi7ywn175002rof97fv.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#n1spe7nmkmi7ywn175002rof97fv.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 16:15:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Print-observations-in-a-row/m-p/393617#M3383</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-06T16:15:37Z</dc:date>
    </item>
  </channel>
</rss>

