Data visualization with SAS programming

Table of Contents

Reply
Contributor
Posts: 73

Table of Contents

Hello, I have been told by including the Contents option it will create a table of contents. It does not, only the proc freq and Mean are created.

Anyone know why?



ODS HTML FILE=”HTML_FILE.html”
CONTENTS=”HTML_CONTENTS.html”
FRAME=”HTML_FRAME.html”;
Proc Freq data=temp;
Tables x1*x2/list;
Run;
Proc Means data=temp;
Var x1 x2;
Run;
ODS HTML CLOSE;


Thanks

Fred
SAS Super FREQ
Posts: 8,814

Re: Table of Contents

Hi:
You have to open the FRAME= file in order to see the CONTENTS= and the FILE= output in the same HTML FRAMESET page. Are you saying that when you open the FRAME= file, you only see the FREQ and MEANS output??? Or are you saying that when you open the FILE= file, you only see the FREQ and MEANS output????

What do you see when you go to IE and open the HTML_FRAME.html file????

You can open the CONTENTS= file separately, and you will ONLY see the CONTENTS. It is the FRAME= file that contains the HTML FRAMESET tags that defines how all 3 files should be used together. (In the SAS Results Window, you do not automatically open the FRAME= file -- you have to find that file and open it in order to see the whole frame navigation structure.)

Also, I'm not clear on why you posted this question in the SAS/GRAPH and ODS Graphics forum -- there doesn't seem to be any graphic output generated in your program. (If you were using SAS/GRAPH, then you might need to also use PATH= and/or GPATH= options -- but that doesn't seem to be an issue in your case.)

cynthia
Contributor
Posts: 73

Re: Table of Contents

Hello

Ok I found the files you are refering to on my local drive?
Thanks that give me a starting point.

Reason for posting in that location was simply because it was ods, sorry if it is not the correct location, i try.

Fred
SAS Super FREQ
Posts: 8,814

Re: Table of Contents

Hi:
Glad you found the files. The description of THIS forum is pretty straightforward:
SAS/GRAPH and ODS Graphics
Welcome to the forum on graphics. The purpose of this forum is to discuss the visual representation of data using SAS/GRAPH and ODS Graphics. Use this forum to share your questions, suggestions, experiences and pains relating to graphics.


The better place to post general ODS and reporting questions (such as for ODS HTML and CONTENTS=) would be the ODS and Reporting forum, which can be found here:
http://support.sas.com/forums/forum.jspa?forumID=6

and the description is:
ODS and Base Reporting
This forum consists of discussions that pertain to ODS (Output Delivery System) and Base reporting features (PRINT, TABULATE, and REPORT procedures).


cynthia
Super User
Posts: 9,856

Re: Table of Contents

Because Cynthia is seasoned expert about it.
:-)


Ksharp Message was edited by: Ksharp
Ask a Question
Discussion stats
  • 4 replies
  • 198 views
  • 0 likes
  • 3 in conversation