BookmarkSubscribeRSS Feed
smm662002
Quartz | Level 8

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

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

You need to provide an example we can reproduce, and explain where your expectations are not met.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1083 views
  • 0 likes
  • 2 in conversation