Date: Sun, 9 Jan 2011 11:10:05 -0500
Reply-To: Véronique Bourcier
<veronique.bourcier@SASREFERENCE.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Véronique Bourcier
<veronique.bourcier@SASREFERENCE.FR>
Subject: ods graphics - sgpanel
Content-Type: text/plain; charset=ISO-8859-1
Dear All,
I'm using SAS 9. on Windows. I'm trying to use proc sgpanel and save the
result in a pdf file. I get a error note but I cannot figure out where is
coming from the problem precisely enough to solve the issue.
NOTE: The SAS System stopped processing this step because of errors.
Here is my program and my log message
Best Regards,
Véronique
________________________________________________
The program
________________________________________________
%let root_feedback=C:\test;
proc freq data=sashelp.class;
tables (sex)*(age) / nocol nopercent nocum norow;
ods exclude CrossTabFreqs;
ods output CrossTabFreqs=class_freq (keep=sex age frequency where=(sex ne '
' and age ne .));
run;
proc print data=class_freq;
run;
ods graphics on/reset;
options orientation=portrait;
ods pdf file="&root_feedback.\class_stat.pdf" notoc;
proc sgpanel data=class_freq;
panelby sex;
vbar age / response=frequency;
run;
ods pdf close;
ods graphics off;
________________________________________________
The log:
________________________________________________
N7301
17302 ods graphics on/reset;
17303 options orientation=portrait;
17304 ods pdf file="&root_feedback.\class_stat.pdf" notoc;
NOTE: Writing ODS PDF output to DISK destination
"C:\class_stat.pdf", printer "PDF".
17305
17306 proc sgpanel data=class_freq;
17307 panelby sex;
17308 vbar age / response=frequency;
17309 run;
NOTE: Since no format is assigned, the numeric category variable will use
the default of BEST6.
NOTE: PROCEDURE SGPANEL used (Total process time):
real time 0.48 seconds
cpu time 0.14 seconds
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 12 observations read from the data set WORK.CLASS_FREQ.
17310
17311 ods pdf close;
NOTE: ODS PDF printed 1 page to C:\Documents and
Settings\eziqv\Desktop\timing_macros\class_stat.pdf.
17312 ods graphics off;