Wednesday, February 26, 2014

How To Retrieve ODI Context Information In A Jython Technology Specific Procedure ?

How is it possible to determine the characteristics of an ODI Context from a Jython Procedure?

The following are records from a Jython script which has been created in a Jython technology specific Procedure

Command on Target tab:
Technology field - Jython
Command field
context = '<%=snpRef.getSession("CONTEXT_NAME")%>'
src_con_name = '<%=snpRef.getInfo("SRC_CON_NAME")%>'
src_java_url = '<%=snpRef.getInfo("SRC_JAVA_URL")%>'
src_encoded_pass = '<%=snpRef.getInfo("SRC_ENCODED_PASS")%>'
Command on Source tab:

Technology field - set the technology on which the Logical Schema was created
Schema field - set the Logical Schema

No comments:

Post a Comment