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