LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (January 2011, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sun, 9 Jan 2011 12:01:28 -0500
Reply-To:     Nat Wooding <nathani@VERIZON.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Nat Wooding <nathani@VERIZON.NET>
Subject:      Re: ods graphics - sgpanel
In-Reply-To:  <201101091610.p09Bl5JU019274@wasabi.cc.uga.edu>
Content-Type: text/plain; charset="iso-8859-1"

Veronique

It occurred to me that I could test your ODS code using 9.1.3 and one of the graphics procs found there so I used GPLOT in place of SGPANEL. The code ran with no problems. My log was

39 40 ods graphics on/reset; NOTE: ODS Statistical Graphics will require a SAS/GRAPH license when it is declared production. 41 options orientation=portrait; 42 ods pdf file="&root_feedback.\class_stat.pdf" notoc; NOTE: Writing ODS PDF output to DISK destination "C:\park\class_stat.pdf", printer "PDF". 43 44 proc gplot data=class_freq; 45 plot frequency*age = sex; 46 symbol1 c = red i = join v = star; 47 symbol2 c = green i= join v = square; 48 run;

49 quit;

NOTE: There were 12 observations read from the data set WORK.CLASS_FREQ. NOTE: PROCEDURE GPLOT used (Total process time): real time 0.32 seconds cpu time 0.25 seconds

50 ods pdf close; NOTE: ODS PDF printed 1 page to C:\park\class_stat.pdf. 51 ods graphics off;

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

If no one offers any suggestions by tomorrow, I suggest that you contact SAS Tech Support.

Nat Wooding

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of V éronique Bourcier Sent: Sunday, January 09, 2011 11:10 AM To: SAS-L@LISTSERV.UGA.EDU Subject: ods graphics - sgpanel

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;


Back to: Top of message | Previous page | Main SAS-L page