Definition of version in LKM oracle for oracle (datapump)

create table < % = odiRef.getTable ("COLL_NAME") % >

(

< % = odiRef.getColList ("", "[CX_COL_NAME]", "\n\tclick", "", "") % >

)

(EXTERNAL) ORGANIZATION

TYPE oracle_datapump

DIRECTORY DEFAULT < % = odiRef.getOption ("X_DATAPUMP_ORACLE_DIR") % >

LOCATION ("< % = odiRef.getOption ("X_DATAPUMP_NAME") % > .dmp '")

)

PARALLEL

in SELECT < % = odiRef.getPop("DISTINCT_ROWS") % >

< % = odiRef.getColList ("", "[PHRASE]", "\n\tclick", "", "") % >

< % = odiRef.getFrom () % >

where (1 = 1)

< % = odiRef.getFilter () % >

< % = odiRef.getJrnFilter () % >

< % = odiRef.getJoin () % >

< % = odiRef.getGrpBy () % >

< % = odiRef.getHaving () % >

I have this code that works, to generate a datapump file. However, I must make it clear to make it compatible version 10.2.

I tried to put the 10.2 VERSION / VERSION = 10.2 / VERSION "10.2" / VERSION =' 10.2 ' /... almost everywhere and I can't seem to find the exact spot, because I keep getting errors. ".

This seems like a stupid question that I hope gets easily solved but where do I put the correct statement?

Thank you!

Found the problem:

create table< %="odiRef.getTable" (« coll_name »)="" %="">

(

  <%=odiRef.getColList("", "[CX_COL_NAME]", ",\n\t", "", "")%>

)

(EXTERNAL) ORGANIZATION

TYPE oracle_datapump

DEFAULT DIRECTORY <%=odiRef.getOption("X_DATAPUMP_ORACLE_DIR")%>

(SETTINGS) ACCESS

VERSION "10.2'."

NOLOGFILE

)

LOCATION ("<%=odiRef.getOption("X_DATAPUMP_NAME")%> »)

)

PARALLEL

in SELECT <%=odiRef.getPop("DISTINCT_ROWS")%>

  <%=odiRef.getColList("", "[EXPRESSION]", ",\n\t", "", "")%>

of <%=odiRef.getFrom()%>

where (1 = 1)

<%=odiRef.getFilter()%>

<%=odiRef.getJrnFilter()%>

<%=odiRef.getJoin()%>

<%=odiRef.getGrpBy()%>

<%=odiRef.getHaving()%>

Tags: Business Intelligence

