That reversed a flat file

I'm trying to overthrow a flat file, but nothing happens. Kindly help.

Thankx in advance

CHEK if your model is locked or not. If it is locked then unlock and invert.

I hope this helps.

Nick

Tags: Business Intelligence

Similar Questions

  • Problems to reverse a flat file and use it as TARGET

    Hi all.

    I have a requirement to create a CSV file with two columns, username and password. I use an ODI Client in a Windows XP and my ODI Server is a Unix server.

    I tried so many different ways to reverse the file, but all attempts fail. :(

    In my unix server, the file is located in/opt/odi_files/csv and my windows client is in C:/TEST_TXT_ODI. The file name is Export_Siebel_to_CA. CSV.

    I created 2 logic diagrams, one called LS_FILE_WINDOWS_CSV and the other called LS_FILE_UNIX_CSV and the procedure of the physical schema, putting DS at the beginning... the other connecting correctly. I use the driver JDBC of Sunopsis file and when I test the connection by using the local agent or server, I have a success message. When I try to turn the tide, I get the error "unable to retrieve the list of files.

    I have used this site as my guide until now ["http://odiexperts.com/?p=78"], but the configuration of the topology to access the unix server or using my own machine as a location for the file, I was not able to retrieve the columns in the file.

    I think that there is something that I miss. Anyone help me?

    Kind regards.
    Luiz Araujo

    Fala AI Buchu!

    Can you send me a photo of your definition of data store? (the file to the template tab)

    Cezar Santos
    http://odiexperts.com

  • Is a database table that is required for the temporary interfaces with the data flat file source?

    People, this is the situation I ODI 11.1.1.7

    1. I have an interface temporary (yellow), called MJ_TEMP_INT, which uses data from TWO sets of data from the source in a temporary target (TEMP_TARG). Wrestling is a shot of a data set from a table while the other set of data extracted from a flat file.  A union is made on data sets.
    2. I then create another interface, called MJ_INT, which uses the MJ_TEMP_INT as the source and the target is a real database. table called "REAL_TARGET".

    Two questions:

    1. When I run my second interface (MJ_INT), I get a message "ORA-00942: table or view does not exist" because it is looking for a real TEMP_TARG db table. Why I have to have one? because I am pulling a flat file?
    2. On my second interface (MJ_INT) when I look at the interface of my source MJ_TEMP_INT (yellow) property sheet, the box 'Use the temporary interface as a Derived table' is DISABLED.  Why? Is also because my temporary interface is pulling from a flat file?

    I am attaching a file that shows a screenshot of my studio ODI.

    Furthermore, IF my temporary source interface has only a single set of data by pulling from a database. Table to table in a temporary target, called MJ_TEMP2_TARG, and then when I use this temporary interface as a source to the other another real db. target table (REAL2_TARGET), THEN everything works.  ODI requires me to have a real database. Table MJ_TEMP2_TARG and the checkbox for "interface temporary use as a Derived table" is NOT DISABLED and my REAL2_TARGET table gets filled.

    Thank you in advance.

    Mr. Jamal.

    You quite rightly assume the reasons that you have questions is because you try to attach a file. A file I always have to be materialized in the transit zone, as a temporary table and then have the data loaded in it.

  • Suppose we have sal, comm in flat file, but in the staging table that we have

    Hello

    Suppose we have sal, comm in flat file, but in the staging table we are totsal col.i need to give sal + comm totsal in ctl file.how I have to give.

    Can you please help on this.

    Kind regards
    Ramanantsoa.

    Have you tried with [BOUNDFILLER | http://www.orafaq.com/wiki/SQL * Loader_FAQ #Can_one_skip_certain_columns_while_loading_data.3F] option?

  • How to load flat files without header to table in ODI

    I try to get data from a flat file, but it doesn't have any header

    as 1, tom, 36, usa.

    I have a table with id column, name, age, country, and I want to get the data. Please let me know how to proceed.

    Thanks in advance

    If you add columns manually in the data model there is no need to reverse engineering. If you reverse engineer with header set to 0 ODI will simply give the columns arbitrary identifiers such as C1, C2, C3 etc. That you can leave or change.

  • Loading flat file in planning in ODI

    Hello

    I'm trying to load data from a flat file into the planning with ODI. When I create the model planning and try to reverse using the knowledge RKM Hyperion Planning module, I get an error in step 2 of the process: start the reverse.

    This is the code in the Description tab in the operator:

    from java.util import HashMap
    import java.lang Boolean
    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.common import ODIModelImporter
    from com.hyperion.odi.connection import HypAppConnectionFactory

    #
    source # planning of the connection properties
    #
    serverName = "epmdemo."
    userName = "demoadmin".
    password = "< @= snpRef.getInfo ("SRC_PASS") @ >.
    request = "PhysPrac."

    srvportParts = serverName.split(':',2)
    srvStr = srvportParts [0]
    portStr = srvportParts [1]

    #
    # Set connection properties and initializes the charger of planning
    #
    srcProps = HashMap()
    srcProps.put (ODIConstants.SERVER, srvStr)
    srcProps.put (ODIConstants.PORT, portStr)
    srcProps.put (ODIConstants.USER, userName)
    srcProps.put (ODIConstants.PASSWORD, password)
    srcProps.put (ODIConstants.APPLICATION_NAME, application)

    iMod = 10001

    connection of planning #get
    hApp = HypAppConnectionFactory.getAppConnection (HypAppConnectionFactory.APP_PLANNING, srcProps);

    #get connection to the repository
    repCon = odiRef.getJDBCConnection ("DEST")

    #
    # START THE REVERSE
    #
    odiModelImporter = ODIModelImporter (imod, hApp, repCon)
    odiModelImporter.importModels)


    and the error message from the explanation tab:

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):
    "< String >" file, line 17, in there?
    IndexError: index out of range: 1

    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.k.a (k.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt (SnpSessTaskSqlC.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.k (e.java)
    at com.sunopsis.dwg.cmd.g.A (g.java)
    at com.sunopsis.dwg.cmd.e.run (e.java)
    at java.lang.Thread.run(Thread.java:595)

    I should mention that I am a beginner with ODI.

    Thank you
    Adina

    Are you sure put you the port number of the rmi in the topology Manager, it does not appear that you have
    When you set the server in the topology for the Planning Manager is servername:11333
    For example:-http://4.bp.blogspot.com/__2AaArK5lW8/SNZicAzzHQI/AAAAAAAAAZw/zIdHfP0tnew/s1600-h/8.png

    See you soon

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

  • Reverse the metadata files in HFM

    Hello

    Im doing the next thing.

    Im trying to overthrow a flat file, but when im trying to make the error I have this one: com.microsoft.sqlserver.jdbc.SQLServerException: Violation of constraint PRIMARY KEY 'PK_REV_COL '. Unable to insert key duplicate in the object ' dbo. SNP_REV_COL'.

    Before that... IM overthrow another flat file and was a successful action, I erase that bad again vice versa, but now the reverse it show nothing.

    The problem is that the reason why I have done the first time, and now I can't, is a new... everything, and why a single file shows an error and the other not?

    I'll already had a problem with the reverse and HFM... we get a patch.

    Best regards

    Probably you specified in the file, even if the case is different from duplicate column names, ODI will throw this error.

    Thank you
    Fati

  • Installation of flat files with COD

    Hello world

    I have a client who wants to deploy the configuration custom and its application without having to rebuild the application.  I think through options (e.g. HTTP, manual copy on SD card), but would like to stay as close as possible to their current M.O., because I'm porting an existing application for BB.

    So, is it possible to install flat files as well as a .cod file?  I have not found anything, and it seems that the ALX files only allow you to specify several .cod files.

    Thanks for any help you can give,

    Jimmy

    Just a thought: could you build your flat files as a separate and just flat file of reference module project in your original code.  In this way, you would have only to rebuild your project of flat file.

  • Data period multi loading flat file to database ASO

    FDM gurus,

    We try to load Plan data for 12 months to an Essbase ASO using FDMEE database.

    We followed the documented specification stage in the format of import for amount (column = < start >, < end >) AND choosing the "multi-period Text file (contiguous period)' in the data load the rule.

    However, the Validation fails even for period dimension he complained of "value without Source for UD3".  {The UD3 in our case is be the period}

    Our record of flat file looks like in below:

    Dim1, Dim2,Dim3,Dim4Dim5,6, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12

    Import mappings formats, I also see the dimension of 'period '. Could be the problem? As you know, database planning, it does not show.

    If you'd be grateful if someone could shed some light. Thank you!

    You don't have to specify which version you're on.

    When you set the size of the target Application you set period of your ASO [size target class] cube dimension as period?

    Try and that should remove it from the map area of import Format.

    Let us know how make you out.

    Be sure to mark the response as if it were useful and correct, if it has solved your problem.

  • Could not load the flat file (csv) through FDMEE

    Hi Experts,

    I am trying to load data from flat file to HFM via FDMEE, it throws the below error

    2014-06-06 16:35:13, 465 INFO [AIF]: beginning of the process FDMEE, process ID: 1 341
    2014-06-06 16:35:13, 465 [AIF] INFO: recording of the FDMEE level: 4
    2014-06-06 16:35:13, 465 [AIF] INFO: FDMEE log file: d:\orcl\FDMEE\outbox\logs\CONSOL_1341.log
    2014-06-06 16:35:13, 465 [AIF] INFO: User: hyp_admin
    2014-06-06 16:35:13, 465 [AIF] INFO: location: HFM UXC (Partitionkey:59)
    2014-06-06 16:35:13, 465 [AIF] INFO: period name: Apr-14 (period key: 1/04/14 12:00 AM)
    2014-06-06 16:35:13, 465 INFO [AIF]: name of the category: real (main category: 4)
    2014-06-06 16:35:13, 465 [AIF] INFO: name rule: HFM UXC D300 (rule ID:69)
    2014-06-06 16:35:15, 785 [AIF] INFO: Jython Version: 2.5.1 (Release_2_5_1:6813, September 26 2009, 13:47:54)
    [JRockit (R) Oracle (Oracle Corporation)]
    2014-06-06 16:35:15, 785 [AIF] INFO: Java platform: java1.6.0_37
    2014-06-06 16:35:15, 785 [AIF] INFO: log the file encoding: UTF-8
    2014-06-06 16:35:19, 132 [AIF] INFO: - START IMPORT STEP -
    2014-06-06 16:35:25, 188 [AIF] INFO: file name: UXC_D300_Apr - 14.csv
    2014-06-06 16:35:25, 360 FATAL [AIF]: error in Comm.doScriptInit
    Traceback (most recent call changed):
    File '< string >", line 347 in doScriptInit
    Exception: java.lang.Exception: NO details found for Loadid:1341

    2014-06-06 16:35:25, 655 FATAL [AIF]: load balances data launch GL error
    2014-06-06 16:35:25, 671 INFO [AIF]: end process FDMEE, process ID: 1341

    The pointers will be greatly appreciated.

    Thank you very much

    Jeff

    This error is usually related to if you do not properly apply patch ODI.

    Can you take a look at the opatch inventory, rollback FDMEE and ODI patch and then apply again.

    Make sure that these patches are applied successfully without any errors.

    Thank you
    ~ KKT ~.

  • Create scripts to populate tables from flat files

    Hello

    How can I create scripts to complete the flat files using pl/sql tables.

    Kindly help me.

    Kind regards

    Prasad K T,.

    9840021070

    Hi PrasadKT,

    As Tsharma pointed out just save the .xls (or xlsx) file in the .csv file.

    Please see steps that I show below...

    My XLS file looks like this... (I wish I could paste pictures here :-()

    1 AAA JJJ QQQ 23.2
    2 BBB ASDA QQQ 12.111
    3 CCBC ERTE WER 10
    4 FFFFFFF ASDA GODSWILL 0
    5 YY DDD SNOW DEPOSITS 12

    Once saved as CSV (separator: semicolon) (*.csv) the contents of the file in Notepad looks like this...

    1, AAA, DDD, QQQ, 23.2

    2, BBB, ASDA, QQQ, 12.111

    3, FCCC, ERTE, wer, 10

    4, FFFFFFF, ASDA, GODSWILL, 0

    5, YY, DDD, MALDINI, 12

    Create a directory in Oracle... (This must be SYSDBA user)

    > create or replace directory xtern_data_dir as 'C:\TEMP '.

    Created XTERN_DATA_DIR directory.

    > grant read, write on directory xtern_data_dir to HR

    Grant succeeded.

    Log in HR (or normal user) and create an external table... If you are running on ODCIEXTTABLEOPEN error, please make sure that the user of the OS which launched the Oracle process has READ/write permission on the directory of the OS

    > left autotrace

    People with disabilities autotrace

    > drop table xtern_table

    table deleted XTERN_TABLE.

    Elapsed time: 00:00:00.052

    > create table xtern_table

    (varchar2 (10) c1,)

    C2 varchar2 (10),

    C3 varchar2 (10),

    C4 varchar2 (5).

    C5 varchar2 (10)

    )

    external organization

    (type ORACLE_LOADER default directory xtern_data_dir

    access settings

    (fields ended by ',')

    MISSING FIELD VALUES ARE NULL

    REJECT ROWS WITH ALL FIELDS are NULL (c1, c2, c3, c4, c5)

    )

    location ("mycsv.csv")

    )

    table created XTERN_TABLE.

    Elapsed time: 00:00:00.013

    > proprietary format of col A10

    > col format a20 directory_name

    > select master, SYS.all_directories directory_name

    OWNER NOM_REPERTOIRE

    ---------- ----------------------------------------

    SYS EXT_INPUT

    SYS XTERN_DATA_DIR

    Elapsed time: 00:00:00.014

    > select * from xtern_table

    C1 C2 C3 C4 C5

    ---------- ---------- ---------- ----- ----------

    1 DDD AAA QQQ 23.2

    2 BBB ASDA QQQ 12.111

    CCBC ERTE wer 10 3

    FFFFFFF ASDA GODSWILL 4 0

    5 AA JJJ SDFS 12

    Elapsed time: 00:00:34.419

    I hope this helps.

    VR

    Sudhakar

  • We can recover a virtual machine of flat files without committing snapshots?

    I have a virtual machine that has died due to having excessive snapshots. "Too many levels of redo logs.

    Can I get out this virtual machine to the top without committing the delta files, IE just use original flat files?

    I tried going through the KB1004545 to solve the problem of the snapshot, and it fails

    Thanks in advance!
    Brendan

    It's really kind of unusual, but we will try to fix things.

    1.) create multiple subdirectories which you will pass some files during this procedure
    -not used
    -backup

    -fact
    -temp

    (2.) do a cleaning of unused files
    -move all the files to "...-ctk.vmdk" for the "unused" subdirectory
    -move the "000002" files in the subdirectory "unused" (not in the chain of snapshot)
    -move the '000239' files in the subdirectory "unused" (not in the chain of snapshot)
    -move the "000258' - '000287' files in the 'unused' subdirectory (contain no user data)

    3.) backs up the descriptor files

    -Copy all the hard of descriptor/header files in the subdirectory "backup."

    4.) merging the snapshots in the basic disk using the vmkfstools utility
    Given that problems with two virtual disks are the same, I'll explain the procedure for the first disc of "nzaklapp11" only. Once you are done with the first virtual disk, repeat steps to 'nzaklapp11_1 '.

    First round:

    • run: vmkfstools-i nzaklapp11 - 000030.vmdk temp/nzaklapp11.vmdk
    • the files '000030' moving 'nzaklapp11.vmdk', "nzaklapp11 - flat hard" as well as the "000001" - to the subdirectory 'done '.
    • Move hard files created in sub-repertoire 'temp' in the virtual machine file
    • Edit "nzaklapp11 - 000031.vmdk".
      parentFileNameHint = "nzaklapp11.vmdk".
      parentCID =

    Repeatedly executes:

    • run: vmkfstools-i nzaklapp11 - 000060.vmdk temp/nzaklapp11.vmdk
    • move the "000031' -"000060"files in the subdirectory 'done '.
    • Remove "nzaklapp11.vmdk", "nzaklapp11 - flat hard."
    • Move hard files created in sub-repertoire 'temp' in the virtual machine file
    • Edit "nzaklapp11 - 000061.vmdk".
      parentFileNameHint = "nzaklapp11.vmdk".
      parentCID =

    Repeat the "works on several occasions" by increasing the number of 30 until you are finished with all snapshots.

    Once finished with the two discs, and you confirmed that the new disks are ok, you can remove the subdirectories created in step 1.

    If anything is unclear, please feel free to ask.

    André

  • Export a table for the flat file and must insert sysdate in flat file column

    Hi, I created an interface allowing to export an oracle table to a csv file. All the columns in the table work well. Then I need to insert the sysdate in a column in the csv file.

    I made the map as working in the transit area, implementation is to_char(sysdate,'dd/mm/yyyy'). But the result is insert in column 14.

    I tried to create a variable refreshing that choose double to_char(sysdate,'dd/mm/yyyy'), maps then as the csv file column, but he only insert 1 row and the format is YYYYMMDD.

    I tried to use SELECT '< % = odiRef.getSysDate ("YYYYMMDD") % >' double to the variable and it also only insert a line in the flat file.

    I used the same methodology in ODI10g, it works fine.

    So, I wonder how it can be implemented in 11g.

    Thank you

    It turns out that I used the snapshot_date as a field name, it may be a reserved word. After that I changed the name of the field, it works fine. Thank you.

  • Create a flat file reconciliation events - a matter of design

    Hello

    I am currently evaluating an existing implementation of IOM to rebuild using OIM 11 g and have questions about the ideal method to create events for the reconciliation of a flat file.

    The current implementation uses a web service call to process a flat file and creates reconciliation events. It runs every hour.

    Although this looks cool, but I thought there was no need to go as far.

    If IOM cannot consume the flat file directly, which means that if he needs massage data, I can always load the flat file data in an external table, write a pl/sql procedure to transform the data and put it into a global temporary table, and create events of reconciliation like that.

    What would be the ideal method to load data from a flat file in IOM?

    Thank you

    Khanh

    If it is a flat file, then watched GTC option? And why no staged between the two? IOM can read flat files very well either through GTC or write your own recon code.

    -Marie

  • Loading a flat file for Linux server

    Hi all
    I ask that my previous question otherwise. I need to load flat files in a directory on a linux server. ODI is installed on a windows machine. I created the physical components of the architecture of FILES / logic and I test the interface with a small file. I am receiving an error message = "file not found". Questions:
    1. do I need an agent of ODI on the linux server to achieve this?
    2. in the definition of the data to the FILE Server I inclulde host / username / password and it successfully tested. Was it necessary? I only did this for my windows files.
    3 understand #2 above, when defining the physical schema, I have included the host name. Is this correct? Since it is Linux the slashes go in the other direction - Yes? [I know it's a stupid question].

    I am sure that the file exists. All recommendations are much appreciated!

    1.) Yes, you need an agent on linux to achieve this. Or create a samba share that allows you to access files on windows linux
    http://askankit.blogspot.com/2009/02/step-by-step-guide-to-install-Oracle.html
    (2.) no it's not necessary for a base file of dataserver. These details are necessary for a DB according to technology.
    (3.) the host name is not necessary. It is governed by the location of the agent. If the agent is at the ABC's of the machine, then the host is ABC.

    In ODI, the agent is a server and ODI installed on your windows machine is just a client that connects to the server to perform the work.

Maybe you are looking for