In Base SAS, variables in var lists are separated only by blanks, not by commas.
For future reference, paste code from the log with error messages into a code box using the forum {i} icon. That will preserve the plain text format of the log and the underscore characters, which show where SAS detected the error will align correctly. The main message windows on this forum will reformat pasted text otherwise.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.