Sie sind auf Seite 1von 13

Oracle Data Integrator 11g Bootcamp

Lesson 15 : ODI Packages

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Agenda
Understand the role of ODI Packages
Learn how to control execution
Step through the process of creating an ODI package
Create an ODI Package
Summary

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

What is an ODI Package?


ODI package is an organized sequence of steps
Each step performs a small integration task
They make up a workflow for data integration / data warehousing loads
Provides execution control like looping, branching , serial/parallel execution of
steps, etc

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

ODI Package within ODI Studio


Toolbox
Properties Panel
Toolbar

Provides list of all the available ODI


EachtoStep
has different
properties
tools
Icons
reorganize,
delete,
duplicate steps
S
value
properties
of
a step
OIcons
DIets
tools
canforbe
added as
step
within
to
draw
transitions
between
steps to
the
package
control
executions

Diagram Palette

Organizes sequence of steps to be


executed
Provides visual look to the workflow

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

ODI Package - Controlling Execution


Each step can have two possible next steps
Next step upon success, transitioned using green ok line
Next step upon failure, transitioned using red ko line
Package stops If no next step is specified
Every package should have a first step, indicated by green arrow icon
First step is where the execution begins
No first step, package does not compile
Execution can branch
On success or failure of a step
Using evaluate variable as a step

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Creating a Package Step 1 : Create and Name Package


Right-click on the Packages entry under the required project, select New Package
Name the package and fill the Description

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Creating a Package Step 2 : Add Steps


Switch to the Diagram tab, drag and drop the required ODI objects (scenarios,
variables, etc) as steps from the project
ODI tool as step
To add click the ODI tool under Toolbox and then click under diagram palette
To stop adding ODI tool, click the arrow icon on the toolbar

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Creating a Package Step 3 : Set Properties for Steps


Select the step, under Properties panel set values for required properties
Runtime substitution - ODI variables\substitution api s
Static substitution - Hardcode values

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Creating a Package Step 4 : Add Transitions


Click the ok or ko transition icon on the toolbar and draw lines between steps
ok (green line) to next step on success
ko (red line) to next step on failure

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Creating a Package Step 5 : Save and Execute


Save ODI Package once all steps are added
Test execution to confirm functionality

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Hands-On Labs
Lab 15 - ODI Packages

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Summary
ODI Packages allows to organize integration tasks into groups
Provide control over execution
Act as workflows for data loads

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Oracle Data Integrator 11g Bootcamp


Lesson 15 : ODI Packages

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Das könnte Ihnen auch gefallen