Hi, I am using SAS University Edition for my grad school project and I am new to it. I have created a new library in it and now I want to add a file into it but I am not able to find any information regarding that Can anyone help me with this ?
Several options: data step program, direct procedure output or copy from existing.
a trivial example of a datastep program to create a dataset named Newdata in a library named Mylib.
data mylib.newdata;
x=5;
run;
Create output of summary values of height and weight by sex from the SAS supplied data set Class in the Library Sashelp using output to send to library Mylib and dataset Sumdata.
Proc summary data=sashelp.class;
class sex;
var height weight;
output out=mylib.sumdata sum=;
run;
Thanks for the answer but I am still not clear. The requirement for me is that I have a file in my shared drive for example /folders/myfolders/test.csv. And I need to add data from this file into my library mydata. How can I do this ?
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.