BookmarkSubscribeRSS Feed
merik
Fluorite | Level 6

I have one program (written by someone else) which reads some data, runs some procedures, and in the end generates a new data set (called OUTPUT1).

 

I want to write a second program that would use this OUTPUT1 as the input. How can I do that?

 

I use SAS EG. I already "Linked" the OUTPUT1 to the new program, but I don't know how to load the data in the new program.

 

I am absolutely new to SAS. But I am familiar with many other languages. I need a hint to find the answer!

3 REPLIES 3
mohamed_zaki
Barite | Level 11

What kind of program do you need to write? What do you want to do with your data set OUTPUT1?

Steelers_In_DC
Barite | Level 11

Data output2;

set output1;

/*add desired code*/

run;

Reeza
Super User
Run the program in EG (right click and run) it will create the output and show it in your process flow. Create your new program or query off the output table. If the table isn't being shown check your preferences to ensure datasets are added to your project.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1197 views
  • 0 likes
  • 4 in conversation