To Projects

Project 5a

Correct Errors in a SAS Macro

  1. This SAS macro contains errors.  After correcting the errors and use it to create permanent SAS datasets from the raw data files in states-files.zip.  This zip file contains files state1.txt, state2.txt, ... , state50.txt, one for each state. Each file contains the ten largest cities and populations for that state. List the errors that you find and explain how this macro works to someone that understands SAS, but is new to macros. Discuss any tricky points that need special attention.