BookmarkSubscribeRSS Feed
SeanKing
Calcite | Level 5

Infile '/home/seaneking10/seaon/Energy.CSV dlm =' firstobs = 2;

            ______

            180

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

59         input vehicle : $ Fuel: emissions : 4.2;

            _____

            180

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

60         run;

61         proc rint;

ERROR: Procedure RINT not found.

62        

63         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

75        

2 REPLIES 2
Reeza
Super User

You should post your full code and clarify what you mean by SAS Studio - Academics on Demand, SAS UE? At first glance it looks like you have typo's in the code, missing quotation mark, and P.

On the other hand, I've seen errors like this pop up when using IE and SAS Studio, compared to Chrome or Firefox.

ballardw
Super User

Infile '/home/seaneking10/seaon/Energy.CSV' dlm =' firstobs = 2;

Need a ' at the end of the file name. I cannot tell what you want as delimiter but comma should be dlm=','

The out of order may indicate something that is in the code before the INFILE statement, likeliest is a missing ; in a line before.

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1278 views
  • 0 likes
  • 3 in conversation