<?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: titles display twice in pdf file in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53801#M6666</link>
    <description>Thanks ArtC. To make sure my other options don't have effect on this codes, I shut down and restarted my SAS (v.9.2). &lt;BR /&gt;
But after I submit the code, I still got the PDF file that have duplicate titles. I mean on the top of the page, title2, title 4 and title 5 display and, within the graph image, the three titles also show up.</description>
    <pubDate>Tue, 21 Dec 2010 21:55:23 GMT</pubDate>
    <dc:creator>Fisher</dc:creator>
    <dc:date>2010-12-21T21:55:23Z</dc:date>
    <item>
      <title>titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53799#M6664</link>
      <description>My following code displays titles twice (above the graph and inside the graph):&lt;BR /&gt;
&lt;BR /&gt;
ods pdf file='test.pdf';&lt;BR /&gt;
title;&lt;BR /&gt;
title2 'title2';&lt;BR /&gt;
title4 'title4';&lt;BR /&gt;
proc sgplot data=.MeanValue;&lt;BR /&gt;
		   Xaxis label="Mean Score" values=(0 to 5 by 1);&lt;BR /&gt;
		   yaxis label="Items" ; &lt;BR /&gt;
		   hbar Item / response=Avg; &lt;BR /&gt;
		run;&lt;BR /&gt;
		quit;&lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
&lt;BR /&gt;
I am not sure this is a graph question or an ODS question. Thanks for any help.</description>
      <pubDate>Tue, 21 Dec 2010 20:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53799#M6664</guid>
      <dc:creator>Fisher</dc:creator>
      <dc:date>2010-12-21T20:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53800#M6665</link>
      <description>I have been unable to duplicate the problem.  Do you see the same behavior with just this code step and a fresh version of SAS?</description>
      <pubDate>Tue, 21 Dec 2010 21:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53800#M6665</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-12-21T21:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53801#M6666</link>
      <description>Thanks ArtC. To make sure my other options don't have effect on this codes, I shut down and restarted my SAS (v.9.2). &lt;BR /&gt;
But after I submit the code, I still got the PDF file that have duplicate titles. I mean on the top of the page, title2, title 4 and title 5 display and, within the graph image, the three titles also show up.</description>
      <pubDate>Tue, 21 Dec 2010 21:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53801#M6666</guid>
      <dc:creator>Fisher</dc:creator>
      <dc:date>2010-12-21T21:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53802#M6667</link>
      <description>Hi:&lt;BR /&gt;
  I agree with ArtC. I cannot duplicate this issue with the code below. If the problem persists after you restart SAS, then you should open a track with Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
options nodate nonumber;&lt;BR /&gt;
title; footnote;&lt;BR /&gt;
              &lt;BR /&gt;
ods pdf file='c:\temp\test_title.pdf';&lt;BR /&gt;
           &lt;BR /&gt;
title;&lt;BR /&gt;
title2 'title2';&lt;BR /&gt;
title4 'title4';&lt;BR /&gt;
  proc sgplot data=sashelp.class;&lt;BR /&gt;
    hbar age / response=weight stat=mean; &lt;BR /&gt;
  run;&lt;BR /&gt;
     &lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Tue, 21 Dec 2010 22:09:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53802#M6667</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-21T22:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53803#M6668</link>
      <description>Cynthia, I ran your code after I restarted my SAS. Unfortunately, I still got the same problem. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Fisher</description>
      <pubDate>Wed, 22 Dec 2010 00:53:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53803#M6668</guid>
      <dc:creator>Fisher</dc:creator>
      <dc:date>2010-12-22T00:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53804#M6669</link>
      <description>Can I send the PDF file created by your code to you by email?</description>
      <pubDate>Wed, 22 Dec 2010 15:17:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53804#M6669</guid>
      <dc:creator>Fisher</dc:creator>
      <dc:date>2010-12-22T15:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53805#M6670</link>
      <description>Hi:&lt;BR /&gt;
  At this point, since I cannot duplicate your issue, if your code is essentially the same as my test code, I have no idea what might be wrong. This is the point at which you need to start working with Tech Support. &lt;BR /&gt;
&lt;BR /&gt;
  If you open a track with Tech Support, they can look at all your code and at your output PDF and they can help you resolve this issue.&lt;BR /&gt;
 &lt;BR /&gt;
  To open a track with Tech Support, fill out the form at this link:&lt;BR /&gt;
&lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_blank"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 22 Dec 2010 15:51:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53805#M6670</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-22T15:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53806#M6671</link>
      <description>Finally, SAS technical support provided the reason and suggested a workaround to this problem.  Anyone suffered like me can go to here to avoid wasting more time:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/34/600.html" target="_blank"&gt;http://support.sas.com/kb/34/600.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks, SAS tech support team.</description>
      <pubDate>Wed, 22 Dec 2010 17:39:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53806#M6671</guid>
      <dc:creator>Fisher</dc:creator>
      <dc:date>2010-12-22T17:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53807#M6672</link>
      <description>Ah, that does explain it. I was testing in SAS 9.2 M2, which is why the problem did not occur in my test. Tech Support is, indeed, wonderful.&lt;BR /&gt;
 &lt;BR /&gt;
BTW, if you use this search string &lt;BR /&gt;
&lt;B&gt;duplicate titles PDF SGPLOT&lt;/B&gt; &lt;BR /&gt;
in the search facility SUPPORT.SAS.com, that TS Note is the first "hit".&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 22 Dec 2010 18:49:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/53807#M6672</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-22T18:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/845041#M26062</link>
      <description>&lt;P&gt;Thanks. I am happy to see that there are solutions to this problem because I am facing the same problem now. I cannot use RTF because use of PDF is the requirement of the work. I will try to see if I can use other ways to solve the issue. I am happy to find the others also have faced this issue and there might not be something wrong in the code. Thanks for this discussion.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 06:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/845041#M26062</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2022-11-18T06:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/845147#M26063</link>
      <description>Hi:&lt;BR /&gt;  The original issue as reported in 2010 was resolved by using a different version of SAS. The problem was reported in SAS 9.2 M1 version and I tested in SAS 9.2 M2 back in 2010, and did not have any issues. The current version of SAS is SAS 9.4 and I just tested the code again -- the code I posted on 12/21/2010 --  using 9.4M7 version and did not have any duplicate titles in the PDF file.&lt;BR /&gt;  If you are using a current version of SAS, 9.4 M6 or 9.4 M7 and the original problem has surfaced for you, it would be a good idea to work with Tech Support. Also, adding your new question to a 12 year old posting isn't very productive. Most folks won't wade through all the old postings to find the new question. It's better to make a new posting and refer back to the original post.&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 18 Nov 2022 16:51:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/845147#M26063</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-11-18T16:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/845395#M26075</link>
      <description>&lt;P&gt;Dear Madam,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that the source of issue is from the data itself. Because headers are not getting repeated for other reports but only for this one report coming from one dataset. It is a PDF in which I have collected multiple reports (about 30) below each other. It is a task related to patient profiles.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As guided by you, I will surely create a new post and will refer back to this post in that post if the issue persists and if it is related to SAS. At the moment, I think that it is a data issue and hence it needs to be resolved at the data level. Thanks a lot for the quick response.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanking you,&lt;/P&gt;
&lt;P&gt;Yours sincerely,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 05:06:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/845395#M26075</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2022-11-21T05:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/847728#M26099</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think now I know what the issue was as it is solved. The issue was that I was defining labels again when some columns appear twice in the report. I understood that the labels of columns need not be defined twice in the define statement after forward slash. That was the issue. Sharing here because it has got solved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanking you,&lt;/P&gt;
&lt;P&gt;Yours sincerely,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 07:41:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/847728#M26099</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2022-12-05T07:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/875365#M26292</link>
      <description>Hi did you ever find a solution? I am running into the same problem&lt;BR /&gt;</description>
      <pubDate>Thu, 11 May 2023 22:18:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/875365#M26292</guid>
      <dc:creator>scolitti1</dc:creator>
      <dc:date>2023-05-11T22:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/875371#M26293</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/386127"&gt;@scolitti1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi did you ever find a solution? I am running into the same problem&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/386127"&gt;@scolitti1&lt;/a&gt; You want to start your own thread, provide example data in the form of data step code and the ODS destination information and the procedure that duplicates your problem.&lt;/P&gt;
&lt;P&gt;You should also provide the version of SAS you are running.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are asking in a thread that is more than 12 years old, has had 2 major releases, 9.3 and 9.4 and incremental releases of SAS since then. So much of this thread is not applicable unless you are running an earlier version of SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 22:56:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/875371#M26293</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-11T22:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: titles display twice in pdf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/875428#M26294</link>
      <description>/*try NOGTITLE option*/&lt;BR /&gt;ods pdf file='c:\temp\test.pdf' nogtitle ;&lt;BR /&gt;title;&lt;BR /&gt;title2 'title2';&lt;BR /&gt;title4 'title4';&lt;BR /&gt;proc sgplot data=sashelp.class;&lt;BR /&gt;hbar age / response=weight;&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;</description>
      <pubDate>Fri, 12 May 2023 11:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-display-twice-in-pdf-file/m-p/875428#M26294</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-05-12T11:38:46Z</dc:date>
    </item>
  </channel>
</rss>

