Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Below is the job design which I wanted to convert into joblet.
tdbinput ------------> tjavarow
|
|
| on subjob ok
|
|
|
tdbinput ---------------> tjavarow
The above job design must be converted into a joblet.Can anyone tell me how to combine multiple subjobs into a single joblet where the row is on the subjobok?
Please also include any and all documentation, if any.
Thanks in advance.
Hi
The joblet factorizes recurrent processing or complex transformation steps to ease the reading of a complex job, you can't combine multiple subjobs in a single joblet, to use a group of components as a standalone Job, you should use the tRunJob component, or create multiple joblets, eg:
tDBInput--main--joblet1
|onsubjobok
tDBInput--main--joblet2
Regards
Shong
@Shicong Hong
cant I use all 4 components from 2 subjobs connected with onsubjob ok condition and use trigger output from Joblet?
You cannot use the Onsubjobok trigger in a joblet, joblet is used to refactor some components in the current subjob.
You want to do this:
Or rather use the joblet to mimic an "output" component? INPUT -> tFileOutputDelmited -> OnComponentOk should work.
But in that case you likely want to use as many joblets as many inputs you have.
Correct. I did the same way.
Trigger output is what I am looking for as my next subjob in parent job is based on sub job ok condition.