Data visualization with SAS programming

SAS/GRAPH license?

Reply
N/A
Posts: 0

SAS/GRAPH license?

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.
SAS Super FREQ
Posts: 890

Re: SAS/GRAPH license?

There appears to a problem with your SAS/GRAPH product license. I would call Tech Support and see if they can help you with that.
Valued Guide
Posts: 2,111

Re: SAS/GRAPH license?

Rob,

If you open SAS (not EGuide) and run
PROC SETINIT; RUN;
it will tell you what products are included in your SAS 9.1 license.

The SAS EGuide sample data comes on the EGuide CD; you can get the data from your IT support folk. "SAS for Dummies" was written for EGuide 4.1, so the user interface is a bit different than you see in EGuide 3.0 . Check out this thread for something on sample data
http://support.sas.com/forums/thread.jspa?threadID=2991

Doc Muhlbaier
Duke
N/A
Posts: 0

Re: SAS/GRAPH license?

OK, I don't seem to have it ;(
SAS Employee
Posts: 967

Re: SAS/GRAPH license?

Even if "proc setinit" says you're licensed for SAS/Graph, you might not actually have it installed. If the following short sample produces a graph, then SAS/Graph is licensed and installed ...

data a;
x=1;
run;

proc gplot data=a;
plot x*x;
run;
Ask a Question
Discussion stats
  • 4 replies
  • 593 views
  • 0 likes
  • 4 in conversation