Book Image

Oracle Data Integrator 11g Cookbook

Book Image

Oracle Data Integrator 11g Cookbook

Overview of this book

Oracle Data Integrator (ODI) is Oracle's strategic data integration platform for high-speed data transformation and movement between different systems. From high-volume batches, to SOA-enabled data services, to trickle operations, ODI is a cutting-edge platform that offers heterogeneous connectivity, enterprise-level deployment, and strong administrative, diagnostic, and management capabilities."Oracle Data Integrator 11g Cookbook" will take you on a journey past your first steps with ODI to a new level of proficiency, lifting the cover on many of the internals of the product to help you better leverage the most advanced features.The first part of this book will focus on the administrative tasks required for a successful deployment, moving on to showing you how to best leverage Knowledge Modules with explanations of their internals and focus on specific examples. Next we will look into some advanced coding techniques for interfaces, packages, models, and a focus on XML. Finally the book will lift the cover on web services as well as the ODI SDK, along with additional advanced techniques that may be unknown to many users.Throughout "Oracle Data Integrator 11g Cookbook", the authors convey real-world advice and best practices learned from their extensive hands-on experience.
Table of Contents (19 chapters)
Oracle Data Integrator 11g Cookbook
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Passing start-up parameters to a scenario using variables


One of the most popular methods of affecting the behavior of an ODI scenario is to pass in parameter values at execution time. Whether launching a scenario from the GUI, the command line, or from a web service, the use of parameter values is a simple yet effective way of controlling a scenario's activities. In this recipe, we will design a workflow to include a start-up parameter in order to pass in a specific value at execution time.

Getting ready

This recipe will create a simple interface that will require the following KM: IKM – SQL Control Append. Be sure to import this KM into your project. Also, be sure to reverse engineer the DEMO_SRC and DEMO_TRG data models.

How to do it...

  1. Within your project, insert a new Variable called PV_DATE_FILTER (note that you may have already created this variable in a previous recipe).

    • Select the Data type option as Alphanumeric, since it will be easier for us to manipulate and pass the value around...