meaning of ODI API odiRef.getFK ("COMPLEX_SQL")

I want to know what odiRef.getFK("COMPLEX_SQL") value will return.

What are the condition when this value returns a value?

Hello

I think COMPLEX_SQL applies only if the reference (FK) is created from ODI with the type "reference complex user."

The method will return the contents of the tab "expression" for your reference.

It will be useful.

Kind regards

JeromeFr

Tags: Business Intelligence

Similar Questions

  • ODI-17769: OdiRef: internal ID of the SnpSession of the IObjects should not be used when the repository is in mode 12 c

    Hi people,

    I created a variable with refreshing: select '< % = odiRef.getPrevStepLog ("SESS_NO") % >' FROM DUAL

    The error Code is:

    ODI-17769: OdiRef: ID internal 261 of the IObjects SnpSession should not be used when the repository is in mode 12 c.

    Here is a solution for getLoadPlanInstance offered:

    Rittman Mead Consulting"Data Integration tips: ODI 12 c - Substitution API GUID

    based on a "non-written response" by David Allan of Oracle data integration team

    But what of on SESS_NO? Is there a "written response" too?

    Thanx

    Frank

    Hello

    Something like below:

    For example, SESS_NO = "<%=odiRef.getPrevStepLog("SESS_NO")%>". »

    try to replace it by GLOBAL_ID = "<%=odiRef.getPrevStepLog("SESS_GUID")%>." »

    If you use KMs delivered with ODI, you must replace them with their corresponding versions of 12 c.

    If you have your own custom KMs, you must either adjust your KMs to use new odiRef methods that return the GUID of the object.

    or re - upgrade their repositories to use 11 g compatibility mode.

    Thank you

    ASP.

    Please close the message it useful or response.

  • Automation and scripts data flow using ODI API AND SDK in Oracle Data Integrator (ODI) 11g

    Hi team,

    We have a requirement of scripts and automation of stream using ODI API and SDK. The requirement must use source ODI API and SDK to target cards in Excel (mapping map) is read and can use the SDK to create interfaces for Excel sheets. I am a novice to Groovy and Java script. Please help me on what should be the approach.


    I am able to create individual objects of ODI as 'Projects', 'Models', 'Interfaces' and 'Packages' by using the 'Groovy' editor that comes with ODI 11 g.

    Thank you very much in advance!

    Best regards

    Dos Santos.

    Take a look at the post by Dave Allen who will in the sense of what you're trying to achieve:

    https://blogs.Oracle.com/warehousebuilder/entry/odi_11g_interface_builder

  • ODI API vs tools ODI

    Could you please tell me what is the difference between ODI API and tools ODI.

    Thnaks,

    Sayed

    Basically a tool ODI is a shortcut to use API ODI.

    For example, when you drag a scenario in a package, it will create a tool ODI "Run script" (or something like that), and he'll have a few fields to fill. These fields are it be configured to run a command to the API of ODI, in this case OdiStartScen.

    If you go to the tab 'Order' in ODI 'run script' tool, you can get the command of OdiStartScen together and you can use it inside a procedure to loop or do what you want.

    You can do the same for all ODI tools.

    Hope this can help you.

  • The ODI API method to test the connection to the server XML-Data

    Hello

    I tried my hands on ODI SDK API and could create the physics/logic connections through it successfully.

    At the studio of ODI, for XML technology, when test us the data server-> JDBC-> connection test connection, corresponding to the xml specified in the JDBC url schema (xsd) the lorsque nous tester la connexion de données serveur-> JDBC-> tester la connexion, correspondant à la schema (xsd) xml spécifié dans l' url JDBC les tables tables are created.

    But I'm not able to get this functionality with the API in the SDK. It seems that JDBC connection is not tested when the code below is run

    connection settings

    myDataServer.setConnectionSettings (new OdiDataServer.JdbcSettings)

    "jdbc:snps:xml? d = C: / my_sample_xsd.xsd & s = ITEST..." »)) ;

    So basically I want to imitate the "Test Connection" feature using the API of the SDK. Currently, it creates Server XML data and physical schema but no tables in the database.

    Pointers?

    Thank you.

    I found the solution...

    test the connection to the jdbc url

    RemoteRuntimeAgentInvoker remoteRuntimeAgentInvoker = new RemoteRuntimeAgentInvoker (": http://application-tier server: port/odiagentname", "odiuser", "odipassword".toCharArray ());

    try {}

    remoteRuntimeAgentInvoker.invokeTestDataServer (myDataServer.getDataServerId ());

    } catch (InvocationException e) {}

    e.printStackTrace ();

    }

  • ODI 12 - problem with LKM SQL for Oracle

    Hi again,

    Three days ago, that I asked about the problem with the data types of data warehouses in models that were missing. After you apply the ideas suggested by Rita (thank you very much ) I got from their work.

    But after that, we came across a new problem. When you run a mapping (Oracle for Oracle databases), it failed on the second stage - ' "work table create. "When we checked the generated code was something like this: '(" CREATE TABLE < work_table_name >). None of the names of columns or data types have been described in parentheses and as expected, the ODI execution error was "invalid identifier". It seems that API odiRef.getColList(params)%> does not work. I tried loading using LKM Oracle Oracle (DB LINK) but once again the columns are missing in the generated script.

    I have to mention the master and work repositories are different databases from Oracle and ODI Agent is not installed because of some problems.

    We are still beginners of ODI and would appreciate any help from more experienced guy (or other beginners).

    Thank you in advance.

    Just by chance, we found the soluton today!

    The reason of missing generated code was that the description of the types of data was not entirely cofigured.

    We found that the fields "create table syntax" and "'syntax of data accessible in writing' in each type of data in the topology definition were empty." After filling them, the generation of the script is running properly.

    Before that we had problems with missing data types in models and we realized the reverse engineering of the types of data, but obviously it is insufficient.

    Thanks to all those who participated in the discussion and tried to help us!

  • Table of ODI and Error Message (Oracle CKM) errors and maximum number of errors

    Greetings,


    I have two questions that I hope you can give me some advice.

    --> In an ODI Interface, while on the "checks" tab, I chose 100% the maximum errors (by pressing checbox % and typing 100), this does not at all errors, instead, I see in operator whose Interface has failed because he has reached the maximum limit of errors.


    -> The delicate one: I was looking for in Oracle CKM, and I can't find information on where odiref.getFK ("MESS") is built. The output of this method call is editable? When this error Message is built and how can I customize it?



    Thanks for your help,
    Best regards

    Hello

    Can you please increase ODI parameter below location and check the same

    ODI menu > user settings > operator limit display (0 = no limit)

    Display the change operator (0 = no limit) limit: 100 as 100000 (1 lakhs)

    Kind regards
    Phanikanth

  • Error message in ODI

    Hello

    I'm trying to insert the error message into the table using a procedure.
    To get the error, I'm using API: odiRef.getPrevStepLog ("MESSAGE") after the interface that triggers the error, in a red line "KO."
    But, the Message will be very big and it is not necessary for me. I just need to capture an error information for the line that starts next to the ORA - ID. Please help key that...

    Concerning
    Pavan

    Published by: user753041 on October 16, 2010 02:54

    If your planning to use the variable then yes the package must be something like that.

    Interface and other objects odi
    |
    |
    KO
    |
    (e_msg) REFRESH MODE - OK---> ERROR_tab procedure

    You must also call this after every ODI object

    (or)

    modify the procedure to call the substr directly by declaring in a variable of the oracle and asking that in the insert statement.

    Have you looked at SNP_SESSION, SNP_SCEN, SNP_STEP_REPORT, SNP_EXP_TXT working repository tables, this pretty much keeps all the information you are looking for and simple combination, you can extract the required result.

    Hope that help.

  • Nested functions odiRef

    Hello

    I want to use an odiRef function in another function odiRef to determine the name of the database server that is bound to a certain model - and I want to recover the dynamic context Code. Based on the documentation that I have reviewed, this should be possible, but it does not work for some reason any. Did anyone see what I have to change?

    This code is inside a variable:

    SELECT '< %=odiRef.getCatalogName ('Essbase-ODI-Test", odiRef.getSession ("CONTEXT_CODE"),"D") % >' FROM dual

    The error message is:

    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: error in the interpretation of the task
    Task: 1
    java.lang.Exception: BeanShell script error: parse error at line 2, column 10. Met: (info OSB: null to the line: column 0: columnNo)
    ...
    Text: SELECT ' <? = snpRef.getCatalogName (' Essbase-ODI-Test "," <? ") = snpRef.getSession ("CONTEXT_CODE")? (">", "D")? > ' FROM dual
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
    to com.sunopsis.dwg.dbobj.SnpSession.
    ...


    Thank you
    Matt

    I'm not sure that you can nest api orders because of the way they are converted during execution (someone can correct me if I'm wrong), I created 2 variables a get the context code then the second would use the first variable in there.

    In any case, saying that you are sure that you want to use odiRef.getSession ("CONTEXT_CODE") as if you use

    SELECT '< %="odiRef.getCatalogName" ("essbase-odi-test",="" "d")="" %="" >="" '="" de="" la="">

    He'll be looking for the current context that is used in the execution, so you don't really have the getSession ("CONTEXT_CODE")

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • ORAAH Java API

    Hi do anyone knows if ORAAH comes with a Java API? Also outside installation guide guide and developers is there any other source material or tutorials available?

    Thank you!

    Marlene

    Hi Marlene,.

    Not sure what you mean by "Java API"; It is a widely used software R rJava, which is a general interface to R-Java - see the Homepage and download page of GUTS to learn more. There is also a small package of R type tutorial for use of rJava: helloJavaWorld.

    Regarding the materials, apart from those that you mention that there are also things in Chapter 7 of the Big Data connectors manual, which is part of the Big Data Appliance documentation.

    Hope this helps

    Christos

  • ODI 11 g | Passing the value of the variable ODI option procedure

    Hi Experts,

    I need to pass the value of the global variable / project to an option of the procedure and in the application of the procedure to retrieve. Procedure will be implemented in jython.

    How can I pass the value of the variable option procedure ODI & then retrieve it in the jython script?

    Model data source is the flat file based & I want to retrieve the location of the source directory using jython/java (must implement an on file preprocessing step before calling the interface to load). Is there an ODI API to retrieve the location of the source directory?

    Thank you
    Ashish

    The reason OdiGetOption won't work because odigetoption running will search for the name of the variable where like everything using the execution variable will look at the value of the variable.
    In order to manage your situation i belive, we can establish by using the combination of getoption and global variable using the if condition

    You can write code something like that
    If odigetoption == 'dat ':
    ctrlfileExt = #v_CtrlFileExt
    If odigetoption == "txt":
    ctrlfileExt = #v_CtrlFileExtTxt

    This way, when you call the procedure, you can supply the value of the extension and procedure will use the right variable and the value.

    I hope this helps.

  • creating the table target with ODI KM

    When I create a target using ODI table he put "around the domain name. How can I avoid this. I use the incremental update of the IKM Oracle. I tried to change create target table section, but it fails.

    Someone at - he found a work around that.

    ODI APIs used in the KMs service automatically add quotation marks around the name of column according to how you have them defined in the data model/store.
    If you have defined the lower case or mixed case, ODI will add citations.
    If they are uppercase, then ODI will not add quotes. So, make your fields in capital letters.

  • How to rename a file flat concatenation date and time, file name?

    I created a package where I run a first interface that uses a flat file to a server and load into a table of Teradata.

    After using the OdiFtpPut API, I used a FTP file and send to an outfit.

    Given that this procedure works every day, I need when FTP get concatenation destination file name, the date and time of execution.

    What is the best practice for this?

    using the odi APIs, you can get the date and time

    <%=odiRef.getSysDate("dd_MM_yyyy_hh_mm_ss")%>
    

    To rename, you can use the operating system command or using the command/UNIX windows and rename the file by adding the getsystdate API.

    Hope this fixes your condition

  • I'm checking accessibility writable EEPROM and calibrated... is possible outside the laboratory?

    I'm checking the EEPROM of nonvolatile calibration of the PXI-6115 controller card is accessible only by technicians of the calibration.  It cannot be written to or altered in any way.  The letter of volatility indicates she has 4 k x 8 bits of access read/write nonvolatile, limited API.  Only 5 bytes are available. for user-defined (custom) data.  Does this mean that the API and the 5 bytes are PW protected and cannot be customized by the technicians of Calibration or does that mean that they are available for anyone to write and record on the map?

    I also try to check the information even for the PXI-5411 and PXI-4060 cards as well.

    Hi JenW-

    The 5 bytes of "user-defined information" are writable by anyone with access to the device through NOR-DAQmx.  In LabVIEW, you can write (and read) these bytes via the calibration information property node.  In the C interface, there is a corresponding attribute to write and read the same thing.  The rest of the EEPROM content cannot be changed by the calibration software and not can be written or read directly through NOR-DAQmx.

    I hope this helps.

  • What is the BPA?

    Hi all

    Need your help!

    I started to investigate BlackBerry push Service SDK... and there is an example of application. Her clients put called BPA. I understand that this abbreviation means BlackBerry Push API server. Please can someone explain what it does? And BPA has a report any with BIS? Not found details in the documentation.

    Thanks in advance!

    All outbreaks of Blackberry to any customer on a BIS environment requires the use of PPG (push Proxy Gateway) that is provided by RIm at pushapi.eval.blackberry.com. The sample-app or debug-portal applications 2 RIM wrote to help develop for the proxy servers to push. How everything works is sample application sends a web request to the pushapi.eval.blackberry.com of the site then find the IP address of your handheld and pushes demand to your application port. Your application then acts on the PN

Maybe you are looking for

  • DAQmx change amplitude of wave on-the-fly

    Hello! I'm trying to program my DAQmx device. I have a table of double (waveform custom), a variable amplitude depending on another (feedback), frequency of 50 Hz operation. I want to change the waveform between starts with the new amplitude. I have

  • my dvd player has disappeared.even device manager.vista

    a pilot who turns a little more light flickers, but soon stops. Tried to rip music to see if it will work, but rises no peripheral Burns found.

  • Black screen after the windows login

    Hi, I have a HP Pavilion DV7 notebook with Windows 7 Home Premium installed on it. A problem I've noticed is that, once I connect to windows during a boot, the screen is black for about 1-2 minutes. After awhile, explorer.exe would with desktop, task

  • Aurora-R4, upgrade CPU

    I plan to upgrade the processor of my Alienware AURORA R4 with BIOS upgrade to A - 11. That's what I have now: CPU - Intel Core i7 3960 X 3.30 GHz Socket LGA 2011 Mainboard - Alienware 07JNH0 Chipset - Intel Sandy Bridge-E OS - Windows 10 (x 64) Plea

  • I have a thinkstation with win7pro an OEM installed how to get serial number

    I have a thinkstation with win7pro an OEM installed how to get serial number