MaskNu11
MaskNu11

Reputation: 23

ODI 12 how to store a value in a variable or procedure option

At the procedure step in the ODI script, I use Jython, take the values ​​​​from the tables I need - I get a string -> put it in VERSION -> I need to pass the VERSION value from the Version_working_0_0 step to test_verion_0_0.

Need to assign values ​​to variables and pass between script steps to build complex logic

Procedure tasks

Did not find clear information on the topic. Tried (I get an error):

<@ Test = "testvalue"> 
odiRef.setOption("Test", VERSION) 

Upvotes: 1

Views: 1784

Answers (1)

JeromeFr
JeromeFr

Reputation: 1928

The Test variable you set in Version_working_0_0 task is accessible in the test_version_0_0 task as well, they share the same scope.

Upvotes: 0

Related Questions