Use case: Defining a variable accessible to multiple Jobs
This use case creates a variable that is accessible to Jobs. It also
gives examples on how to access the variable.
Creating a routine and declaring a static variable
Procedure
Setting up the child Jobs
The example below shows how to share a value between different Jobs via the routine defined earlier.
Procedure
Setting up the parent Job
Procedure
Executing the Jobs to call the routine
Procedure
Execute the parentJob. You can see the following results
in the console:
Starting job parentJob at 19:52 21/06/2013.
[statistics] connecting to socket on port 3397
[statistics] connected
Talend
[statistics] disconnected
Job parentJob ended at 19:52 21/06/2013. [exit code=0]