On the filtering of the ODI

Hi all

I have a question. I'm creating a map / ODI 12 c interface. I have a few tables join and conditions belongs to everyone. A table has such a condition;

Join ct = ct.customer_trx_id ctl.customer_trx_id ra_customer_trx_all

and ct.org_id = 23

and ct.batch_source_id not in (select batch_source_id

of ra_batch_sources_all

WHERE name like '% KHC %')


There is a condition of the subquery. How can I get the model on ODI. In the filter window, is only the main table. In order to take batch_source_id column in the ra_batch_sources_all table, shoul I join or how?


Kind regards

Dilek

Hello

You can achieve this condition with different method some on ODI 12 c.

1. you can use the temporary Interface (Interface yellow) to create queries to subselect. After that, simply filter your structured data. This link will help you how to use interface temp;  http://oracledataintegratorcommunity.blogspot.com.tr/2013/04/create-temporary-interface-in-Oracle.html

2 table key and subquery (in this example ra_batch_sources_all and ra_customer_trx_all) will join the left external method in the source data store using the column filtring (ra_customer_trx_all.batch_source_id = ra_batch_sources_all.batch_source_id). After that, in the target data store, you can add a new column called "flg", and if a record in ra_customer_trx_all but not in the ra_batch_sources_all, flg '1' value, in case contrary flg value to '0 '.

After map columns of target data store, you can filter the "flg" column using flg = 1 condition. This result is even above solution.

3. This is the last solution, you can use hard-coded the filtering in the source data store.

If all goes well, it has been helpful to you,

Kind regards

Sinan,

Tags: Business Intelligence

