Hi,
I'm completely novice SAS user and have just installed SAS Enterprise Guide 3.0, having used (well run someone else's programmes for a while on) SAS 9.1.2 for a couple of years. I have recently updated my license but am not sure if this applies to Enterprise Guide also. On installing Enterprise Guide I also installed other accessory facilities including STAT/GRAPH java.
On setting out on my SAS for Dummies course I only get to page 30 when it suggests I try doing a simple chart. It doesn't work. I get the errors below.
Any ideas?
P.S. Does anyone know where I can get the test data it says comes with Enterprise Guide (Candy_Sales etc.)
1 The SAS System 15:56 Thursday, September 17, 2009
1 *';*";*/;run;
2 OPTIONS PAGENO=MIN;
3 LIBNAME ECLIB000 "C:\Program Files\SAS\SAS 9.1\maps";
NOTE: Libname ECLIB000 refers to the same physical library as EC100006.
NOTE: Libref ECLIB000 was successfully assigned as follows:
Engine: V9
Physical Name: C:\Program Files\SAS\SAS 9.1\maps
4
5 ODS _ALL_ CLOSE;
6 ODS PROCTITLE;
7 OPTIONS DEV=JPEG;
8
9 ODS LISTING;
10
11 %LET _CLIENTTASKLABEL=%NRBQUOTE(Pie Chart);
12 %LET _EGTASKLABEL=%NRBQUOTE(Pie Chart);
13
14 LIBNAME ECLIB000 "C:\Program Files\SAS\SAS 9.1\maps";
NOTE: Libname ECLIB000 refers to the same physical library as EC100006.
NOTE: Libref ECLIB000 was successfully assigned as follows:
Engine: V9
Physical Name: C:\Program Files\SAS\SAS 9.1\maps
15 %LET _EGCHARTWIDTH=0;
16 %LET _EGCHARTHEIGHT=0;
17 /* -------------------------------------------------------------------
18 Code generated by SAS Task
19
20 Generated on: Thursday, September 17, 2009 at 8:26:19 PM
21 By task: Pie Chart
22
23 Input Data: ECLIB000.UK2
24 Server: Local
25 ------------------------------------------------------------------- */
26
27 PROC SQL;
28 DROP VIEW WORK.SORT6903;
WARNING: File WORK.SORT6903.VIEW does not exist.
WARNING: View WORK.SORT6903 has not been dropped.
29 DROP TABLE WORK.SORT6903;
WARNING: File WORK.SORT6903.DATA does not exist.
WARNING: Table WORK.SORT6903 has not been dropped.
30 QUIT;
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
31
32 /* -------------------------------------------------------------------
33 Data set ECLIB000.UK2 does not need to be sorted.
34 ------------------------------------------------------------------- */
35 PROC SQL;
36 CREATE VIEW WORK.SORT6903
2 The SAS System 15:56 Thursday, September 17, 2009
37 AS SELECT * FROM ECLIB000.UK2(KEEP=REGION);
NOTE: SQL view WORK.SORT6903 has been defined.
38 QUIT;
NOTE: PROCEDURE SQL used (Total process time):
real time 0.03 seconds
cpu time 0.01 seconds
39 GOPTIONS xpixels=&_EGCHARTWIDTH ypixels=&_EGCHARTHEIGHT;
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
40 TITLE;
41 TITLE1 "Pie Chart";
42 FOOTNOTE;
43 FOOTNOTE1 "Generated by the SAS System (&_SASSERVERNAME, &SYSSCPL) on %SYSFUNC(DATE(),
43 ! EURDFDE9.) at %SYSFUNC(TIME(), TIMEAMPM8.)";
44 PROC GCHART DATA =WORK.SORT6903;
ERROR: The SAS/GRAPH product with which GCHART (2) is associated is either not licensed for your
system or the product license has expired. Please contact your SAS installation
representative.
ERROR: Bad product id for procedure GCHART.
45 PIE3D REGION /
46 NOLEGEND
47 SLICE=OUTSIDE
48 PERCENT=NONE
49 VALUE=OUTSIDE
50 OTHER=4
51 OTHERLABEL="Other"
52 COUTLINE=BLACK
53 ;
54 /* -------------------------------------------------------------------
55 End of task code.
56 ------------------------------------------------------------------- */
57 RUN; QUIT;
58 PROC SQL;
59 DROP VIEW WORK.SORT6903;
NOTE: View WORK.SORT6903 has been dropped.
60 DROP TABLE WORK.SORT6903;
WARNING: File WORK.SORT6903.DATA does not exist.
WARNING: Table WORK.SORT6903 has not been dropped.
61 QUIT;
NOTE: PROCEDURE SQL used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
62 TITLE; FOOTNOTE;
63 GOPTIONS RESET=ALL;
180
3 The SAS System 15:56 Thursday, September 17, 2009
ERROR 180-322: Statement is not valid or it is used out of proper order.
64
65
66 %LET _CLIENTTASKLABEL=;
67 %LET _EGTASKLABEL=;
68
69
70 ODS _ALL_ CLOSE; RUN;
71 *';*";*/;run;
72
73 QUIT; RUN;
74 %_egepilogue;
NOTE: Writing HTML Body file: _EGCLOSE
NOTE: 1 lines were written to file PRINT.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: Fileref _EGCLOSE has been deassigned.