<?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 Displaying data in Output Window in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40297#M10431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; To clarify:&lt;/P&gt;&lt;P&gt;HEADING=VERTICAL will always produce vertical headings, one character per line (as shown in SAS 1.jpg)&lt;/P&gt;&lt;P&gt;HEADING=HORIZONTAL should always produce horizontal headings, as shown in SAS 2.jpg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the doc:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002291718.htm"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002291718.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; With horizontal headings, all your columns might not fit in the LINESIZE for the listing window. Possible workarounds are: &lt;/P&gt;&lt;P&gt;1) For LISTING output, increase the LINESIZE option to the maximum (options linesize=256;) &lt;/P&gt;&lt;P&gt;2) For LISTING output, turn off centering to give maximum space (options linesize=256 nocenter;)&lt;/P&gt;&lt;P&gt;3) switch to ODS HTML output, which can be as wide as it needs to be (instead of using LISTING destination output)&lt;/P&gt;&lt;P&gt;4) if you do not want to switch to HTML output, then for LISTING output control the split of the column headers with the SPLIT= option in PROC PRINT and a LABEL statement that uses the SPLIT character (as described in the above documentation link).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2011 14:29:47 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2011-08-02T14:29:47Z</dc:date>
    <item>
      <title>Displaying data in Output Window</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40292#M10426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt;Occasionally, when I use Proc Print, it will display the variable names in the Output Window as per the attached diagram, &lt;STRONG&gt;SAS 1.jpg&lt;/STRONG&gt;. I find this difficult to read. Is there an option in SAS which will force the variable names to &lt;EM&gt;always&lt;/EM&gt; output to the window as per the second diagram, &lt;STRONG&gt;SAS 2.jpg&lt;/STRONG&gt;? I have looked for information online but can find nothing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt;TIA&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11285i535CC071362B53BD/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SAS 1.JPG" title="SAS 1.JPG" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11286i9D8F903C9BA54D81/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SAS 2.JPG" title="SAS 2.JPG" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 08:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40292#M10426</guid>
      <dc:creator>mediaeval</dc:creator>
      <dc:date>2011-08-02T08:34:45Z</dc:date>
    </item>
    <item>
      <title>Displaying data in Output Window</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40293#M10427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the heading=vertical option;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=xxxxx heading=vertical; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:13:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40293#M10427</guid>
      <dc:creator>trekvana</dc:creator>
      <dc:date>2011-08-02T14:13:59Z</dc:date>
    </item>
    <item>
      <title>Displaying data in Output Window</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40294#M10428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I think that it is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;heading=horizontal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way, you can see how to do it in the PROC PRINT documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:21:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40294#M10428</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-08-02T14:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying data in Output Window</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40295#M10429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doc- you are right. i thought mediaeval wanted the text to go from horizontal to vertical&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:24:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40295#M10429</guid>
      <dc:creator>trekvana</dc:creator>
      <dc:date>2011-08-02T14:24:33Z</dc:date>
    </item>
    <item>
      <title>Displaying data in Output Window</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40296#M10430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on the other responses, the OP will discover which one they really want.&amp;nbsp; However, since the OP wanted it to always look like the SAS2.jpg example, I vote for heading=horizontal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:27:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40296#M10430</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-02T14:27:40Z</dc:date>
    </item>
    <item>
      <title>Displaying data in Output Window</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40297#M10431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; To clarify:&lt;/P&gt;&lt;P&gt;HEADING=VERTICAL will always produce vertical headings, one character per line (as shown in SAS 1.jpg)&lt;/P&gt;&lt;P&gt;HEADING=HORIZONTAL should always produce horizontal headings, as shown in SAS 2.jpg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the doc:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002291718.htm"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002291718.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; With horizontal headings, all your columns might not fit in the LINESIZE for the listing window. Possible workarounds are: &lt;/P&gt;&lt;P&gt;1) For LISTING output, increase the LINESIZE option to the maximum (options linesize=256;) &lt;/P&gt;&lt;P&gt;2) For LISTING output, turn off centering to give maximum space (options linesize=256 nocenter;)&lt;/P&gt;&lt;P&gt;3) switch to ODS HTML output, which can be as wide as it needs to be (instead of using LISTING destination output)&lt;/P&gt;&lt;P&gt;4) if you do not want to switch to HTML output, then for LISTING output control the split of the column headers with the SPLIT= option in PROC PRINT and a LABEL statement that uses the SPLIT character (as described in the above documentation link).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:29:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40297#M10431</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-08-02T14:29:47Z</dc:date>
    </item>
    <item>
      <title>Displaying data in Output Window</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40298#M10432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks, everyone - I can't believe the solution is so simple! This has plagued me for ages &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:36:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40298#M10432</guid>
      <dc:creator>mediaeval</dc:creator>
      <dc:date>2011-08-02T14:36:49Z</dc:date>
    </item>
    <item>
      <title>Displaying data in Output Window</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40299#M10433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even though I have used SAS for &amp;gt;30 years, I still find myself going back to the documentation.&amp;nbsp; One thing that has been nice in the newest version of the Enterprise Guide program editor is that it has a syntax completion function.&amp;nbsp; It doesn't tell me what the option does, but it makes me aware of the presence of the option.&amp;nbsp; (F1 goes to the context sensitive help.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-data-in-Output-Window/m-p/40299#M10433</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-08-02T14:48:59Z</dc:date>
    </item>
  </channel>
</rss>