Similar Questions

  • Change the SUPERVISOR password in configuration of the ODI

    Hello

    I configured an agent in ODI 12 c with the help of a guide in the link below:

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/ODI/odi_12c/odi12c_agent/odi12c_agent.html#overview

    Now when J'execute./agent.sh-name = OracleDIAgent1-PORT = 20910 I get an error "ODI-10199: ODI Incorrect username or password" error details is given below:

    [oracle@ODIGettingStarted bin] $./agent.sh-NAME = OracleDIAgent1-PORT = 20910

    New data source 2016-02-10 06:27:51.461 NOTIFICATION: [OGG_ODI_REPO/***@jdbc:oracle:thin:@//localhost:1521/ORCL]

    2016-02-10 06:27:54.030 ODI-1128 NOTIFICATION Agent OracleDIAgent1 begins. Container: AUTONOMOUS. Agent version: 12.1.3 - 17/06/2014. Port: 20910. JMX port: 21910.

    What helps: 127.0.0.1,127.0.0.1,127.0.0.1

    2016-02-10 06:27:57.975 ERROR ODI - 1131 OracleDIAgent1 Agent encountered an error: ODI-1404: Agent OracleDIAgent1 start failure: an authentication error occurred when connecting to the master repository. Caused by: ODI-10199: ODI Incorrect username or password.

    2016-02-10 06:27:57.976 WARNING ODI-1404: Agent OracleDIAgent1 start failure: an authentication error occurred when connecting to the master repository.

    Caused by: oracle.odi.core.security.BadCredentialsException: ODI-10199: ODI Incorrect username or password.

    2016-02-10 06:27:57.978 unavailable WARNING

    2016-02-10 06:27:57.999 ODI-1443 ERROR error when starting agent: ODI-1404: Agent OracleDIAgent1 start failure: an authentication error occurred when connecting to the master repository.

    Caused by: oracle.odi.core.security.BadCredentialsException: ODI-10199: ODI Incorrect username or password.

    I want to know how I can change the password and solve this problem? Note that I did not password coded for the SUPERVISOR in the ODI server configuration step.

    WAQ28 wrote:

    Do we need to use the repository work over here password to encode and then put this password in the xml file?

    No, it should be the password of the account supervisor created when running the RCU (repository creation utility).

    You can change ODI Studio tab if necessary.

  • UPGRADE THE ODI

    I'm new on ODI and I do an upgrade to 10G and 11G, but I came through a few questions

    (1) documents say that clone the repositories of masters and working (I left this backup databases used by these repositories. Fix this how can I tell which diagram is connected to the master repository and work. If im wrong what is the exact meaning of it)

    (2) here for user ID DBA, password what should I give and what I need to create a new schema for this?

    )

    Take a look at this blog, ODI upgrade to 11 g.

    # 1 the diagram is connected to the master repository and knit - check the ODI 10 g login screen (you should obtain details of the scheme)

    # 2 no need to create a new schema - uses the schema of the cloned / backup

    Kind regards

    Deker P.

  • Overtemperature "PIVOT" is missing from the ODI 12.1.2

    Hello

    I use ODI 12.1.2 under 64 bit Linux.

    In my component palette "PIVOT" is missing, so I made a request Patch 17053768 with success.

    Am I supposed to remove the ' ~ /.odi/system12.1.2.0.0 ' file according to the section after the installation of the file Readme in the patch, but I might not be able to get the path because of which I wouldn't be able to delete the "system12.1.2.0.0" resulting "PIVOT" in Linux(64bit) component file still missing.

    Help, please...

    Thank you

    Sébastien.

    Note .odi is a hidden directory

    • On Unix /Linux:

    $HOME/.odi/system11.xxx

    Then search for the hidden by the name .odi directory and delete the appropriate.

    How to restore the default layout / Initial of Windows ODI (Doc ID 1439606.1)

    Kind regards

    Deker P.

  • Location of the Agent of the ODI

    I hope it's a simple question.

    I have Essbase and planning on a Unix machine.  ODI Studio is on a windows machine.  If I install the ODI Agent on the windows box, I should be able to load to the correct planning and Essbase?  Are there other necessary elements in the box of Windows ODI to connect with planning?

    Thanks in advance.

    Well are you talking about using the standalone ODI or one that comes with the FDMEE?

    FDMEE install an ODI in the machine were you install the FDMEE.

    If you install ODI agent in the Windows box, it should be able to talk to the planning & Essbase on Linux (you can also use the agent to stand alone).

    End of the day, that the ODI studio connects to the database/schema & work-repository master to run the interface.

    Make sure that apply you all necessary patches (in 11.1.2.3, it is mandatory to apply a patch ODI if planning is a target)

    Kind regards

    Deker P.

  • How to configure details WorkRepository to them in the console of the ODI. ?

    Hello world

    I freshly created some interfaces in ODI studio in two repositories named: WorkRep_1 and WorkRep_test and interface test_1 in WorkRep_1 and test_2 in WorkRep_test.
    Yet after configured WorkRepositories in the Console of the ODI.

    WorkRep_1:

    WORKREP_1
    JDBC/odiMasterRepository
    SUPERVISOR
    JDBC/odiWorkRepository

    WorkRep_test:

    WORKREP_Test
    JDBC/odiMasterRepository
    SUPERVISOR
    JDBC/odiWorkRepository

    I am getting same interface in two repositories when opened in console with different repositories, please help me.

    Thank you

    Shakur.

    Hello

    As you can see in both cases, you specified jdbc/odiWorkRepository as URL JNDI to work while you get connected to a deposit in both cases. If the steps you must follow to create Console ODI connections for two repositories:

    1. create a new JNDI with the details of the schema of data base for WORKREP_Test, targeting for your managed server where you have deployed your odiconsole.

    2. then, you configure a connection of repository odiconsole to WORKREP_Test mentioning the JNDI newly created for your WORKREP_Test.

    Steps to create the new JNDI:

    To create a JNDI, connect to the Weblogic administration Console > go to Services (on the left panel) > Data Sources

    You will see the list of configured JNDI names already. You must add one more favorite JNDI for your schema repository work connection. You can reference existing repository work connection JNDI (odiWorkRepository) for the sample of the parameters values.

    Thank you

    Parag

  • How to change the name of the ODI agent and port number

    I installed ODI standalone agent (11g) on a linux server.  We now realize that we need to change the name and port number of the agent.  Is it possible to change these or do we need to re - install odi agent?

    I know that I can change the name in the ODI, but I can't change the port number.  I would like everything to be consistent in all of our environments.  That's why we need to change the name of the agent and the port number.

    How do you start the agent? Which command you use to start?

    There are two ways, either by directly calling agent.bat and passing name agent and port don't start or you can run the sh/bat file created during installation (present in oracledi\agent\bin). The file name that is created should look like this (agent_localagent11g) where localagent11g is the name given during installation time and 'agent' is the prefix that was added by ODI.

    There is no configuration file to configure the port number and agent. Make sure that the port number and name you pass to agent.sh must match what is configured in odistudio.

    Agent.bat '-PORT = 20910 ""-NAME = localagent11g.

  • Cannot start the agent of the ODI JAVA EE on Linux

    Hello

    I have installed/configured EMP 11.1.2.4 on exalogic (VM linux 5.8). When I start my services I get everything right except agent ODI; It does not start and when I try to start from console FUSION EM I get this error

    [Deployer: 149034] An exception has occurred for task [Deployer: 149026] start application oraclediagent on ErpIntegrator0. : [HTTP:101216] Servlet: 'AgentServlet' failed by preloading at startup in a Web application: "oraclediagent."

    I checked on the oracle support and they say that we must change the binding order. I changed the binding order by twisting in files located in /etc./sys-config/network-scripts. But I still get the same error.

    My questions are,

    1 - is the right way to change the binding order?

    2 - How can I see which NIC is chosen by the agent of the ODI; is there a way I can change the NIC ODI agent chooses?


    Concerning

    Note: Please see the bulletin first response to show my ifconfig file.

    Thanks for the help guys.

    I am able to start the ODI agent with the help of oracle support.

    Enter these lines in

    Start WLS_Admin_Console-> domain_name-> Servers-> ErpIntegrator0-> configuration-> Server-> Arguments:

    '- Doracle.odi.coherence.wka1 =server_ip - 9088 = Doracle.odi.coherence.wka1.port - Dtangosol.coherence.localhost =server_ip - Dtangosol.coherence.localport = 9088.

    without the quotes. Restart the server of the ERPI.

    Concerning

  • How do I inject inside the ODI 11 G PL/SQL (not function procedure)

    Hello Expert,

    would be like double until OWB and ODI OWB 11 G I wich 'The user function' run PL/SQL and it remove some data in the table and the reel journal, is possible that I can do the same thing in ODI, in my case, I can't call function, or a procedure stored outside the ODI. See below the part of the PL/SQL based on user OWB.

    coil MyFile... Journal

    command prompt

    create table MyTable as

    Select a.*

    Of...

    commit;

    command prompt

    spool off;

    "exit";

    Thank you!

    You can run a PL within a procedure, you simply copy paste your PL and place in a procedure inside the ODI.

    I hope this can help you!

  • the ODI version

    How to know the exact version odi, we use in my machine?

    The ODI Studio displays the General version number (11g vs 12 c). Once your in Studio ODI, help-> will display the full version number and construction of information.

  • Download DataServer User/Pass/host with ODI Variable to use in the ODI tools

    Hi guys.


    I was thinking about a way to dynamically modify the ODI tool based on the parameters of a root.


    So I created a dummy DataServer with host that the IP address of the server I want to reach and define the user/pass I will use to authenticate.


    Data_Server_DMZ.png

    Then I coded a variable with odiRef.getInfo to obtain this information, but the two results return nothing because this API based on the execution of an interface works. I've not found an API to get these values from a package.

    ODIVariable_HOST.png

    Is there a way to get this base only in a logical schema, such as: odiRef.getDataServerInfo ("LS_OF_THE_DATASERVER", "DSERV_NAME") so that I can use it like this:

    ODI_PKG.png

    Thanks for the help, Giampaoli.

    I've made a few changes based on the post you sent.

    Basically, I used only the tip of the game from the source as the topology I wanted settings and coded the target with this:

    Command on the target

    Command on the Source

  • The export of a variable value of Jython in a Variable of the ODI

    Hello everyone,

    I use ODI for the first time and I have a few simple questions.

    I wrote a Java program 'P' to perform three operations: 'X', 'Y', 'Z '. The program returns a string with the result encoded in JSON format (and never raise an exception).

    Now I have the pot of P.

    In ODI 12 c demo I created with success a procedure with 3 tasks (1 running X, Y of 2nd, 3rd Z). I run P every time a Jython script that loads the jar with some ODI environment options and pass as arguments to the main method.

    At the moment there is executed even if X fails and the Z are executed even if fails. What I need is to check the result of the operation: If the result of X is equal to a certain channel then run Y. If the result of Y is equal to a certain String then run Z.

    That's why I created 3 different procedures, each with a single (jython) task (we run X, a Y, and a Z).

    I created a new package and put in the three procedures.

    My problem is how to connect the three procedures: I need to store the result of an operation and check it before performing the next step.

    I saw that it "Assess the Variables", but how can I store the value in a variable of Jython (string JSON) in a Global Variable ODI?

    It seems that the Options of ODI are unalterable (How to set the value of the variable of Jython Script ODI). Any suggestion?

    I can't use the ODI OS calls. Jython is not strictly necessary.

    Thanks for reading.

    Gianvito

    Oh! Now your example clearly what you want to do then it is much easier. No need to do anything special... just use Jython throughout the whole, since the variables are "persistent session." Like this:

    First proc:

    Second proc:

    The result of the execution:

    Is that what you want?

  • What is the 'current' in the ODI Designer?

    Hello

    We have a certain contexts located in ODI and trying to configure logging (consisten whole - stream), we still have empty "list of subscribers in the current context", even there are Subscribers defined.

    The question is: what is the ODI context consider 'current' as long there is no option in the user interface / Designer level to set the current context? I imagined that this should be the context by default, but it's not.

    ODI version is 11.1.1.6.5.

    Thank you very much

    Andrei

    I finally found!

    In the designer, you can click 'Connect Navigator' (the little icon on the same line with icon refresh) and there you have the magic option called: "default designer context. '

    Andrei

  • Give the ODI ID and password

    I installed OLIVIER 11.1.1.7.1 successfully. But when the connection to the ODI repository, it throws an error saying, bad Creadentials. ODI-10199: ODI Incorrect username or password.

    Actually I forgot the password I gave ODI at the time of the ConfigApps.bat. Please help me to reset the login ID and the password for it.

    Hi all, in fact the username and password were correct but I forgot to start the Oracle BI services before logging in ODI... I solved this problem, thank you guys.

  • Installation BI applications Oracle 11g sur-erreur AIX 7 Configuration to the configuration of the ODI

    All,

    I installed oracle bi application for 11.1.1.7.1 AIX 7.1 server. My process of BI applications configuration is to launch a mistake in the part configuration ODI.  Detailed error is pasted below. I perform software only installation as with AIX, you must select Install only software for OBIEE and OLIVIER and configure BIAPPS later.

    I saw two others archived son who discusses this error, and it seems that it is events expected for deployments of AIX error. And both of them say that it is ok to continue the Setup process and make this ODI configuration for later.

    However, the instructions on how to do this from one of the thread is fragmentary or incomplete. If you guys have run into that, can you please guide on how you have been able to solve this problem? The location for 2 OTN discussion is stuck here as well.

    Re: OLIVIER 11.1.1.7.1 install the mistake out to ODI configuration

    Re: Installation OBIA 11 g - stuck to the configure script

    Error:

    configure_odi: problem invoking WLST - Traceback (innermost last):

    configure_odi: file ' < userpath > / Oracle/Middleware/Oracle_BI1/bifoundation/install/configure_odi.py ", line 261, in?

    configure_odi: file ' < userpath > / Oracle/Middleware/Oracle_BI1/bifoundation/install/configure_odi.py ", line 206, in _configureOdiDwIntegration

    configure_odi: at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    configure_odi: to sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)

    configure_odi: to sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)

    configure_odi: to java.lang.reflect.Constructor.newInstance(Constructor.java:527)

    configure_odi:

    configure_odi: java.lang.Exception: java.lang.Exception: update of the database of the DW_FILE server failed with return code: 1

    configure_odi:

    java.lang.Exception: java.lang.Exception: WLST Script task failed with status 1

    at oracle.as.install.biapps.biappsconfig.standard.ODIConfigTask.doExecute(ODIConfigTask.java:65)

    at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)

    at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:66)

    at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:113)

    at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:375)

    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)

    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)

    at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)

    at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:96)

    at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:186)

    at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)

    at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)

    at java.lang.Thread.run(Thread.java:738)

    Caused by: java.lang.Exception: WLST Script task failed with status 1

    at oracle.as.install.bi.biconfig.standard.WLSTScriptTask.doExecute(WLSTScriptTask.java:119)

    at oracle.as.install.biapps.biappsconfig.standard.ODIConfigTask.doExecute(ODIConfigTask.java:62)

    ... 12 more

    RP

    So, that's what we were doing to solve this problem:

    1 let the Configuration process continue with the error. All other tasks should complete successfully.

    2. install the ODI studio on a client computer, WIndows/Linux.

    3. manually the program installation/editing file server and data server technology tab.

    RP

  • Error in AIFUtil.callOdiServlet - connection to the ODI Servlet error

    Hi John & all,

    We have EMP 11123 put in place on a cluster of 2 nodes using the common mount Linux.

    The servers in the domain of WL managed ERPI are as below:

    ErpIntegrator0 Server A 6550

    ErpIntegrator1 Server B 6551

    The oracledi agent is available to

    http:// ServerA:6550 / oraclediagent

    Or

    http:// ServerB:6551 / oraclediagent

    However when we start loading it rule fails in the export with the error (data in the workspace management) below, we get the error below:

    "CommData.updateWorkflow - END."

    2014-01-17 12:24:56, 438 [AIF] DEBUG: AIFUtil.callOdiServlet - START

    2014-01-17 12:24:56, 450 FATAL [AIF]: error in AIFUtil.callOdiServlet - connection to the ODI Servlet error: url = http://localhost:6551/aif/ODIServlet , class="HPLService", method=loadData, params=[170, u'YXaa0YHQfx8rIJlwC40l9%2BxbO8sEEgKHBWsamkRbZZRoUkatmfYLpfdw2rA%2BI73XtsD9z5AW1vqU9XRlB5WByL03O18g9Yk2TZtc6sgKJG4MzV48jMuIYC7bTiwQ0r6jwWlCRThoPRiy450ScFygchYQG5%2FAHJyZAPzPTDcFlismBoSYiWOl4vk%2Bka5tX45aYjCsHtvVRn8tUvcnsHvRPIBWls2FaHhN3CvY9L0yOhZ8FUFmNNE0ltJ4dgMVh7MyDCVStT8LVBTv5fRIPvOrsWNJhlyvNHNzvyqqN3t677Gw4B%2Fa70TxDJYDb5eb83NZe%2F3GW%2BCKxRsHve6O8JLADO%2B80TIKSrEiLoialbrG%2B6mZApB78sg7h5PwuMZAcFzXxxmnPjDM1KnaK5RRrqddMQXKAxVCg8mhaZtuzFgd3C4AdzsJVGcLM8siaZOLhdjk']"

    Traceback.

    For some reason, it's thinking that ODI runs at localhost:6551.

    We tried to manually change the URL odiagent on the configuration page of data management to one of the two correct URL as shown above. We can check the connection test succeeded. After that we ran the load, there always seem to "localhost:6551". Then, we thought probably after that changing the setting that we must restart ErpIntegrator WL managed server. After reboot, we see the default URL "http://localhost:6551 / oraclediagent'. '"

    Not sure how to get generated this URL of Servlet ODI. For sure it is not the correct collection of the server/port combination. Please help on how to solve this problem.

    Concerning

    VARA

    Hi Craig,.

    It was actually http://localhost:6551 / oraclediagent. Now, the question has been resolved. In a clustered environment, it is expected that the ports are the same on both nodes. In our case on a node, it was 6550 and on the other, it was 6551. So in the registry, it is updated with the latest value of port this is the port on Node2.

    Here, he is able to interpret the localhost to the node that hosts the managed server ErpIntegrator. To test this, I kept two servers managed upwards (ErpIntegrator0 & ErpIntegrator1), then tried to check the connectivity to the data management page. He has failed. Then stopped ErpIntegrator1, maintained ErpIntegrator0 no luck. Arrested ErpIntegrator0 and up to the ErpIntegrator1. Then with localhost:6551 ODI connectivity agent works very well.

    So, I conclude that the port is same on both nodes. Another finding was if install us a separate stand-alone ODI on the server agent and try to use it on the page of data management that it does not work in a clustered env. Where as in a single-node configuration we can update the host & port of agent oracledi.

    Concerning

    VARA

Maybe you are looking for

  • disappointed by the apple customer service

    Hello I didn't want my first post to be like this, but I had no choice! Nov. 2014 I bought my iPhone 6 and 16 gb and they gave me one year factory warranty. my phone started having a few problems in 10 months. August 2015 I went to the apple store an

  • Tecra M7 for Dutch handwriting recognition

    Hello Anyone know how I can activate for Dutch handwriting recognition? Now I can't use the keyboard on the screen if I put the Dutch language. If I change the language to English I use also the writing pad and the character pad. I need to download f

  • Wzcdlg.dll?

    I just reinstalled Windows XP on my Dell Inspiron 5100 (it's a dinosaur, I know) and it seems that I can't connect to the Internet... He currently heads the Service Pack 1 and I tried to turn on Wireless Auto Configuration in CMD. Missing something?

  • Invalid product key, even if it is VALID (bought from dell)!

    Well, I'm in a very difficult situation. I have a dell system that I purchased from Dell, so I doubt there's no infringement going on and the product key provided is not valid. What happened is I reinstalled Vista I could not install SP1 still cannot

  • Exporting Contacts from Vista Home Premium 64-bit

    Trying to export my contacts from Windows Mail.  The instructions read "click on"windows contacts", then click"export"on the"toolbar.""  When I click on "windows contacts", I don't see 'export' in the toolbar, only "Edition, file, view, tools and hel