DATA Step, Macro, Functions and more

importing dataset from Work library

Reply
Occasional Contributor
Posts: 10

importing dataset from Work library

Hello,

 

I have just generated a new dataset that has been placed in my WORK folder. how do i import this new data in order to be able to analyze it? 

 

Here is how i generated the new data set

DATA sample_new_vars;
    SET P1.project1;
    bmi = (weight / (height*height) ) * 703;
RUN;

Thanks for any help!

Super User
Posts: 5,429

Re: importing dataset from Work library

Importing it to what?
It's already in SAS so you should be able to analyze it right away.
Data never sleeps
Super User
Posts: 7,793

Re: importing dataset from Work library

It's already a SAS dataset. Just use it.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Super User
Super User
Posts: 7,050

Re: importing dataset from Work library

Just use it.

proc means data=sample_new_vars;
  var bmi;
run;
Ask a Question
Discussion stats
  • 3 replies
  • 75 views
  • 0 likes
  • 4 in conversation