Help using Base SAS procedures

ERROR: Procedure GCHART not found.

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

ERROR: Procedure GCHART not found.

Hello,

 I am new to SAS as a primarily R user until now. I am working on some basic examples in SAS to get going and the following is my code:

TITLE 'Bar Chart with Discrete Option';
PROC GCHART DATA=auto;
VBAR rep78/ DISCRETE;

RUN;

 

The result is ERROR: Procedure GCHART not found. Why is this happening?

 

I do not have the University Edition! I already checked my SAS installation, results here:
Product expiration dates:
---Base SAS Software
14APR2017
---SAS/STAT
14APR2017
---SAS/GRAPH
14APR2017
---SAS/ETS
14APR2017
---SAS/FSP
14APR2017
---SAS/ASSIST
14APR2017
---SAS/CONNECT
14APR2017
---SAS/EIS
14APR2017
---SAS Enterprise Miner
14APR2017
---MDDB Server common products
14APR2017
---SAS Enterprise Guide
14APR2017
---SAS/ACCESS Interface to PC Files
14APR2017
---SAS/ACCESS Interface to ODBC
14APR2017
---SAS Enterprise Miner for Desktop
14APR2017
---SAS Workspace Server for Local Access
14APR2017
---SAS Add-in for Microsoft Excel
14APR2017

Thanks for your help.


Accepted Solutions
Solution
‎11-28-2016 01:32 PM
Super User
Posts: 19,822

Re: ERROR: Procedure GCHART not found.

Posted in reply to aiden_dataminer

Yes, run:

 

 

proc product_status;
run;

Also, post your error from the log to here, with the full set of code run.

 

View solution in original post


All Replies
Super User
Posts: 7,809

Re: ERROR: Procedure GCHART not found.

Posted in reply to aiden_dataminer

For a certain module to work in SAS, you must have it installed and licensed; since SAS/GRAPH is licensed, I suspect that your installation was not complete. This might be due to the deployment plan that was used.

 

Did you do the SAS installation yourself?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
New Contributor
Posts: 2

Re: ERROR: Procedure GCHART not found.

Posted in reply to KurtBremser

Nope, IT did the install, is there a way I can check the install ?

 

Solution
‎11-28-2016 01:32 PM
Super User
Posts: 19,822

Re: ERROR: Procedure GCHART not found.

Posted in reply to aiden_dataminer

Yes, run:

 

 

proc product_status;
run;

Also, post your error from the log to here, with the full set of code run.

 

Community Manager
Posts: 2,955

Re: ERROR: Procedure GCHART not found.

For an even more comprehensive report, run the SAS Install Reporter program that you can find with this SAS note (Downloads tab)

Community Manager
Posts: 2,955

Re: ERROR: Procedure GCHART not found.

Posted in reply to ChrisHemedinger

Oh, and one more tip -- if you are just getting started with SAS, I recommend learning PROC SGPLOT instead of GCHART for basic analytical graphs.  Coming from R, you'll find the syntax a little bit cleaner and less verbose.  SGPLOT is part of Base, not SAS/GRAPH.

 

@Sanjay_SAS wrote a nice intro to VBAR in this blog post.  You might also want to check out the SAS Programming for R Users course (free materials here!).

 

You will want to use the SAS/GRAPH techniques to do more advanced tricks with drilldowns and geo maps, if you have those requirements.

 

 

☑ This topic is solved.

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

Discussion stats
  • 5 replies
  • 1263 views
  • 2 likes
  • 4 in conversation