martedì 5 novembre 2019

ODI 12c - Begin/End Mapping Command

Se si vuole utilizzare un pre o post mapping in ODI occorre configurare quanto presente sulle Physical Properties indicando le operazioni che devono essere eseguite.
Di seguito un semplice esempio.

Come primo passo occorre posizionarsi sulla parte bianca del physical e selezionare le proprietà.
Inserire i comandi da effettuare come pre e post mapping in corrispondenza di Begin/End Mapping Command:

Effettuare poi la scelta della tecnologia e della Location su cui deve essere eseguito il comando.
A questo punto avremo:


Come si vede ho inserito dei semplici comandi, il primo di BEGIN verrà eseguito correttamente il secondo di END ho inserito volutamente un errore e quindi in fase di esecuzione a causa dell'END COMMAND il mapping andrà in errore:



giovedì 31 ottobre 2019

OWB 11.2.0.4 - Configuration Templates, Default Values for Mappings etc

These configuration templates are defined on the global tree, once you create a configuration template it is used in a configuration – then any objects created will inherit these default values. 
This then brings up the editor for the configuration template, the properties are in the tree, and the columns such as EXADATA_TEMPLATE  is where you can change the property value. 
Remember these are defaults so you are not setting specific values on an object – these are the defaults of o overriden value is specified.




The final piece of the jigsaw is to use this configuration template in a configuration – otherwise it will never be used.