BookmarkSubscribeRSS Feed
SMR
Fluorite | Level 6 SMR
Fluorite | Level 6
Is there a way to copy and paste a process flow from one data input set to another data input set?

For example, I created a process flow for a data set say 'Jan', that includes a series of tasks say import, query, tranpose, analyse, etc. Now if I want to repeat the same process for another data set say 'Feb', how can I copy the process flow and link it with a new set of 'Feb' data.

Further, how is it possible to copy a query from one process flow and paste in another process flow with its input data changed?
4 REPLIES 4
skeenan
Calcite | Level 5
I'm having similar difficulties. Have you been able to make a process flow repeatable? I'd rather not have to re-enter the individual queries over and over or change the code over and over.

Any suggestions out there?
JohnH
Fluorite | Level 6
Could you put an icon at the start of the process flow that does a filter & query which copies the desired dataset into work.temp. Then, have the flow process things from work.temp. To change the dataset, just go into that first icon and move a different dataset into work.temp. Alternately, if you store the various datasets in different folders, you can do a temp assign of a library nickname to different folders each time you want to run the flow.
JPC
Calcite | Level 5 JPC
Calcite | Level 5
I know this thread is old, but here is what I do.

Duplicate the .egp file, then repoint the first dataset to the new file. Save the project as a new egp file.

This works nicely, but beware that the two projects will share any temporary/working datasets.

Cheers

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