Learning SAS? Welcome to the exclusive online community for all SAS learners.

PROC GCHART not working in SAS University Edition

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 17
Accepted Solution

PROC GCHART not working in SAS University Edition

[ Edited ]

Hi all, I want to use the proc gchart, but the sas does not allow me to use it. Need help

libname module8 '/folders/myshortcuts/SASUniversityEdition/myfolders'  ;
proc print data= module8.bicycles;
run;
proc product_status;
run;

data bic; set module8.bicycles;
pattern value = empty;
proc
gchart data=bic;
block country ;
run;

here log

1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
61
62 libname module8 '/folders/myshortcuts/SASUniversityEdition/myfolders' ;
NOTE: Libref MODULE8 refers to the same physical library as MODULE7.
NOTE: Libref MODULE8 was successfully assigned as follows:
Engine: V9
Physical Name: /folders/myshortcuts/SASUniversityEdition/myfolders
63 proc print data= module8.bicycles;
NOTE: Data file MODULE8.BICYCLES.DATA is in a format that is native to another host, or the file encoding does not match the
session encoding. Cross Environment Data Access will be used, which might require additional CPU resources and might reduce
performance.
64 run;
 
NOTE: There were 18 observations read from the data set MODULE8.BICYCLES.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.27 seconds
cpu time 0.25 seconds
 
 
65 proc product_status;
66 run;
 
For Base SAS Software ...
Custom version information: 9.4_M4
Image version information: 9.04.01M4P110916
For SAS/STAT ...
Custom version information: 14.2
For SAS/ETS ...
Custom version information: 14.2
For SAS/IML ...
Custom version information: 14.2
For High Performance Suite ...
Custom version information: 2.2_M5
For SAS/ACCESS Interface to PC Files ...
Custom version information: 9.4_M4
NOTE: PROCEDURE PRODUCT_STATUS used (Total process time):
real time 0.04 seconds
cpu time 0.03 seconds
 
 
67
68 data bic; set module8.bicycles;
NOTE: Data file MODULE8.BICYCLES.DATA is in a format that is native to another host, or the file encoding does not match the
session encoding. Cross Environment Data Access will be used, which might require additional CPU resources and might reduce
performance.
69 pattern value = empty;
69 pattern value = empty;
_______
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
 
 
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.BIC may be incomplete. When this step was stopped there were 0 observations and 6 variables.
WARNING: Data set WORK.BIC was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
 
70 proc
71 gchart data=bic;
 
ERROR: Procedure GCHART not found.
72 block country ;
73 run;
 
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE GCHART used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
 
74
75
76
77
78 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
91
 
 here is the input
 
Obs Country Model Manuf Units UnitCost TotalSales 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
USA Road Bike Trek 5000 $2,200 $11,000
USA Road Bike Cannondale 2000 $2,100 $4,200
USA Mountain Bike Trek 6000 $1,200 $7,200
USA Mountain Bike Cannondale 4000 $2,700 $10,800
USA Hybrid Trek 4500 $650 $2,925
France Road Bike Trek 3400 $2,500 $8,500
France Road Bike Cannondale 900 $3,700 $3,330
France Mountain Bike Trek 5600 $1,300 $7,280
France Mountain Bike Cannondale 800 $1,899 $1,519
France Hybrid Trek 1100 $540 $594
United Kingdom Road Bike Trek 2444 $2,100 $5,132
United Kingdom Road Bike Cannondale 1200 $2,123 $2,548
United Kingdom Hybrid Trek 800 $490 $392
United Kingdom Hybrid Cannondale 500 $880 $440
United Kingdom Mountain Bike Trek 1211 $1,121 $1,358
Italy Hybrid Trek 700 $690 $483
Italy Road Bike Trek 4500 $2,890 $13,005
Italy Mountain Bike Trek 3400 $1,877 $6,382
 

Accepted Solutions
Solution
‎07-29-2017 09:21 AM
Super User
Posts: 19,878

Re: proc gchart


Koke wrote:

Hi all, I want to use the proc gchart, but the sas does not allow me to use it. Need help

 

Correct, SAS UE does not support SAS/GRAPH procedures, use SG procedures instead, such as SGPLOT.

View solution in original post


All Replies
Solution
‎07-29-2017 09:21 AM
Super User
Posts: 19,878

Re: proc gchart


Koke wrote:

Hi all, I want to use the proc gchart, but the sas does not allow me to use it. Need help

 

Correct, SAS UE does not support SAS/GRAPH procedures, use SG procedures instead, such as SGPLOT.

Super Contributor
Posts: 441

Re: proc gchart

I believe SAS OnDemand for Academics supports Proc GChart but I agree the SG procedures are more modern and should normally be preferred.

Occasional Contributor
Posts: 17

Re: proc gchart

Thank the SGPLOT works very well .
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 505 views
  • 0 likes
  • 3 in conversation