BookmarkSubscribeRSS Feed
deleted_user
Not applicable
how can i create two outputs? One html and one excel. I am using the tagset tableeditor.
ods tagsets.tableeditor file= "final.xls"
options(banner_color_odd="#CCFFCC"
banner_color_even="WHITE");

The prob is I also need an html file. Is there a way I can use two ods tagsets?
3 REPLIES 3
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Have a look at the (ID=n) parameter coded on the ODS HTML statement, permitting two different output destinations with a single PROC/DATA step execution.

Scott Barry
SBBWorks, Inc.
Cynthia_sas
Diamond | Level 26
Hi:
Sorry, I misread your original post. The ID suboption allows you to create 2 files at once using the same destination. You can use an identifier within parentheses immediately after the destination name. The "ID=" is optional and the identifying string can be text or numbers --without quotes.
cynthia
[pre]

ods tagsets.tableeditor(one) file='te1.xls' ....;
ods tagsets.tableeditor(ID=2) file='te2.xls' ....;



ods _all_ close;
[/pre]
cynthia
deleted_user
Not applicable
Many thanks to all of you!

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 lock in 2025 pricing—just $495!

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
  • 3 replies
  • 1321 views
  • 0 likes
  • 3 in conversation