Can someone please let me know what is wrong with my code or advise me on an appropriate website where I can get help? I am a beginner with SAS and I am taking a SAS programming class. I am receiving the following error message: 77 INPUT LOCATION $ 1 LENGTH 2; _____ 180 ERROR 180-322: Statement is not valid or it is used out of proper order. Here is my code: %web_drop_table(WORK.IMPORT); FILENAME REFFILE "/home/nkurek0/my_courses/pgross/mussels.xlsx" TERMSTR=CR; PROC IMPORT DATAFILE=REFFILE DBMS=XLSX OUT=WORK.IMPORT; GETNAMES=YES; RUN; PROC CONTENTS DATA=WORK.IMPORT; RUN; %web_open_table(WORK.IMPORT); DATA MUSSELS; SET WORK.IMPORT; RUN; INPUT LOCATION $ 1 LENGTH 2; RUN; PROC PRINT DATA=MUSSELS; RUN; PROC SORT DATA=MUSSELS; BY LOCATION; RUN; PROC UNIVARIATE DATA=MUSSELS; By LOCATION; RUN; PROC ANOVA DATA=MUSSELS; CLASS LOCATION; MODEL LENGTH = LOCATION; RUN;
... View more