BookmarkSubscribeRSS Feed
hein68
Quartz | Level 8

Can someone help me figure out why I'm getting these error messages and how to get rid of them?

 

ERROR: The PNG driver can not find any fonts.  No output will be created.

ERROR: .

ERROR: Fatal ODS error has occurred. Unable to continue processing this output

       destination.

WARNING: No body file. RTF output will not be created.

 

Thanks!

2 REPLIES 2
ballardw
Super User

Code, from your ODS destination state through the step that created this error. Copy the code and ALL messages from the log and paste into a code box on the forum opened with the </> icon.

 

 

hein68
Quartz | Level 8

Sure, here is the code:

 

libname data 'L:\RESEARCH\Statwork\tsaeidzadeh\Moon, Chooza\Alzheimers Association\SAS\data';

libname fmts 'L:\RESEARCH\Statwork\tsaeidzadeh\Moon, Chooza\Alzheimers Association\SAS\Formats';

%PUT &SYSDATE &SYSTIME;      /*PUT DATE & TIME ON LOG        */
%LET CURTIME=%SYSFUNC(TIME(),TIMEAMPM11.0);
%LET CURDATE=%SYSFUNC(TODAY(),WORDDATE.);
FOOTNOTE font="sas monospace" height=1 "This output was created at &CURTIME on &CURDATE";

options nocenter pagesize = 120 linesize = 80 date pageno=1 errors = 2
        topmargin=.5 in leftmargin=.25 in rightmargin=.25 in bottommargin=.5 in
        orientation=portrait;
options nosymbolgen nomlogic nomprint;
options fmtsearch = (fmts.Formats);
options nofmterr; *if SAS can't find format, it will continue;
title;
ods noproctitle;


proc format /*library=fmts.format*/ fmtlib;
*Eligibility;
      Value yesno 1='Yes' 0='No';
run;

And here is the log:

 

;*';*";*/;quit;run;
2          OPTIONS PAGENO=MIN;
3          %LET _CLIENTTASKLABEL='Run1st';
4          %LET _CLIENTPROCESSFLOWNAME='Process Flow';
5          %LET _CLIENTPROJECTPATH='L:\RESEARCH\Statwork\tsaeidzadeh\Moon,
5        ! Chooza\Alzheimers Association\SAS\pgm\mcalzassoc.egp';
6          %LET _CLIENTPROJECTPATHHOST='NRSG-NB-412L';
7          %LET _CLIENTPROJECTNAME='mcalzassoc.egp';
8          %LET _SASPROGRAMFILE='L:\RESEARCH\Statwork\tsaeidzadeh\Moon,
8        ! Chooza\Alzheimers Association\SAS\pgm\Run1st.sas';
9          %LET _SASPROGRAMFILEHOST='NRSG-NB-412L';
10         
11         ODS _ALL_ CLOSE;
12         OPTIONS DEV=PNG;
13         GOPTIONS XPIXELS=0 YPIXELS=0;
14         FILENAME EGRTF TEMP;
15         ODS RTF(ID=EGRTF) FILE=EGRTF
16             ENCODING='utf-8'
17             STYLE=Rtf
18             NOGTITLE
19             NOGFOOTNOTE
20         ;
ERROR: The PNG driver can not find any fonts.  No output will be created.
ERROR: The PNG driver can not find any fonts.  No output will be created.
ERROR: .
ERROR: Fatal ODS error has occurred. Unable to continue processing this output 
       destination.
WARNING: No body file. RTF output will not be created.
21         FILENAME EGPDF TEMP;
22         ODS PDF(ID=EGPDF) FILE=EGPDF STYLE=Pearl;
ERROR: The PNG driver can not find any fonts.  No output will be created.
ERROR: The PNG driver can not find any fonts.  No output will be created.
ERROR: .
23         FILENAME EGSR TEMP;
24         ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR
25             STYLE=HTMLBlue
26             STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASEnterprise
26       ! Guide/7.1/Styles/HTMLBlue.css")
27             NOGTITLE
28             NOGFOOTNOTE
29             GPATH=&sasworklocation
30             ENCODING=UTF8
31             options(rolap="on")
32         ;
NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR
33         
34         GOPTIONS ACCESSIBLE;
35         *Chooza Moon: Alzheimers Association;
36         
37         libname data 'L:\RESEARCH\Statwork\tsaeidzadeh\Moon,
37       ! Chooza\Alzheimers Association\SAS\data';
NOTE: Libref DATA refers to the same physical library as TMP00001.
NOTE: Libref DATA was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: L:\RESEARCH\Statwork\tsaeidzadeh\Moon, Chooza\Alzheimers 
      Association\SAS\data
38         
39         libname fmts 'L:\RESEARCH\Statwork\tsaeidzadeh\Moon,
39       ! Chooza\Alzheimers Association\SAS\Formats';
NOTE: Libref FMTS was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: L:\RESEARCH\Statwork\tsaeidzadeh\Moon, Chooza\Alzheimers 
      Association\SAS\Formats
40         
41         %PUT &SYSDATE &SYSTIME;      /*PUT DATE & TIME ON LOG        */
17SEP20 08:33
42         %LET CURTIME=%SYSFUNC(TIME(),TIMEAMPM11.0);
43         %LET CURDATE=%SYSFUNC(TODAY(),WORDDATE.);
44         FOOTNOTE font="sas monospace" height=1 "This output was created at
44       ! &CURTIME on &CURDATE";
45         
46         options nocenter pagesize = 120 linesize = 80 date pageno=1 errors =
46       ! 2
47                 topmargin=.5 in leftmargin=.25 in rightmargin=.25 in
47       ! bottommargin=.5 in
48                 orientation=portrait;
49         options nosymbolgen nomlogic nomprint;
50         options fmtsearch = (fmts.Formats);
51         options nofmterr; *if SAS can't find format, it will continue;
52         title;
53         ods noproctitle;
54         
55         
56         proc format /*library=fmts.format*/ fmtlib;
57         *Eligibility;
58              
58       !  Value yesno 1='Yes' 0='No';
NOTE: Format YESNO is already on the library WORK.FORMATS.
NOTE: Format YESNO has been output.
59         run;

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.01 seconds
      cpu time            0.00 seconds
      

60         
61         GOPTIONS NOACCESSIBLE;
62         %LET _CLIENTTASKLABEL=;
63         %LET _CLIENTPROCESSFLOWNAME=;
64         %LET _CLIENTPROJECTPATH=;
65         %LET _CLIENTPROJECTPATHHOST=;
66         %LET _CLIENTPROJECTNAME=;
67         %LET _SASPROGRAMFILE=;
68         %LET _SASPROGRAMFILEHOST=;
69         
70         ;*';*";*/;quit;run;
71         ODS _ALL_ CLOSE;
72         
73         
74         QUIT; RUN;
75         

Thanks!

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 618 views
  • 0 likes
  • 2 in conversation