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
SAS Super FREQ
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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 712 views
  • 0 likes
  • 3 in conversation