01-13-2015 11:02 AM
Hello, I am trying to simulate the data below but keep having issue column cant be determine.
%do p=1 %to &replicates;
alpha1 = 1.00;
beta1 = 0.50;
do i = 1 to 250;
data pattern; X=0; run;
22: LINE and COLUMN cannot be determined.
NOTE 242-205: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and
COLUMN where the error has occurred.
ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, -, /, ;, <, <=,
<>, =, >, ><, >=, AND, EQ, GE, GT, IN, LE, LT, MAX, MIN, NE, NG, NL, NOT, NOTIN, OR,
^, ^=, |, ||, ~, ~=.
200: LINE and COLUMN cannot be determined.
NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and COLUMN where
the error has occurred.
ERROR 200-322: The symbol is not recognized and will be ignored.
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.TES_1 may be incomplete. When this step was stopped there were 0
observations and 15 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
29 ods html;
NOTE: Writing HTML Body file: sashtml.htm
NOTE: This SAS session is using a registry in WORK. All changes will be lost at the end of this
01-13-2015 11:30 AM
I believe it is this line:
Should be something like:
Good idea to comment parts of the program out and re-run then you can isolate the line which causes the problem.
Also, I tend to avoid using the * for comments as its had to read, use Control + / and Control + Shift + / to comment rows/uncomment them.