BookmarkSubscribeRSS Feed
hogego
Calcite | Level 5

Hi. ALL.

 

Now I am creating and testing a custom task in SAS EG.
I created a program that splits input data and outputs it to a SAS data set,
but the output data and task do not link.
Is there a way to link to multiple outputs?
 
Thank you.
 
 
2 REPLIES 2
CaseySmith
SAS Employee

Yes, a custom task can create (and link) multiple output data sets.  Assuming you are using a SAS.Tasks.Toolkit derived task, override the following method to provide a list of expected output data sets that will be generated by your custom task:

 

virtual public List<SAS.Shared.AddIns.ISASTaskDataDescriptor> OutputDataDescriptorList

 

Then, once the task is run, if those physical tables exist, they will be linked to your custom task.

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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