Programming the statistical procedures from SAS

hello can somone help me out? This daata was saved as a CSV and uploaded into SAS studio how come this error keeps appearing?

Reply
New Contributor
Posts: 3

hello can somone help me out? This daata was saved as a CSV and uploaded into SAS studio how come this error keeps appearing?

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        

Grand Advisor
Posts: 16,925

Re: hello can somone help me out? This daata was saved as a CSV and uploaded into SAS studio how come this error keeps appearing?

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.

Grand Advisor
Posts: 10,062

Re: hello can somone help me out? This daata was saved as a CSV and uploaded into SAS studio how come this error keeps appearing?

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.

Ask a Question
Discussion stats
  • 2 replies
  • 192 views
  • 0 likes
  • 3 in conversation