SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

DI Job

Frequent Contributor
Posts: 115

DI Job

Have a requirement to create a job, read data and check, if condition1 execute job1 else if condition2 execute job2 etc.. till job15.. Job1 to Job15 are already created

could you please provide your suggestions in this

Super User
Posts: 5,849

DI Job

Posted in reply to sunilreddy

Can you give an example of "condition" - how does the input table look like?

And the jobs1-15 are DI Studio created jobs, and are "totally" different?

Without knowing more, I think I might suggest a non DIS solution (or user written code) with some %include to call appropriate job.


Data never sleeps
SAS Employee RMP
SAS Employee
Posts: 52

DI Job

Posted in reply to sunilreddy

how are you executing your job code? This conditional execution of jobs would typically be handled in your scheduling software. Please send some more details, perhaps this is solvable in some other way.

Posts: 38

Re: DI Job

Posted in reply to sunilreddy

If the conditions are on data then

1. Handle the conditions through a splitter.

2. Put a LOOP in front of each work (output) table and pass the parameter, specific to the job, to the LOOP.

3. Do the same for each condition and process job(s) in the LOOP.

4. terminate the LOOP with END LOOP transformation.

Use the ref:

Hope that helps.

Super Contributor
Posts: 350

DI Job

Posted in reply to sunilreddy

Hi Sunil,

You can create dependency jobs  in LSF scheduler.You can try that.



Ask a Question
Discussion stats
  • 4 replies
  • 5 in conversation