BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
VROUSSAKIS
Calcite | Level 5

Hi all,

 

I want to create a dynamic loop in Dataflux and I want to ask if is it possible?

The logic that  I want to use is similar with the Data integration Studio logic (Control table - Loop).

First of all I will create a control table with the variables that I want to pass as macro to the loop

 

Control table e.g.

TABLE NAME      COLUMN

TABLE1                Col1

TABLE1                Col2

.............                ..........

 

Then I will create two macros variables, the TableName and the Column and then I want to run a job for every raw of the control table.

 

If it is not possible I will use sas code.

 

Thanks in advance,

Vassilis

1 ACCEPTED SOLUTION

Accepted Solutions
RonAgresta
SAS Employee
If you haven't already done so, take a look at process jobs and work tables in Data Management Studio. Process jobs have nodes that let you set macro variables, use conditional logic for loops, fork processes, and run processes in parallel. Work tables can be accessed at this level to provide a mechanism for your control table. Ron

View solution in original post

2 REPLIES 2
RonAgresta
SAS Employee
If you haven't already done so, take a look at process jobs and work tables in Data Management Studio. Process jobs have nodes that let you set macro variables, use conditional logic for loops, fork processes, and run processes in parallel. Work tables can be accessed at this level to provide a mechanism for your control table. Ron
VROUSSAKIS
Calcite | Level 5

Thank you Ron for your reply.

I manage to loop a job with your information.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1219 views
  • 0 likes
  • 2 in conversation