BookmarkSubscribeRSS Feed
tsangedw
Calcite | Level 5

CONTEXT: I am a new user to SAS and running through an online e-learning course. Using sample code in the default sashelp library, I am given the following code that is a small test to verify that there are no errors in the log:

 

title "Car Inventory by Type";
proc freq data=sashelp.cars;
   tables Type / nocum;
run;
title;

 

This returns the following log:

 

;*';*";*/;quit;run;

2 OPTIONS PAGENO=MIN;

3 %LET _CLIENTTASKLABEL='Program';

4 %LET _CLIENTPROCESSFLOWNAME='Process Flow';

5 %LET _CLIENTPROJECTPATH='';

6 %LET _CLIENTPROJECTNAME='';

7 %LET _SASPROGRAMFILE=;

8

9 ODS _ALL_ CLOSE;

10 OPTIONS DEV=ACTIVEX;

11 GOPTIONS XPIXELS=0 YPIXELS=0;

11 GOPTIONS XPIXELS=0 YPIXELS=0;

________

180

ERROR 180-322: Statement is not valid or it is used out of proper order.

12 FILENAME EGSR TEMP;

13 ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR

14 STYLE=HtmlBlue

15 STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASEnterpriseGuide/7.1/Styles/HtmlBlue.css")

16 NOGTITLE

17 NOGFOOTNOTE

18 GPATH=&sasworklocation

19 ENCODING=UTF8

20 options(rolap="on")

21 ;

NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR

22

23 GOPTIONS ACCESSIBLE;

23 GOPTIONS ACCESSIBLE;

________

180

ERROR 180-322: Statement is not valid or it is used out of proper order.

24 title "Car Inventory by Type";

25 proc freq data=sashelp.cars;

26 tables Type / nocum;

27 run;

NOTE: There were 428 observations read from the data set SASHELP.CARS.

NOTE: PROCEDURE FREQ used (Total process time):

real time 0.07 seconds

cpu time 0.06 seconds

 

QUESTION: My question is why is this error showing up? The output returns fine and as expected. This error returns for every query I make even simple proc print statements returning data sets from the sashelp library.

 

 

6 REPLIES 6
Reeza
Super User

This has nothing to do with your code. 

 

Are you using SAS Academics on Demand or SAS UE or EG installed locally?

It looks like something not set up correctly somewhere...

tsangedw
Calcite | Level 5
Thanks for replying. I am using EG. Ok I thought as much, I have uninstalled and reinstalled several times but the same issue is arising. Would you happen to know if there is a specific module or product that I should be excluding or including for this issue to stop?
Reeza
Super User

My guess is you don't have a license for SAS/GRAPH. 

 

You can verify that by running PROC SETINIT; RUN; and/or PROC PRODUCT_STATUS;RUN;

 

tsangedw
Calcite | Level 5
Great! I will reinstall, and update the post as answered if it works. Thanks
tsangedw
Calcite | Level 5
Hi Reeza, it didn't work. Do you have any other suggestions?
Reeza
Super User

Ignore it? It doesn't actually stop you from doing anything.

 

If your company or school has provided a full edition of SAS you can also contact Tech Support and they can likely help. 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 1323 views
  • 3 likes
  • 2 in conversation