The SAS Output Delivery System and reporting techniques

Questions Table of Contents

Reply
New Contributor
Posts: 2

Questions Table of Contents

I created a report using DATA_NULL_ Steps. The output is a PDF file.

Then I wantto insert an outomatic contstructed table of contents (ods pdf content=yes).

The constructionof the Report is in like this:

DATA _NULL_

Dcl odsout obj();

Ods proclabel“heading1”;

Obj.format_text(data:”heading1”);

Obj.format_text(data:”alittle bit of text”);

Obj.table_start(name:”heading1”);

Obj.row_start();

Obj.format.cell(data:“note1“);

Obj.format.cell(data:note2”);

Obj.row_end();

Obj.table_end();

Run;

This constructionrepeats a couple of times

When youexecute the program a table of contents is printed on the first page of the pdffile.

This lookslike this:

Table ofContent

Überschrift…………1

DATA _NULL_........1

DATA _NULL_........1

DATA _NULL_........1

.

How can Iinsert the TOC on page 2 of the document? I want to have a title page at thebeginning so the TOC should be placed after the title page.

How can Idelete or supress the output of the subheadings in the TOC

(the DATA _NULL_text)?

SAS Super FREQ
Posts: 8,743

Questions Table of Contents

Hi,

I am not sure that anything can appear before the TOC page with ODS PDF. But since you are using the DATA step object syntax, you might want to work with Tech Support on this question. I thought the object syntax was still pre-production, so there might not be a way to do what you want with the TOC. If there is a way to change the node information, Tech Support can help you with figuring that out.

  

Cynthia

New Contributor
Posts: 2

Questions Table of Contents

I wrote to the German Tech Support.

They said that the DATA STEP is still a Pre-Production and therefore they can't send the Question to Cary to ask.

So at the moment it's not possible to change the TOC the way i like to.

Ask a Question
Discussion stats
  • 2 replies
  • 157 views
  • 0 likes
  • 2 in conversation