Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
How To Implement A GO - NO GO Flag In ODI To Avoid Launching Multiple Parallel Executions Of The Same Scenario? [ID 1138473.1] Modified 08-FEB-2011 Type HOWTO Status PUBLISHED
In this Document Goal Solution Implement a GO - NO GO flag using a flat file and the OdiFileWait tool Implement the GO - NO GO flag using an ODI Variable References
Applies to:
Oracle Data Integrator - Version: 10.1.3.5.6 and later [Release: and later ] Information in this document applies to any platform.
Goal
An Oracle Data Integrator (ODI) Scenario is required to be launched frequently. However, technical constraints require that there must be no overlap of execution and that an instance of the Scenario execution must determine if another instance is still running or not. If so, it must exit immediately. If not, continue processing. How to set up such an approach ?
Solution
To do this, a GO - NO GO flag can be implemented using either: an ODI Variable, or a file and the ODI OdiFileWait tool as described below.
4. At the end of the same Package, add a step that resets the flag to GO, by implementing the following ODI tool:
OdiFileMove "-FILE=<MyGoNoGo>/NOGO.txt" "-TODIR=<MyGoNoGo>" "-TOFILE=GO.txt"
5. Regenerate the underlying Scenario. 6. If for any reason:: the ODI Agent executing the Scenario crashes and needs to be restarted, or the execution of one step in the Scenario fails, in order to correctly run the Scenario, you must: Rename the "NOGO.txt" file to "GO.txt" Restart the Agent, or run the Scenario again, depending on what the failure was.
support.oracle.com/CSP/ui/flash.html
1/2
2/9/2011
4. Regenerate the underlying Scenario. 5. If for any reason: the ODI Agent executing the Scenario crashes and needs to be restarted, or the execution of one step in the Scenario fails in order to correctly run the Scenario, you must: Reset the Variable value to 1 (for GO scope) Restart the Agent, or run the Scenario again, depending on what the failure was.
References
NOTE:423855.1 - Interleaving Of Scheduled ODI Scenarios May Result In Problems NOTE:423999.1 - How To Set Up Simultaneous Launching Of Multiple Parallel ODI Integration Interfaces That Feed The Same Target Datastore.
Related Products Middleware > Business Intelligence > Oracle Data Integrator (ODI) > Oracle Data Integrator Keywords ODIFILEWAIT; SCENARIO; ODI VARIABLE; ODI; ORACLE DATA INTEGRATOR
Back to top
support.oracle.com/CSP/ui/flash.html
2/2