<?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 How to remove level 2 bookmarks from this proc report in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735162#M35672</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Below is the code I am using to generate the PDF, I am in need of removing the level two bookmarks from the output. The highlited bookmarks from the below image. I tried multiple ways but I am not succesful. Please advise how to completely remove the highlited bookmarks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 325px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58306i449CA768552BA957/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods proclabel='TOC';
	  proc report nowd data=toc contents="" ;
	  columns node tlg combtit;
        define node     / group noprint;
	    define tlg      / display ' ' style(column)=[asis=on cellwidth=1.3in just=l color=blue] style(header)=[just=l] ;
	    define combtit  / display ' ' style(column)=[asis=on cellwidth=7.7in just=l color=blue] style(header)=[just=l] ;
        break before node / contents="" page;
	  run;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Apr 2021 03:43:54 GMT</pubDate>
    <dc:creator>bharath86</dc:creator>
    <dc:date>2021-04-19T03:43:54Z</dc:date>
    <item>
      <title>How to remove level 2 bookmarks from this proc report</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735162#M35672</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Below is the code I am using to generate the PDF, I am in need of removing the level two bookmarks from the output. The highlited bookmarks from the below image. I tried multiple ways but I am not succesful. Please advise how to completely remove the highlited bookmarks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 325px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58306i449CA768552BA957/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods proclabel='TOC';
	  proc report nowd data=toc contents="" ;
	  columns node tlg combtit;
        define node     / group noprint;
	    define tlg      / display ' ' style(column)=[asis=on cellwidth=1.3in just=l color=blue] style(header)=[just=l] ;
	    define combtit  / display ' ' style(column)=[asis=on cellwidth=7.7in just=l color=blue] style(header)=[just=l] ;
        break before node / contents="" page;
	  run;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 03:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735162#M35672</guid>
      <dc:creator>bharath86</dc:creator>
      <dc:date>2021-04-19T03:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove level 2 bookmarks from this proc report</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735225#M35679</link>
      <description>&lt;P&gt;Your code looks right.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class;
set sashelp.class;
retain id 1;
run;

ods pdf file='c:\temp\temp.pdf';
ods proclabel='TOC';
	  proc report  nowd data=class contents="" ;
        define id     / group noprint;
	    define name     / display ' ' style(column)=[asis=on cellwidth=1.3in just=l color=blue] style(header)=[just=l] ;
        break before id / contents="" page;
	  run;
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="image.png" style="width: 873px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58311iCC20A20C45B33395/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 12:10:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735225#M35679</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-04-19T12:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove level 2 bookmarks from this proc report</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735231#M35681</link>
      <description>&lt;P&gt;So I guess I am missing something in proc document procedure which generates bookmarks for next pages or items.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So is it the proc document procedure that generates bookmarks for every new item in a PDF ?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 12:44:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735231#M35681</guid>
      <dc:creator>bharath86</dc:creator>
      <dc:date>2021-04-19T12:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove level 2 bookmarks from this proc report</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735286#M35684</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If my code looks right, I dont get the output like you have. I still get those extra "Table 1 and Table 2" bookmarks. in my output using the same code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure how to control those second level nodes. I tried solutions from&amp;nbsp;&lt;A href="https://support.sas.com/kb/31/278.html" target="_blank"&gt;https://support.sas.com/kb/31/278.html&lt;/A&gt;&amp;nbsp;here as well. but still i get them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advise.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Bharath&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 15:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735286#M35684</guid>
      <dc:creator>bharath86</dc:creator>
      <dc:date>2021-04-19T15:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove level 2 bookmarks from this proc report</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735494#M35705</link>
      <description>Those Table1 Table2 marks must be from the PROC which is NOT PROC REPORT .</description>
      <pubDate>Tue, 20 Apr 2021 11:55:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735494#M35705</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-04-20T11:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove level 2 bookmarks from this proc report</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735547#M35706</link>
      <description>&lt;P&gt;Yeah, This is from proc document to assign labels to each object (TLF's). I am able to assign labels but cant suppress the next level bookmarks. I sthere a way to achieve this.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; make temp;
 dir \temp#1;

 %do by=1 %to &amp;amp;bycnt;
 %let thispath=%scan(&amp;amp;bylist,&amp;amp;by,|);
 copy \itemlib.&amp;amp;thisitem.&amp;amp;thispath to ^;
 %end;

 setlabel \work.&amp;amp;thisitem\temp#1 "&amp;amp;bookmark";
 run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Apr 2021 13:25:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735547#M35706</guid>
      <dc:creator>bharath86</dc:creator>
      <dc:date>2021-04-20T13:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove level 2 bookmarks from this proc report</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735550#M35707</link>
      <description>&lt;P&gt;Sorry . I am not familiar with proc documentation. Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp; know it.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 13:31:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735550#M35707</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-04-20T13:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove level 2 bookmarks from this proc report</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735553#M35708</link>
      <description>&lt;P&gt;Hmm ok, I tried a lot of her &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549" target="_blank"&gt;@Cynthia_sas&lt;/A&gt;&amp;nbsp;answers from the communities. Most of them are from report. May be&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549" target="_blank"&gt;@Cynthia_sas&lt;/A&gt;&amp;nbsp;if you can help me achieve this. Would be of great help. Do you want me to raise a diferent question and tag you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 13:37:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735553#M35708</guid>
      <dc:creator>bharath86</dc:creator>
      <dc:date>2021-04-20T13:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove level 2 bookmarks from this proc report</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735558#M35709</link>
      <description>Nopps, Just start a brand-new topic . And maybe other sas user could give you a hand.</description>
      <pubDate>Tue, 20 Apr 2021 13:48:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735558#M35709</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-04-20T13:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove level 2 bookmarks from this proc report</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735584#M35711</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You don't show ALL of your code, ALL the code, including the original procedures and ALL the PROC DOCUMENT code. No on can run your code without any data. However, I always recommend that you get all your code working to make the structure you want in PROC DOCUMENT before you macro-ize anything in a %DO loop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here is my original paper &lt;A href="https://support.sas.com/resources/papers/sgf09/318-2009.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/sgf09/318-2009.pdf&lt;/A&gt; on using PROC DOCUMENT and ODS DOCUMENT to replay and rearrange ODS output. As you can see, I did not macro-ize any folder/directory/object creation in the new Document store.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For detailed help, I recommend working with Tech Support. They can look at ALL your code and ALL your data and help you come to a resolution in getting the Table of Contents the way you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I recommend to my students that they start by making an entirely new (initially empty) document store, then design the folder structure they want and then copy objects one at a time and replay frequently, to make sure that phantom titles, page breaks or bookmarks from the original procedure output are not being accidentally copied into the new document store.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 14:39:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-remove-level-2-bookmarks-from-this-proc-report/m-p/735584#M35711</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-04-20T14:39:26Z</dc:date>
    </item>
  </channel>
</rss>

