Data ran perfectly just the other day, now I am receiving this error. Not very well versed in SAS 9.4 , just using it for a summe project. Anyways, the log description looks like this, down below.. It used to produce a EWMA chart with upper and lower limits. Not sure how to fix this problem, I did try the "proc contents data" code but was unable to decipher what I was really looking at. Any help would be greatly appreciated! Thanks. title 'EWMA chart for farrowing rate per week, Farm_ID=CRC'; ods graphics on; symbol v=dot; proc MACONTROL data=work.a limits=c; where (Farm_Name="RVL") & (weeks ge 1) & (interventions="MLV1") /* & (status ne 'extra')*/ ; ERROR: WHERE clause operator requires compatible variables. ewmachart Aborts * weeks/ /* ewmachart Wean_ * week/*/ WEIGHT = 0.4 meansymbol = square /* lcllabel = 'LCL for EWMA' ucllabel = 'UCL for EWMA'*/ vreflabpos = 3 Asymptotic outhistory = outEWMA; /*label status = "Status infeccao"*/ /* week = "weeks post infection";*/ run; NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set WORK.OUTEWMA may be incomplete. When this step was stopped there were 0 observations and 0 variables. WARNING: Data set WORK.OUTEWMA was not replaced because this step was stopped.
... View more