BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Nobuko42
Calcite | Level 5

Greetings all.

 

This is my first time using SAS and hoping to learn a lot from it. I have experience from using databases before (Access mainly) and I'm having a hard time trying to figure out how to make the data permanent that I set up in the process flow. Like for example I'll import two excel files and append them together and save the project, however the data is only saved in a temporary folder from my understanding. Thus when I open the project again, I have to run the entire thing over again in order to have appended data table made. I've read that you can make the data permanent but am unable to figure out how to do so.

 

I'm running SAS EG 7.1, on OS Windows 7, and from my understanding I log into the software to connect to a server my company has set up, and I am positive I have my own folder. If any more information is needed let me know, thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
  1. Create a library, in this example called PERM. A library is a reference to a particular directory
libname perm 'C:\temp\my_sas_datasets';

 

2.  Move the data to the permanent library, or save it directly there in your process flow. You can modify your final process/task to save the output directly to the library, or you can use a TASK under DATA. 

 

 

Data perm.final;
    set my_data;
run;

 

 

In the future you may want to post this under Business Intelligence>SAS Enterprise Guide for EG specific questions. 

View solution in original post

2 REPLIES 2
Reeza
Super User
  1. Create a library, in this example called PERM. A library is a reference to a particular directory
libname perm 'C:\temp\my_sas_datasets';

 

2.  Move the data to the permanent library, or save it directly there in your process flow. You can modify your final process/task to save the output directly to the library, or you can use a TASK under DATA. 

 

 

Data perm.final;
    set my_data;
run;

 

 

In the future you may want to post this under Business Intelligence>SAS Enterprise Guide for EG specific questions. 

LinusH
Tourmaline | Level 20

There is a library called SASUSER, that is for personal use. For some sites, this defined as R/O.

If have quite large data sets, it is better to keep them on the server. For the possibility to use SASUSER, or create a server library for you, contact your SAS server administrator.

Data never sleeps

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

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.

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
  • 2 replies
  • 949 views
  • 1 like
  • 3 in conversation