You have to first import your text file and then you can use it, you cannot use it directly as indicated.
Try a PROC IMPORT to first import your data, once imported, use the SAS dataset created.
@qu wrote:
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;61NOTE: PROCEDURE MIXED used (Total process time):real time 0.00 secondscpu time 0.00 secondsERROR: Extension for physical file name "/folders/myfolders/poly.dat" does not correspond to a valid member type.NOTE: The SAS System stopped processing this step because of errors.62 PROC MIXED DATA='/folders/myfolders/poly.dat';63 CLASS aggvar;64 MODEL Z = P E P*P P*E E*E / S DDFM = BW;65 CONTRAST 'slope of fit line P = E' P 166 E 1;67 CONTRAST 'urvature of fit line P = E' P*P 168 P*E 169 E*E 1;70 CONTRAST 'slope of misfit line P = -E' P 171 E -1;72 CONTRAST 'curvature of misfit line P = -E' P*P 173 P*E -174 E*E 1;75 RUN;7677 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
PROC IMPORT or see this video:
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.