BookmarkSubscribeRSS Feed
merrittr
Obsidian | Level 7

I have a SAS/IntrNet 9.4 install and some old sasprograms that previously ran on a SAS 9.2 version ,we are on sas 9.4 now

 

what i am having problems with is the old server has some *.sas scripts that have Proc Templates setting up some custome CSS

 

and the old IntrNet programs reference these 

 

 

one of the "programs has:

%IF &output=html %THEN %DO;
ods &outtype file=_webout style=UofS ;

 

 

one of the sas files contains the following not sure how I get the above progra to use this "style"

proc template;
define style Styles.UofS / store = TEMPLATE.TEMPLATES;
style Default /
marginleft = 0
backgroundimage = _undef_
padding = 5
borderrightstyle = _undef_
marginright = 0
fontsize = 12pt
bordertopwidth = 0px
textdecoration = _undef_
backgroundcolor = transparent
borderbottomwidth = 0px
fontweight = medium
borderleftstyle = _undef_
watermark = off
color = #366608
borderspacing = 0
marginbottom = 0
borderrightwidth = 0px
borderbottomcolor = #366608
margintop = 0
fontstyle = roman
borderleftcolor = #366608
bordertopstyle = _undef_
bordertopcolor = #366608
borderbottomstyle = _undef_
fontfamily =
"Trebuchet MS, Helvetica, <sans-serif>, <MTsans-serif>, sans-serif"
borderrightcolor = #366608
borderleftwidth = 0px;

 

 

1 REPLY 1
SASKiwi
PROC Star

Try an ODS PATH statement like this:

 

ods path template.templates sashelp.tmplmst(read);

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 923 views
  • 0 likes
  • 2 in conversation