Using the output of another program

Reply
Occasional Contributor
Posts: 10

Using the output of another program

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!

Super Contributor
Posts: 490

Re: Using the output of another program

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

Valued Guide
Posts: 858

Re: Using the output of another program

Data output2;

set output1;

/*add desired code*/

run;

Super User
Posts: 17,836

Re: Using the output of another program

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.
Ask a Question
Discussion stats
  • 3 replies
  • 252 views
  • 0 likes
  • 4 in conversation