Best practice on this forum is to copy the log text including submitted code and any error messages, open a text box using the </> icon that appears above the message window and paste the text.
The text box does two things, first it prevents the forum software from reformatting pasted text which the main message window does. That means that diagnostic characters SAS often provides in the log are not moved as the positions are helpful. It also sets the log apart from questions and discussion visually. Providing copied text means that when it is a good way to demonstrate the correction or an option we can copy and paste text which is practically impossible from pictures. Plus the copy and paste of text should be easier than creating picture and then linking that in the forum.
A brief example:
65 Proc freq data=sashelp.class
66 tables sex* age /list;
------
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, (,
COMPRESS, DATA, FC, FORMCHAR, NLEVELS, NOPRINT, ORDER,
PAGE.
ERROR 76-322: Syntax error, statement will be ignored.
67 format sex $mysexformat.;
68 run;
Note that the underscore characters are showing Tables is not correct. In this case because the semicolon is missing on the Proc Freq statement.
It might help to describe exactly what the purpose of running all of those Proc Anova may be. Models of the form:
Model thisvar = thisvar;
are in general pretty uninteresting as far as things go.
And if that data is from the Behavior Risk Factor Surveillance System this is one of the oddest "analysis approaches" I have seen in nearly 25 years of working with BRFSS data.
... View more