BookmarkSubscribeRSS Feed
qu
Calcite | Level 5 qu
Calcite | Level 5
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
61
NOTE: PROCEDURE MIXED used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
 
ERROR: 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 1
66 E 1;
67 CONTRAST 'urvature of fit line P = E' P*P 1
68 P*E 1
69 E*E 1;
70 CONTRAST 'slope of misfit line P = -E' P 1
71 E -1;
72 CONTRAST 'curvature of misfit line P = -E' P*P 1
73 P*E -1
74 E*E 1;
75 RUN;
76
77 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
3 REPLIES 3
Reeza
Super User

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;
61
NOTE: PROCEDURE MIXED used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
 
ERROR: 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 1
66 E 1;
67 CONTRAST 'urvature of fit line P = E' P*P 1
68 P*E 1
69 E*E 1;
70 CONTRAST 'slope of misfit line P = -E' P 1
71 E -1;
72 CONTRAST 'curvature of misfit line P = -E' P*P 1
73 P*E -1
74 E*E 1;
75 RUN;
76
77 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

 

qu
Calcite | Level 5 qu
Calcite | Level 5
Thanks a lot. But how to import my text file in SAS studio (the data is in '/folders/myfolders/poly.dat').

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 5719 views
  • 0 likes
  • 2 in conversation