<?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: Proc print is not working in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-is-not-working/m-p/821981#M324536</link>
    <description>&lt;P&gt;Hardly possible to help without knowing what happened before proc print was executed. And "knowing" means, i would have to see code and log of everything than ran before. Maybe you have something like "ods close all" in the code.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2022 05:20:37 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2022-07-07T05:20:37Z</dc:date>
    <item>
      <title>Proc print is not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-is-not-working/m-p/821980#M324535</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I am doing proc print but I don;t see any printed output on screen.&lt;/P&gt;
&lt;P&gt;I run:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=sashelp.cars(obs=5) noobs;
Run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I went to tools---options---Results---Results general--- and ticked&amp;nbsp; sas report,HTML&lt;/P&gt;
&lt;P&gt;I also added command ods listing and still it is not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I opened a new sas and then it is working well,&lt;/P&gt;
&lt;P&gt;may anyone telling what happened?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 05:13:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-is-not-working/m-p/821980#M324535</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2022-07-07T05:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print is not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-is-not-working/m-p/821981#M324536</link>
      <description>&lt;P&gt;Hardly possible to help without knowing what happened before proc print was executed. And "knowing" means, i would have to see code and log of everything than ran before. Maybe you have something like "ods close all" in the code.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 05:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-is-not-working/m-p/821981#M324536</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-07-07T05:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print is not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-is-not-working/m-p/822013#M324556</link>
      <description>&lt;P&gt;I suspect either of two things:&lt;/P&gt;
&lt;P&gt;1. You have an ODS destination open, but the select list is set to NONE.&lt;/P&gt;
&lt;P&gt;2. All ODS destinations are closed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To make sure that the select list is set to ALL, submit the statement&lt;/P&gt;
&lt;P&gt;ODS SELECT ALL;&lt;/P&gt;
&lt;P&gt;ODS SHOW;&lt;/P&gt;
&lt;P&gt;The log will display the status of the ODS destinations. You want to see something such as&amp;nbsp;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Current OVERALL select list is: ALL&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt;&amp;nbsp;suggested, the other possibility is that all destinations are closed. To test that possibility, use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS SELECT ALL;&lt;BR /&gt;PROC PRINT&amp;nbsp;data=sashelp.vdest;&amp;nbsp; RUN;&lt;/P&gt;
&lt;P&gt;If a destination is open, the output will show a table such as&amp;nbsp;&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Print: Data Set SASHELP.VDEST" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r header" scope="col"&gt;Obs&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;destination&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;style&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;1&lt;/TH&gt;
&lt;TD class="l data"&gt;HTML&lt;/TD&gt;
&lt;TD class="l data"&gt;HTMLBlue&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;If the log reports&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NOTE: No observations in data set SASHELP.VDEST.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;then you need to open an ODS destination such as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS HTML;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 10:19:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-is-not-working/m-p/822013#M324556</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-07-07T10:19:26Z</dc:date>
    </item>
  </channel>
</rss>

