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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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