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);
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
  • 1281 views
  • 0 likes
  • 2 in conversation