Script generation in OWB [message #647092] |
Tue, 19 January 2016 07:38 |
|
oluakins@yahoo.com
Messages: 1 Registered: January 2016
|
Junior Member |
|
|
Hi All,
I am trying to extract the code that gets generated in OWB for a mapping into a text file. When we open a mapping in OWB, we can generate the code by right-clicking in the mapping and choosing the "Generate,,," option. It is the code generated here that I am trying to get via OMB scripting or any other method. The aim of this exercise is to ensure we are promoting the correct code between environments. We have noticed in the past, that after deployment of mappings, some of the packages are corrupt or not correctly deployed, so we want to be able to compare the OWB generated code. We don't want to use the deployed code on both environments as they contain references to object ID and generated dates which can be different. However , the code generated within OWB has no reference to these and can be easily compared between environments.
The generated code we are looking for usually starts with:
/*****************************************************************************
-- Note: This generated code is for demonstration purposes only and may
-- not be deployable.
*****************************************************************************/
Thanks,
Olu
|
|
|