BookmarkSubscribeRSS Feed
deleted_user
Not applicable
hi viewers,

Wish u a happy new year 2008.

An HTML file contains a SAS report. Which ODS statement option is used to specify the name of the HTML file..

Thanks,
srinu.m
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi...
The FILE= or BODY= options can be used to specify the name of the report output file created. These two options are actually interchangeable. Most folks generating HTML files use BODY= because what they generate with SAS and ODS is what goes inside an HTML <BODY> tag. But, FILE= works equally as well.

In addtion, CONTENTS=, PAGE=, FRAME= and STYLESHEET= can ALSO specify names of external files to be created by ODS. Consult the ODS documentation for a more thorough description of all of these options.

cynthia

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1099 views
  • 0 likes
  • 2 in conversation