BookmarkSubscribeRSS Feed
daniel7832
Calcite | Level 5

Thanks! Do you guys offer private one-on-one SAS instruction online?

3 REPLIES 3
stat_sas
Ammonite | Level 13

Hi,

libname new 'C:\Users\Danny\Documents\My SAS Files\9.3'; /* new is the library name assigned to the folder where you have placed your file */

data question03;         /* Temporary sas file */                                                                                                            
set new.question03;  /* reference to the permanent sas datset question03 */
run;                                                                                                                                                                                                                                                                       

proc print data=question03;                                                                                                          
run;

Reeza
Super User

You don't need to "import" or read in a native sas file. You need to be able to reference it.

To do that you have to specify the location of the folder using a libname and then you can print it from there.

I'd recommend saving the files to something that makes sense to organize each project rather than the Documents section.

libname temp "C:\Users\Danny\Documents\My SAS Files\9.3\";

proc print temp.question03;

run;

ballardw
Super User

I would suggest getting a copy of Little SAS Primer as if you have been in a SAS environment for weeks and no one has discussed library other concepts you may want some additional help.

Also the online SAS help has a section on Learning to Use SAS that may be beneficial to review as there are many program examples.

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
  • 3 replies
  • 625 views
  • 0 likes
  • 4 in conversation