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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 3 replies
  • 537 views
  • 0 likes
  • 4 in conversation