CSV file loaded in ODI with fields of dd/mm/yyyy. But every month are crushed with 01 month (January) only

Hi all

I loaded a CSV source file for the target Oracle table. Mapping was properly executed, but the month of dd/mm/yyyy is only show 01, even if I have other months in my folder.

Any ideas on that?

Thank you!

Hope this helps you

Tags: Business Intelligence

Similar Questions

  • Import CSV file cell text in Memo field in FDM

    Hello world

    I try to import data in MDF Memo fields. I have a source CSV file that is imported via the batch loader. I suspect that I have to set a script but I don't know which. Can someone give nme (in a better sense of practice) some advice regarding:

    -What should be the layout of the source CSV file? (this is an extract a HFM prob app so not very flexible)

    -What script will need to be adjusted to import data in Memo fields?

    Some information:

    The source application is HFM which produces a CSV file for import of FDM. The data source contains the text amount and the cell for the amounts. FDM is used as an ETL to load data to another application of HFM. I understand theat LOADB Action script exports data of Memo fields to the text in the cell, provided that integration is enabled. So the second part of this load of data should work.

    Hello

    There are different options to achieve this.

    You can import your column with information about the cell to a dimension of the attribute. Then before the validation of data in the main table (script of the event ImportAction / sous-evenements PostWorkToMainProcess), you can create positions for memory based on this attribute and data loading. You can use SQL to insert the memo point tables or use fMemoAddItem (class ArchiveMgr)

    You must enable "Text the loading cell" of the adapter in the order that these memorandum items are loaded in the form of texts of cell in HFM.

    Hope that specifies

  • File loading in ODI.

    Hi, please help me with the script below.

    Every hour from 6-7 the csv files are received which represents 4 million total records in the file. The files must be loaded into the table in the database.

    Details of the ENVIRONMENT:
    ODI, installed on the server UNIX and J2EE agent installed on the weblogic server. Oarcle database on a different server.

    to what is above the conditions can ENV you please suggest what is the best method to load the files efficiently and with high performance.
    I'll be able to use external table table file IKM or SQLLDR?
    OR do I have to install agent on my server database for efficient loading.
    Please suggest with reliable approach.

    Hello

    It is slower than the others. If it would be enough, that I don't know, it depends on your needs. If you have a lot of data using sql loader...

  • CSV FILE LOADING TABLE

    I HAVE A CSV FILE in a D:\ in car THAT HAVE 3 FIELDS.
    1st is digital and 2 others are alphabatic
    For example...

    no name Name_ father

    1 sajid ahmed
    2 chuck jhon


    ALSE I hava a table in the database.

    Create table test (id number, name varchar2 (50), fname varchar2 (50));

    my code is


    PROCEDURE get_city_data
    IS

    file_handle text_io.file_type;
    seperator VARCHAR2 (1): = ', ';
    city_row VARCHAR2 (32767).
    skip_first_row BOOLEAN: = TRUE; -skip the first line because it has the fields name


    NUMBER OF V_ID;
    V_NAME VARCHAR2 (50);
    V_FNAME VARCHAR2 (50);




    BEGIN


    file_handle: = text_io.fopen (would be: \book1.csv', 'R');

    BEGIN

    LOOP
    TEXT_IO.get_line (file_handle, city_row);
    IF skip_first_row
    THEN
    skip_first_row: = FALSE;
    ON THE OTHER

    V_ID: = TO_NUMBER (REPLACE (SUBSTR (city_row, 1, INSTR (city_row, separator) - 1) ', ' "',"));
    V_NAME: = REPLACE (SUBSTR (city_row, INSTR (city_row, separator) + 1) ', ' "');
    V_FNAME: = REPLACE (SUBSTR (city_row, INSTR (city_row, separator) + 1) ', ' "');


    INSERT INTO test (V_ID, V_NAME, V_FNAME)
    VALUES (ID, NAME, FNAME);
    END IF;

    END LOOP;

    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    END;

    TEXT_IO.fclose (file_handle);

    COMMIT;

    EXCEPTION
    WHILE OTHERS THEN
    message ('Error!');
    -RESTORATION;
    RAISE FORM_TRIGGER_FAILURE;
    END;





    THE PROBLEM IS

    * OUTPUT *.

    ID NAME FNAME
    --------- ------------------------------ ------------------------------
    2 Sani, ahmed Sani, ahmed
    3 chuck, Chuck jhon jhon



    'name' field of charge fname field with a comma...
    anyone can correct the code


    THANKS IN ADVANCE

    concerning
    Sajid

    Published by: [email protected] on June 26, 2009 12:11 AM

    Hello

    Create a 'SPLIT', use function to get your chips:

      --------------------------
      --  get a string token  --
      --------------------------
     CREATE OR REPLACE FUNCTION SPLIT
     (
        PC$Chaine IN VARCHAR2,         -- input string
        PN$Pos IN PLS_INTEGER,         -- token number
        PC$Sep IN VARCHAR2 DEFAULT ',' -- separator character
     )
     RETURN VARCHAR2
     IS
       LC$Chaine VARCHAR2(32767) := PC$Sep || PC$Chaine ;
       LI$I      PLS_INTEGER ;
       LI$I2     PLS_INTEGER ;
     BEGIN
       LI$I := INSTR( LC$Chaine, PC$Sep, 1, PN$Pos ) ;
       IF LI$I > 0 THEN
         LI$I2 := INSTR( LC$Chaine, PC$Sep, 1, PN$Pos + 1) ;
         IF LI$I2 = 0 THEN LI$I2 := LENGTH( LC$Chaine ) + 1 ; END IF ;
         RETURN( SUBSTR( LC$Chaine, LI$I+1, LI$I2 - LI$I-1 ) ) ;
       ELSE
         RETURN NULL ;
       END IF ;
     END SPLIT;
    /
    
    DECLARE
      LC$Line  VARCHAR2(100) := '1,field1,field2' ;
      seperator VARCHAR2(2) := ',' ;
    BEGIN
      DBMS_OUTPUT.PUT_LINE(SPLIT(LC$Line,1,','));
      DBMS_OUTPUT.PUT_LINE(SPLIT(LC$Line,2,','));
      DBMS_OUTPUT.PUT_LINE(SPLIT(LC$Line,3,','));
    END;
    

    François

  • output of the coil in .csv file - of the problems with the display of data

    Hello

    You will need to provide the result of a select query that contains approximately 80000 registration in a .csv file. A procedure is written for the select query and the procedure is called in the script of the coil. But few of the columns have the decimal point in values. For example, there is a personal_name column in the select query that says the name as "James, Ed. Then the output in different columns. Therefore, the data is being shifted to the right for the remaining columns.
    Some could help solve this problem. I mainly used a procedure as the select query is about three pages, and so you want the script to look clear.

    Script is,

    AUTOPRINT activated;
    Set the title.
    Set TRIMSPOOL ON;
    the value of colsep «,»;
    set linesize 1000;
    set PAGESIZE 80000;
    variable main_cursor refcursor;
    escape from the value.
    coil C:\documents\querys\personal_info.csv
    EXEC proc_personal_info(:main_cursor);
    spool off;

    Hello

    set PAGESIZE 80000 ;
    

    is not valid, and it will print header as all the 14 ranks of default.
    You can avoid printing the header in this way:

    set AUTOPRINT ON ;
    set heading ON;
    set TRIMSPOOL ON ;
    set colsep ',' ;
    set linesize 1000 ;
    set PAGESIZE 0 ;
    set escape /
    set feedback off
    spool c:\temp\empspool.csv
      SELECT '"'||ename||'"', '"'||job||'"'
      FROM emp;
    spool off
    

    The output will look like this in this case

    "SMITH"     ,"CLERK"
    "ALLEN"     ,"SALESMAN"
    "WARD"      ,"SALESMAN"
    "JONES"     ,"MANAGER"
    "MARTIN"    ,"SALESMAN"
    "BLAKE"     ,"MANAGER"
    "CLARK"     ,"MANAGER"
    "SCOTT"     ,"ANALYST"
    "KING"      ,"PRESIDENT"
    "TURNER"    ,"SALESMAN"
    "ADAMS"     ,"CLERK"
    "JAMES"     ,"CLERK"
    "FORD"      ,"ANALYST"
    "MILLER"    ,"CLERK"
    

    Alternatively, you can consider creating a single column by concatenating the columns in this way:

    spool c:\temp\empspool.csv
      SELECT '"'||ename||'","'||job||'"' 
    

    In this case the output will look like without spaces between the columns:

    "SMITH","CLERK"
    "ALLEN","SALESMAN"
    "WARD","SALESMAN"
    "JONES","MANAGER"
    "MARTIN","SALESMAN"
    "BLAKE","MANAGER"
    "CLARK","MANAGER"
    "SCOTT","ANALYST"
    "KING","PRESIDENT"
    "TURNER","SALESMAN"
    "ADAMS","CLERK"
    "JAMES","CLERK"
    "FORD","ANALYST"
    "MILLER","CLERK"
    

    Kind regards.
    Al

    Published by: Alberto Faenza may 2, 2013 17:48

  • Delete the name of the column in the CSV file generated by ODI

    Hello

    I want to remove the column names in the CSV file that I create the database.
    I tried to put "towards zero in the data store ', that I created for the csv file, but it does not work.

    Please help.

    Thank you
    Sudeep Nathalie

    Sudeep salvation,

    Ok.. If you don't want the column to be generated and then in your IKM (IKM SQL to THE grit file) choose the option GENERATE_HEADER to 'no '.

    Then run the interface. The target csv file will not now column header.

    Thank you
    Fati

  • How to write in the csv file - what's wrong with that?

    Hi all

    I created a view that makes all kinds of calculations, now I need to write the output in the csv file. How can I do this through a procedure? Sorry I've never had to create a csv file before and this is my first time.


    Thank you!

    Published by: user5737516 on November 18, 2009 09:47

    See:
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:1992907061984
    (points to several other links)
    and/or
    http://tkyte.blogspot.com/2009/10/httpasktomoraclecomtkyteflat.html

  • CSV file having a column with a record of de-limiteur character?

    Hi all

    I was asked in an interview:

    Suppose that we use ',' as loading data via Sql de-limiteur Charger. *
    Assume that we are loading the data of a column name. It has an entry like Naresh, Ramaswamy and it is a correct entry.

    Investigators have asked if we can load it or not.

    I told them that he needed to change the limiter of of.

    However, according to their answers. It seemed as if there is also another way.

    I tried with replace and also have been looking for it. Yet, I am unable to find it. Could you please guide me.

    Hello

    Search for 'Backslash escape character' in [utilities database Oracle® 10g Release 2 (10.2) documentation | http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_control_file.htm#i1004788]

    HTH, regards, Zoltan

  • ODI csv file

    I could turn my sql to CSV file tables in odi?

    If the answer is Yes, how can I do? with packages?

    I really appreciatte your help

    Best regards

    odisqlunload in the package to extract data from table in the file (csv)

  • . Reading CSV file

    Hello

    I know this question has been asked several times, but I did write read the. CSV file in labview. Although I read only first coloum and also it does not read the exact value. It is rounded to almost integer. I checked all the settings in the representation of the data, but have no luck. Someone can help me.

    Your 'CSV' file contains a semicolon as field separator.

    Your VI uses the separator by default when reading the file. The default value is a character from . You also index the column even twice.

    See attachment to see how to load the file you provided...

  • There is a special token that I can put in a column of the CSV file recovery channel which implies approval of the current value?

    Versistand version is 2013 sp1.

    I use stimulus CSV expressions in my sequence in real time and want a channel to keep its value current (last) until a certain time. Is there a way to do this?

    Stimulation CSV file example:

    timestamp, chan1, chan2

    0,0,

    10, 1,

    20,1,5

    30,2,10

    In this example, chan2 would retain its current value until the timestamp 20.

    Is it possible to implement this feature?

    Kind regards

    Rick Howard

    Thank you! It is a valuable feedback. I can't think of a way to do natively with the functionality of reading CSV for sequences in real time. Some thoughts on how this can be done:

    1. create your own utility to sequences of script based on a CSV file in real-time. Extend the functionality of having a special marker in a cell which designates not only to change the value for the channel as timestep. Do not start from scratch. This tool open source and this one the two script of sequences in real time and stimulation of reading profiles based on data sets (although in different ways).

    2. with the help of software without insertion to the fault of the string value that you want to keep the initial value for the first X seconds of reading the CSV file. For example, you could play another sequence with your CSV file at fault the channel at its current value so that reading CSV does not replace the value.

  • I need a program installed that will open csv files.

    I am trying to copy and print my DYMO addresses, but I don't have an imstalled program on my computer that will open csv files.

    Values of comma-separated (CSV) files can be opened with any editor text like Word or Notepad or with any spreadsheet such as Excel or Lotus 1-2-3 program.

    John

  • PowerCLI Move-hard disk in csv file

    Hi all

    Summer banging my head with it's drving me crazy I hope someone can help please. I use LucD excellent orphaned files and folders - spring cleaning - LucD notes script to identify orphaned VMDK files. I ran the script and export the results to a CSV file.

    What I have to do now is to run a script that will move each VMDK in the csv file in another data store. I'm fighting to get the order correct powercli and I hope that someone will be able to help please.

    I tried these:

    Moving - hard drive () Disk hard- Import-Csv C:\csvfilename.csv | %{$_. Nom })


    Cannot bind parameter 'hard drive '. Cannot convert the value of 'filename_0001.vmdk' to type 'System.String' to type 'VMware.VimAutomation.ViCore.Types.V1.VirtualDevice.HardDisk'

    And

    Get - hard drive -Name ()Import-Csv C:\Users\DeanE\Documents\ListofDeletedDC2_A_T1_SRM_PL003VMDKs.csv | %{$_. Nom })

    Get-hard drive please specify at least one of the following: path, Datastore, VirtualMachine, model or snapshot.

    And

    Get - hard drive -Data store DatastoreName -name ()Import-Csv C:\csvfilename.csv | %{$_. Nom }) 

    Parameter set cannot be resolved using the values of named parameters.

    Any help would be greatly appreciated please.

    Thank you very much

    OK, had a different perspective.

    The following seems to work for me, at least for entries that have 'flat' in the VMDK file name

    C:\orphan.csv Import-Csv - UseCulture | %{

    $ds = $_. Extents.Split(']') [0]. Trim('[')

    $dsPath = $_. Extents.Replace('-flat','')

    Get-hard drive - data store $ds - DatastorePath $dsPath

    }

    If you have entered in the CSV file for which it doesn´t work, let me know what is the area of the extensions.

  • VM list name and the cluster that it flows in a CSV file

    Hello

    I want to have a created CSV file that will conaitn 2 fields: vm_name, vm_custer

    Which means, I want to list the name of the virtual machine and the cluster is running in a CSV file.

    Here is the code I wrote:

    #! / usr/bin/perl - w
    use strict;
    Use Data::Dumper;
    use VMware::VIRuntime;
    My % opts = (data center = > {})
    Type = > "s =",
    help = > 'enter the name of the data center. "
    required = > 1,
    });
    OPTS::add_options (%OPTS);
    OPTS::parse();
    OPTS::Validate();
    Util::connect;
    "open (my $FH, ' > ', 'final.csv') or die" cannot opne final.csv: $! » ;
    print $FH 'VM_Cluster, VM_Name, \n ";
    my $dc = Opts::get_option ("data center");
    My $dc_view = Vim::find_entity_view (view_type = > 'Data center',)
    filter = > {name = > $dc});
    My $clu_views = Vim::find_entity_views (view_type = > "ComputeResource")
    begin_entity = > $dc_view);
    my $cluster foreach (@$clu_views)
    {
    My $clu_name = $cluster-> name;
    my $hosts = $cluster-> host;
    foreach (@$hosts)
    {
    My $host_hash_ref = Vim::get_view (mo_ref = > $_);
    My $vm_view = $host_hash_ref-> virtual machine;
    foreach (@$vm_view)
    {
    My $vm_hash_ref = Vim::get_view (mo_ref = > $_);
    My $vm_name = $vm_hash_ref-> name;
    $FH print $clu_name. ", ".  $vm_name. », «. "\n" unless $clu_name = ~ m/0bld0 /; "
    }
    }
    }
    Close ($FH);
    Util::disconnect;

    Now, I get the CSV file created as I wanted to, but the question is, there are 3500 + VMs in vCenter and this script side took 50 minutes to complete. It is therefore a huge performance impact. Also, I don't like the concept of 3 layers netsted foreach loops.

    Therefore, there is an effective way to get this information?

    Thank you.

    Your welcome.  It could be made faster, but the complexity of the additional code is probably not worth if the runtime you have now is enough.  No doubt, you can add additional data to your report without too slow.

    You can also find the script works faster or slower depending on what is happening in your virtual center system.

    Thanks for the update on the success!

  • JCS: how to load users with csv file into identity Console

    In my Service of Cloud Java: when I go to Console identity I have a "Dependent users" function under "manage users."

    How this CSV file should look like?

    How can I add roles to users?

    I loaded a file yesterday and I still get the message "Maximum number of simultaneous downloads by identity area exceeded. No more downloads will be accepted at this time. Select the UTF-8 CSV file format you want to download. Maximum file size is 256 KB. »

    When will this file be process? Can I cancel this process? How to be notified on a result?

    Kind regards

    Robert

    See http://docs.oracle.com/cloud/131/trial_paid_subscriptions/CSGSG/cloud-manage-user-accounts.htm#BCFDAIJA , adding a lot of user accounts

    file should have a header:

    First name, last name, Email, user login

Maybe you are looking for

  • Browser does not open so I can't create a new profile to attempt to repair. What should I do?

    I continue to by clicking on my on the firefox icon and it don't is not loading. After looking through the support pages, it seems that I have to save my current profile and create a new, but you must be able to open Firefox for this.

  • Can't find the DVD RW HP AD7711-H

    I have a problem. I don't know if a driver problem or a hardware problem, maybe you can help me. I have a laptop HP Pavilion 1085es G6, with windows 7 home 64 bit original instaled. I have the original ultimate software of windows 7 and laptop comput

  • My signal processing Toolbox is empty, I can't create signals

    The attached picture can explain better than me. But I'm trying to generate a signal but obviously that the tools do not appear on my VI.

  • My pchealth disappeared... How can I get that back?

    Not sure if I'm in the right forum. I WindoowsXP SP3 and IE8 browser if it matters. I clicked on help and support and can not find the error appears. I tried this looking for a bit before I posted this. Sometimes, people here are a bit gruff. More fi

  • What is the right way to add a language?

    HelloI wanted to show traditional Chinese web pages with Chinese characters(for example, hk.yahoo.com). I walked into the tab Control Panel / regional and language options/languagesand choose "install files for East Asian languages".   He asked for t