- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 536.4K On-Premises Infrastructure
- 138.3K Analytics Software
- 38.6K Application Development Software
- 5.8K Cloud Platform
- 109.5K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.3K Integration
- 41.6K Security Software
How can one reuse in an encapsulated scenario, the value of a variable passed in from the starscen c
In ODI 12c, I am launching scenario 1 with the starscen command.
In this command I am passing the value "xyz" for the text variable A.
The variable A is declared in the beginning of my scenario.
During scenario 1, another text variable B is set to "abcd"
Then scenario 2 is called in which the last text variable C is refreshed, appending B and C.
Unfortunately, it doesn't work, as the variable A value is not historized when passed from the starscen command, as I found there :
"An ODI Variable passed in from startscen may be Historized or not.
The startscen will correctly set it.
An ODI Variable passed in from startscen must be declared in the Package.
- The passed-in value will not be recorded in the historical list of values
- Values set by default will not be recorded in the historical list of values."
Therefore, when variable C is refreshing, it is appending BLANK and "abcd", raising an error.
The whole process works well when i set variable A manually.
The value is then historized, and can be recovered in scenario 2.
It doesn't work when I'm passing the value through the command startscen.
The value is picked up correctly in SCEN1, but can't be used SCEN2.
Is there a way to store the value of A, and use it in the encapsulated scenario ?
Ce message a été modifié par : 3551278