<?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 LIFETEST makes unwanted entry in ods pdf TOC in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-LIFETEST-makes-unwanted-entry-in-ods-pdf-TOC/m-p/944940#M370230</link>
    <description>&lt;P&gt;Bari Lawhorn has a great paper on PDF TOC: &lt;A href="https://support.sas.com/resources/papers/proceedings11/252-2011.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings11/252-2011.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;She presented it as a webinar to BASUG last year.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The slides are:&amp;nbsp;&lt;A href="https://www.basug.org/_files/ugd/6fce8c_aba2be0893314fa3bb3ca2c22fc1fc90.pdf" target="_blank"&gt;https://www.basug.org/_files/ugd/6fce8c_aba2be0893314fa3bb3ca2c22fc1fc90.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The recoding is:&amp;nbsp;&lt;A href="https://www.basug.org/videos?wix-vod-video-id=a17c9abb623e4f64b2ef843b0589dad3&amp;amp;wix-vod-comp-id=comp-klv807gt" target="_blank"&gt;https://www.basug.org/videos?wix-vod-video-id=a17c9abb623e4f64b2ef843b0589dad3&amp;amp;wix-vod-comp-id=comp-klv807gt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2024 17:41:17 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2024-09-23T17:41:17Z</dc:date>
    <item>
      <title>PROC LIFETEST makes unwanted entry in ods pdf TOC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-LIFETEST-makes-unwanted-entry-in-ods-pdf-TOC/m-p/944933#M370228</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling with my ods pdf TOC when using PROC LIFETEST along with ODS SELECT.&lt;/P&gt;&lt;P&gt;Beside the text defined in the ODS PROCLABEL statement, I get a &lt;STRONG&gt;second line in the TOC named "Survival Curves"&lt;/STRONG&gt; which refers to the same graph. Can I get rid of it?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ods pdf output='mypath\filename.pdf' style = journal contents=on pdftoc = 1;&lt;BR /&gt;
ods graphics on;

ods listing gpath='mypath';
ods graphics / imagename="g_tte_1" imagefmt=png;
ods noproctitle;
ods proclabel = 'Figure 14.2.2.59    Kaplan-Meier Plot of Time to XXX';
ods select survivalPlot;

proc lifetest data=mydat plots =(survival(atrisk(outside(0.15)) test));
time T*censor(0);
strata group;
run;

ods graphics off;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dde.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100611i51082BF551BC16B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="dde.png" alt="dde.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 17:07:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-LIFETEST-makes-unwanted-entry-in-ods-pdf-TOC/m-p/944933#M370228</guid>
      <dc:creator>RowIges</dc:creator>
      <dc:date>2024-09-23T17:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LIFETEST makes unwanted entry in ods pdf TOC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-LIFETEST-makes-unwanted-entry-in-ods-pdf-TOC/m-p/944940#M370230</link>
      <description>&lt;P&gt;Bari Lawhorn has a great paper on PDF TOC: &lt;A href="https://support.sas.com/resources/papers/proceedings11/252-2011.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings11/252-2011.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;She presented it as a webinar to BASUG last year.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The slides are:&amp;nbsp;&lt;A href="https://www.basug.org/_files/ugd/6fce8c_aba2be0893314fa3bb3ca2c22fc1fc90.pdf" target="_blank"&gt;https://www.basug.org/_files/ugd/6fce8c_aba2be0893314fa3bb3ca2c22fc1fc90.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The recoding is:&amp;nbsp;&lt;A href="https://www.basug.org/videos?wix-vod-video-id=a17c9abb623e4f64b2ef843b0589dad3&amp;amp;wix-vod-comp-id=comp-klv807gt" target="_blank"&gt;https://www.basug.org/videos?wix-vod-video-id=a17c9abb623e4f64b2ef843b0589dad3&amp;amp;wix-vod-comp-id=comp-klv807gt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 17:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-LIFETEST-makes-unwanted-entry-in-ods-pdf-TOC/m-p/944940#M370230</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2024-09-23T17:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LIFETEST makes unwanted entry in ods pdf TOC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-LIFETEST-makes-unwanted-entry-in-ods-pdf-TOC/m-p/944985#M370244</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods document name=testAW(write);
ods select survivalPlot;
proc lifetest data=sashelp.bmt ;
time T*status(0);
strata group;
run;
ods document close;
proc document name=testAW;
list/ levels=all; run;
quit;



proc document name=testAW2(write);
setlabel \work.testAW\Lifetest#1\SurvivalPlot#1  "Figure 14.2.2.59    Kaplan-Meier Plot of Time to XXX";
copy \work.testAW\Lifetest#1\SurvivalPlot#1 to ^;  /*copy to current directory*/
run;
list/ levels=all; run;
quit;

/*Create the desired PDF file*/
proc document name=work.testAW2;
ods pdf file="c:\temp\want.pdf" style = journal contents=on pdftoc = 1;
replay;
run;
ods pdf close;
quit;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1727145196694.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100615i52BF8FD326F33C74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1727145196694.png" alt="Ksharp_0-1727145196694.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 02:34:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-LIFETEST-makes-unwanted-entry-in-ods-pdf-TOC/m-p/944985#M370244</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-09-24T02:34:10Z</dc:date>
    </item>
  </channel>
</rss>

