i have this type of data
i want
i have font name but my font not working on my sas eg . font is "DVOT-SurekhMR".
PROC SQL;
CREATE TABLE WORK.have AS
SELECT t1.TOT_GOV_SCH,
t1.TOT_GOV_SCH_GRL,
t1.TOT_TCHR_GOV_SCH,
t1.TOT_TCHR_GOV_SCH_GRL,
t1.TOT_BOY_GOV_SCH,
t1.TOT_BOY_GOV_SCH_GRL
FROM Work.temp t1
;
QUIT;
ods rtf file="report.rtf" style=styles.minimal bodytitle_aux ;
proc report data= have;
run;
ods rtf file="c:\temp\report.rtf" style=styles.minimal bodytitle_aux ;
proc report data=sashelp.class nowd style(column)={fontfamily='DVOT-SurekhMR'};
run;
ods rtf close;
@Daily1 wrote:
Not Working. I need on rtf results
"Not working" is awful vague.
Are there errors in the log?: Post the code and log in a code box opened with the "</>" to maintain formatting of error messages.
No output? Post any log in a code box.
Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the "</>" icon or attached as text to show exactly what you have and that we can test code against.
Note that the reference SAS requires for some fonts may appear a bit differently than what you think the name is. Also since you mention SAS EG then your SAS is likely actually executing on a server. If that server does not have the font installed then it likely can't be used by EG. So contact your admins about the fonts installed on the server.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.