Using variables in KM options (and reusing the variables in an interface, package, and so on)
There are times when
it is useful to insert a variable within a KM option and later access that variable's value within an interface or procedure. A typical use case might be to provide the primary directory path for a log
file and then add a file name to the path definition from an interface. In this recipe, we will create a log path
variable, embed it into a new option within a duplicated copy of an IKM, then create an interface that will amend the IKM option by adding a file name to the path.
How to do it...
- Within your project, insert a new Variable called
PV_PATH_LOG
.- Select the data type as
Alphanumeric
(if the path were to be greater than 255 characters ...
- Select the data type as
Get Oracle Data Integrator 11g Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.