BookmarkSubscribeRSS Feed
deleted_user
Not applicable
hello ,

plz could you tell me how to convert a ".sas" file into ".dat" file .I used the code -

libname 'c:\Cwa';
data = 'c:\Cwa\laptop_review.sas';
set laptop_review;
run;

log -

ERROR: 'c:\Sas' is not a valid SAS name.
ERROR: Error in the LIBNAME statement.
125 data = 'c:\Sas\laptop_review.sas';
----
180

ERROR 180-322: Statement is not valid or it is used out of proper order.

126 set laptop_review;
---
180

ERROR 180-322: Statement is not valid or it is used out of proper order.

regards ,
markc
1 REPLY 1
andreas_lds
Jade | Level 19
Your problem can easily be solved after reading the documentation available on the SAS website:
http://support.sas.com/documentation/cdl/en/connref/61908/HTML/default/connreflibdictent.htm

I recommend starting with "SAS 9.2 Language Reference: Concepts". The chapters "DATA Step Concepts" and "SAS Files Concepts" will help you understanding the very basics of SAS.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 1204 views
  • 0 likes
  • 2 in conversation