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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1293 views
  • 0 likes
  • 3 in conversation