Question: I need help debugging a SAS program: LIBNAME sasdata 'c:MySASLib'; SET sasdata.earthquakes; IF State = Alaska; EruptionDate = MDY (Month,Day,Year); RUN; PROC PRINT DATA =

I need help debugging a SAS program:

LIBNAME sasdata 'c:\MySASLib'; SET sasdata.earthquakes; IF State = Alaska; EruptionDate = MDY (Month,Day,Year); RUN;

PROC PRINT DATA = alaska; WHERE Year GT 2005; VAR EruptionDate Magnitude; TITLE "Alaska's Earthquakes in 2005 or Later"; FORMAT EruptionDate DATE10.; RUN;

This code has 6 errors, I have found and corrected 2 of them so far. I am not sure where/what the other 4 are. Thank you in advance for any help.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!