<?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 Proc Print in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19298#M3706</link>
    <description>Hi,&lt;BR /&gt;
Im using Proc Print to create a report.&lt;BR /&gt;
&lt;BR /&gt;
The Output is in text format:&lt;BR /&gt;
&lt;BR /&gt;
options ps=45 ls=250 nodate nocenter ;&lt;BR /&gt;
proc printto file="&amp;amp;tmpdir.Patient Summary - &amp;amp;label..txt" new;&lt;BR /&gt;
run;&lt;BR /&gt;
proc print data=all_pat noobs ;&lt;BR /&gt;
 var text;&lt;BR /&gt;
 by pat;&lt;BR /&gt;
 where hospno&amp;gt;=3067 and hospno&amp;lt;=3072;&lt;BR /&gt;
 pageby pat;   &lt;BR /&gt;
run;&lt;BR /&gt;
proc printto;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
At the begining of each page im getting the string "txt".&lt;BR /&gt;
I dont know how to get  rid of it...&lt;BR /&gt;
Any ideas?</description>
    <pubDate>Tue, 11 May 2010 06:00:47 GMT</pubDate>
    <dc:creator>yonib</dc:creator>
    <dc:date>2010-05-11T06:00:47Z</dc:date>
    <item>
      <title>Proc Print</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19298#M3706</link>
      <description>Hi,&lt;BR /&gt;
Im using Proc Print to create a report.&lt;BR /&gt;
&lt;BR /&gt;
The Output is in text format:&lt;BR /&gt;
&lt;BR /&gt;
options ps=45 ls=250 nodate nocenter ;&lt;BR /&gt;
proc printto file="&amp;amp;tmpdir.Patient Summary - &amp;amp;label..txt" new;&lt;BR /&gt;
run;&lt;BR /&gt;
proc print data=all_pat noobs ;&lt;BR /&gt;
 var text;&lt;BR /&gt;
 by pat;&lt;BR /&gt;
 where hospno&amp;gt;=3067 and hospno&amp;lt;=3072;&lt;BR /&gt;
 pageby pat;   &lt;BR /&gt;
run;&lt;BR /&gt;
proc printto;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
At the begining of each page im getting the string "txt".&lt;BR /&gt;
I dont know how to get  rid of it...&lt;BR /&gt;
Any ideas?</description>
      <pubDate>Tue, 11 May 2010 06:00:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19298#M3706</guid>
      <dc:creator>yonib</dc:creator>
      <dc:date>2010-05-11T06:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Print</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19299#M3707</link>
      <description>Suggest you review this item and then re-post your code, which was truncated:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=27609" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=27609&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
And remember to include your macro variable definition.  Better to paste your SAS-generated log instead of just the code for a better response from the forum.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.

Message was edited by: sbb</description>
      <pubDate>Tue, 11 May 2010 12:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19299#M3707</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-05-11T12:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Print</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19300#M3708</link>
      <description>Hi Scott,&lt;BR /&gt;
Thanks for the reference,&lt;BR /&gt;
here is my code:&lt;BR /&gt;
options ps=45 ls=250 nodate nocenter ;&lt;BR /&gt;
proc printto file="&amp;amp;tmpdir.Patient Summary - &amp;amp;label..txt" new;run;&lt;BR /&gt;
proc print data=all_pat noobs ;&lt;BR /&gt;
var text;&lt;BR /&gt;
by pat;&lt;BR /&gt;
where hospno&amp;gt;=3067 and hospno=4;&lt;BR /&gt;
proc print;run;&lt;BR /&gt;
&lt;BR /&gt;
The macro definitions are not releavent for my question.&lt;BR /&gt;
My problem is my output generate the string 'text' in each page (for each pat).&lt;BR /&gt;
Is there a way to get rid of it ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance</description>
      <pubDate>Tue, 11 May 2010 17:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19300#M3708</guid>
      <dc:creator>yonib</dc:creator>
      <dc:date>2010-05-11T17:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Print</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19301#M3709</link>
      <description>Hi:&lt;BR /&gt;
  the string 'text' is on PROC PRINT output because it is the variable NAME of the variable TEXT in your VAR statement. Either the variable NAME or the variable LABEL is used by PROC PRINT as a column HEADER. I believe this is what you are seeing from this statement:&lt;BR /&gt;
[pre]&lt;BR /&gt;
var text;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
    &lt;BR /&gt;
There have been previous forums postings on how to suppress column headers. Refer to these postings:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=10254⠎" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=10254⠎&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=27852泌" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=27852泌&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 11 May 2010 18:24:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19301#M3709</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-05-11T18:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Print</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19302#M3710</link>
      <description>Hi Cynthia,&lt;BR /&gt;
Got it, Thanks for your help !</description>
      <pubDate>Tue, 11 May 2010 19:50:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print/m-p/19302#M3710</guid>
      <dc:creator>yonib</dc:creator>
      <dc:date>2010-05-11T19:50:36Z</dc:date>
    </item>
  </channel>
</rss>

