Hello,
SAS VIYA LTS 2023.03
I have created a SAS Job to display the results of a qry using a proc report, but the styles used are never applied to the HTML Output. I have tried various combinations of styles with either html (or html5), but the output is different than presented in the documentation.
Thank you for your help.
The code is below.
filename f_htm filesrvc parenturi="&SYS_JES_JOB_URI" name='_webout.htm';
ods html file=f_htm style=festival; /*ods html5 file=f_htm style=highcontrast*/
proc report data=SAS_QREF.SALES nowindows split='~' spanrows
style(report)={font_size=9pt }
style(header)={just=center font_weight=bold font_size=9pt backgrondcolor=lightblue}
style(column)={font_size=9pt protectspecialchars=on};
column COMPANY CONTACT ADDRESS;
define COMPANY /order style(column)=[vjust=m just=l];
define CONTACT /display;
define ADDRESS /display;
run;
ods html close; /*ods html5 close;*/
Regards,
smm662002
You need to provide an example we can reproduce, and explain where your expectations are not met.
Calling all data scientists and open-source enthusiasts! Want to solve real problems that impact your company or the world? Register to hack by August 31st!
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.
Ready to level-up your skills? Choose your own adventure.