Similar Questions

  • 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!

  • ODI LKM Oracle for Oracle Data Pump question

    Hi all

    I have a weird problem, ODI.

    I associate myself with per_all_people_f, fnd_user to load the w_user_ds using Oracle Data Integrator. The used LKM is LKM Oracle for Oracle Data Pump.

    Fine when I run the interface. I am getting below error

    ODI-1227: task failed USER_DATA_SET (load) on the source of connection ORACLE EBS.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00923: KEYWORD not found where expected

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)

    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)

    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)

    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)

    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

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

    The generated code is

    create the table 780021 X

    (

    C1_FIRST_NAME,

    C2_MID_NAME,

    C3_LAST_NAME,

    C4_FULL_NAME,

    C5_NAME_SUFFIX,

    C6_SEX_MF_CODE,

    C7_SEX_MF_NAME,

    C8_COUNTRY_NAME,

    C9_LOGIN,

    C10_CREATED_BY_ID,

    C11_CHANGED_BY_ID,

    C12_CREATED_ON_DT,

    C13_CHANGED_ON_DT,

    C14_AUX1_CHANGED_ON_DT,

    C15_SRC_EFF_TO_DT,

    C16_INTEGRATION_ID,

    C17_EFFECTIVE_START_DATE

    )

    (EXTERNAL) ORGANIZATION

    TYPE oracle_datapump

    Dat_dir default DIRECTORY

    LOCATION ("X780021.exp")

    )

    PARALLEL

    in SELECT

    ALL_PEOPLE_F.FIRST_NAME,

    ALL_PEOPLE_F.MIDDLE_NAMES,

    ALL_PEOPLE_F.LAST_NAME,

    ALL_PEOPLE_F.FULL_NAME,

    ALL_PEOPLE_F.SUFFIX,

    ALL_PEOPLE_F.SEX,

    ALL_PEOPLE_F.SEX,

    ALL_PEOPLE_F.NATIONALITY,

    USER. USER_NAME,

    ALL_PEOPLE_F.CREATED_BY,

    ALL_PEOPLE_F.LAST_UPDATED_BY,

    ALL_PEOPLE_F.CREATION_DATE,

    ALL_PEOPLE_F.LAST_UPDATE_DATE,

    ALL_PEOPLE_F.CREATION_DATE,

    ALL_PEOPLE_F.EFFECTIVE_END_DATE,

    USER. USER_ID,

    ALL_PEOPLE_F.EFFECTIVE_START_DATE

    from APPS. FND_USER USER, APPS. PER_ALL_PEOPLE_F ALL_PEOPLE_F

    where (1 = 1)

    And (ALL_PEOPLE_F.PERSON_ID = USER. EMPLOYEE_ID)

    I don't see what is the problem here.

    Someone can help me.

    Thank you and best regards,

    Krishna Prasad

    I found the problem, its with the way ODI generated alias for the FND_USER table, by default it produces USER as an alias, which is a keyword from oracle. We just need to rename it to something else, and it worked.

  • Version of the Oracle client

    Anyone help Pls!
    How to check the version of the oracle client installed on my local pc (windows xp)?
    I went to start all programs, I can see oracle 10g, 81,92 on my pc.
    At the command prompt, I entered sqlplus /nolog it shows the version, but they say it's the version of the server.

    If we are talking about an Excel spreadsheet with a macro in VB using ODBC to connect to the Oracle database, which ODBC driver are you using? Assuming you are using one of the ODBC Oracle driver path is irrelevant. The driver name should include the name of the Oracle House (that is to say, the ODBC driver will be named 'Oracle in OraHome92' If you use the ODBC driver in the Oracle home "OraHome92" which, no doubt, would be the home Oracle 9.2 (if there are multiple Oracle homes on the machine with the same version of the Oracle client or if you chose the default names for your Oracle homes that do not include the version number , you can search the registry - that is to say the path of specific directory for a particular Oracle home HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST. INI\Oracle in OraDb11g_home1\Driver will be the full path to the SQORA32. DLL which corresponds to the ODBC Oracle driver OraDb11g_home1 hospitality Oracle on my machine - but that is probably farther in the herbs you want to go). If you use the (long) since depricated Microsoft ODBC driver for Oracle, then the PATH comes into play because this driver is not consistent stream.

    Justin

  • the provider is not compatible with the version of the oracle client

    Hello

    I have the Oracle 10 g database in my production server *(windows 2000 server SP4) * and I use ODAC 11 g (11.1.0.6.21) for the connection of the .net code database.

    During execution of the code, I get the following error: the vendor is not compatible with the version of the Oracle client.

    But the same code works file in my system *(windows xp SP2) dev *.

    Any help is appreciated.

    Thank you!

    Hello

    Thanks for the information.

    One point that we have several versions of Oracle on the prod server. This can be a reason?

    Yes, if an older version of the client is first in the system path. Can you verify the system path and confirm if an older version of the client is in the path before the 11.1.0.6 version?

    Thank you

    Mark

    Edit1: See also the comments of Alex on DllPath here:

    Issue of ODP.Net

    Published by: Mark Williams on July 30, 2009 18:01

  • Most recent version of the Oracle client version is compatible with the low version

    Most recent version of the Oracle client version is compatible with the Oracle DB low version

    Client Oracle 10.2.0.5 version should be compatible with 10.2.0.4 DB?

    Yes - see on Oracle (ID 207303.1) support compatibility table

  • 8u40 SDK-installation of Java under Yosemite 10.10.2 (Mac), the version of the SDK for Java 7 left, also on my system.  Why?

    8 SDK-installation of Java under Yosemite 10.10.2 (Mac), the version of the SDK for Java 7 left, also on my system.  Why?

    Unlike the JRE, JDK is installed so that multiple versions can be installed on a system at the same time. If you want to remove a JDK, instructions can be found here: https://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html#A1096903

    -Roger

  • Save before exit Skillbuilders (version 3.0.1 for APEX 4.0): problem with some element of list in the form Manager

    Hello

    I have a problem with the plugin save before exit that I downloaded from Skillbuilders. As I use Oracle APEX version 4.0.2 and Oracle 10 g r2 database; so I downloaded one that says "Save before release (version 3.0.1 for APEX 4.0)" skillbuilders and follow-up of their documentation to import the plugin and use it.

    My problem is that even if I do not make any changes to data in the form and go to another tab. the alert message always appears, and by the way, I have an element of list manager on my form and it gets highlighted. So, even if I make the changes or do not change; still, the alert message is displayed and highlights the element of list manager. I think maybe the problem is to have a crèche in the form list item. I have reproduced the same problem in my personal workspace. Here are the details.

    http://Apex.Oracle.com/pls/Apex/f?p=55129

    Details of the workspace

    Name of the workspace: raghu_workspace

    username: orton607

    password: orton123

    App # 55129

    Page: 2 - has the element of list manager.

    Page 3 - works fine without the element of list manager

    Please help with possible suggestions.

    Thank you

    Orton

    Orton,

    I have connected to the workspace you and added a replacement JS file that corrects this error.

    If please, give it a whirl and let me know if you find other problems with it.

    It is to the 3.0.2 version of the plugin and I do not know if this even fix will work for your local Apex version earlier.

    When you are ready to go to the APEX 4.0.2 Please contact me directly for assistance. In the meantime, I'll work on the creation of a patch for this kind of new downloads of the plugin will contain this change.

    Greg

    [email protected]

  • AIX - version of the patch for 10 gr 2

    All,

    can someone let me know what is the current version of patch available for oracle 10 g 2 to AIX 5 L. It seems 10.2.0.4 on solaris.

    Thanks in advance.

    Any reason you can't do a search for yourself on My Oracle Support? ;-)

    Here's what I found

    6810189 - 10.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER IBM AIX Based Systems (64-bit)
    7612639 10.2.0.4 RECOMMENDED BUNDLE # 3 GENERIC

    HTH
    Srini

  • I am told my Firefox version is outdated but on Firefox said I'm updating version 39.0 + solutions for older versions do not work

    I run Firefox version 39.0 but told me that my version of Firefox is outdated even by the Mozilla site.
    About Firefox said I'm updating version 39.0 + solutions for older versions do not seem to work.
    I tried to download the full installer and run it, https://www.mozilla.org/firefox/all/
    (he was supposed to detect my existing installation and update).
    Then reopen Firefox and go to this site.
    Yet this site advises again once update me my version of Firefox...
    I would appreciate your help.
    Keep up the good work,
    Thanks in advance,

                                   Gunter Von Breslau
    

    If you couldn't fix it by resetting the custom entries general.useragent subject: config as described in the article above, then you might also Update firefox that should address this issue as well...

  • What is the new version of the software for iPad pro

    What is the new version of the software for iPad Pro

    TThe latest version for the new iPad 9.7 Pro is iOS 9.3.1. Apple pulled iOS 9.3.2 for this device because there were some problems with it and they have not released a fix yet, if you have the bigger iPad Pro, it is 9.3.2.

  • Is the latest version of Firefox optimized for Yahoo

    All I want to know is the latest version of Firefox optimized for Yahoo

    As far as I know, Firefox is not "optimized" for specific web sites. If you see a version of Firefox that claims to be "optimized for Yahoo", it might be a new perfume created by Yahoo, but that's just a guess.

  • Can not find the latest version of the BIOS for my Satellite Pro L100

    Hello everyone,

    I'm looking at the latest version of the bios for Satellite Pro L100 (PSLA1E).
    I can't find it on the Web from Toshiba site because it is a product at a reduced price.

    The BIOS download page is http://www.toshiba.eu/innovation/download_bios.jsp
    The older models, you can find if you use the option product type > Archive.

    Your Satellite Pro is in the list and latest version of BIOS is WIN 3.00.

    I don't know if there is a problem with your laptop but if everything is working properly and stabile don't change anything.

  • An internet connection is required to download a larger version of these elements for export.

    MacBook Pro 2012 El Capitan 10.11.3

    I was exporting photos absolutely without problem and suddenly when I tried to add a bit to a keynote presentation this message come.  An internet connection is required to download a larger version of these elements for export.    I can't export all the photos at all now.   What happened and how do I?

    I do not know how to send an email add-on so answer myself.   I found the answer to the problem.   When I looked in preferences of Photos I found that somehow the iCloud had been turned off.   As soon as I checked the box even when everything worked well!    Mystery.

  • Complete description of the BIOS Version 1.40 - WIN for Satellite L300-1BB

    Somewhere, anyone can find the full description of the bios BIOS Version 1.40 - WIN for the L of Satellite series, which was the site of toshiba on the date 01/14/09. Why should I do this update for my machine?
    Kind regards.

    Hello

    I didn t find details changed in the BIOS update on the page of Toshiba Europe.
    I assume that Toshiba does not provide this information

    However, if your laptop runs without a problem, then I would not update anything you know
    I'm always that notice; never change a running system. And that's the best advice I've ever heard.

    PS: You're talking about L. Satellite... what Satellite L do you have exactly?

Maybe you are looking for