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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 1086 views
  • 0 likes
  • 2 in conversation