Name of dynamic resource for Excel/csv files

Hi all

Playback of a source (as well as csv) excel file, I tried passing the name of the resource via a variable that is defined to contain the name of the file (update). However, the performance, the file name with a character '-' extra without be specified in the interface variable text to deal with the load step.

The error that says:

ODI-1227: SrcSet0 (load) task fails on the source of the FILE connection < ConnNameHere >.

Caused by: java.sql.SQLException: ODI-40438: file not found: C:\DirectoryNameHere\ /OTD.

This is expected behavior where one needs to escape special characters?

I checked that the extra / is not present in the value of the variable or the directory for the physical schema.

TIA.

Hello

In my view, ODI generates the character ' / ' by default and I don't think we have any special treatment to escape this character.

Based on the error message, it looks like you gave "C:\DirectoryNameHere\" in the directory in the physical schema. Lets say "SourceFiles" is your name of directory where all you produce will land and you want ODI to choose that path there, then directory will be "C:\DirectoryNameHere".  When you run the task, ODI generates path like this: "C:\DirectoryNameHere/OTD.csv."

Kind regards

KK

Tags: Business Intelligence

Similar Questions

  • 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 cut the length of the string IE channel name here, if it exceeds 20 characters or letters. The channel name is dynamically analyzed the spreadsheet/xml file.

    How cut the length of the string IE channel name here, if it exceeds 20 characters or letters. The channel name is dynamically analyzed the spreadsheet/xml file.

    My Council of Europe in the .js file is

    function generateHTMLMarkup (i, channel) {}
    Alert ("this is lang" + str);
    var str ="";
    "Str += '.

    ";
    "Str += '.
    "+ ""+""+"
    ";
    Alert ("this is lang" + str);
    return str;

    }

    nerateHTMLMarkup: function (i, channel) {}
    Alert ("this is lang" + str);
    var str ="";
    "Str += '.

    ";
    str += "" +
    "" +
    "" + channel ['name'] + "" +.
    "" + "
    ";
    "Str += '.
    "+ "" + "
    ";
    Alert ("this is lang" + str);
    return str;

    etc.

    Give mthe rhythm and the exact code where Ihave tio get implemented.

    in the code, replace change

    channelName var = channel ['name'];

    TO

    channelName var = channel ['name'];

  • dBV error on ASM DBV-00008: USER name must be specified for the OSM files

    Hello everyone,

    I'm trying to run the dbv command, but it displays error. In fact, I have the ASM diskgroup.

    [*[Oracle@portalnode01 ~] $ dbv file=+DGRP/orcl/datafile/example.258.806694223*

    DBVERIFY: Release 10.2.0.1.0 - Production on sea Mar 20 10:47:05 2013

    Copyright (c) 1982, 2005, Oracle. All rights reserved.


    DBV-00008: USER name must be specified for the OSM files

    Is where I'm wrong?

    Published by: 993776 on March 19, 2013 22:33

    993776 wrote:
    Hello everyone,

    I'm trying to run the dbv command, but it displays error. In fact, I have the ASM diskgroup.

    [*[Oracle@portalnode01 ~] $ dbv file=+DGRP/orcl/datafile/example.258.806694223*

    DBVERIFY: Release 10.2.0.1.0 - Production on sea Mar 20 10:47:05 2013

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    DBV-00008: USER name must be specified for the OSM files

    Is where I'm wrong?

    try to add the attribute userid to the statement.

    $dbv username = name of user/pwd file=+DGRP/orcl/datafile/example.258.806694223*

  • OracleTextSearch doesn't work is not for the CSV file

    Hi all

    I use Oracle Webcenter content with Version: 11.1.1.9.0 - 2015-04-14 07:19:29Z - r126792 (Build: 7.3.5.185).

    I configured using OracleTextSearch below of setting in the config.cfg file

    SearchIndexerEngineName = OracleTextSearch

    I can search text for the file types such as text, excel, docx, pdf, but I'm not able to do text search the csv file.

    Please suggest any alternative to enable text search the csv file.

    Please find the below the example of csv file.

    "Id","CurrencyIsoCode","City","Status"
    "1","GBP","","Activated"
    "2","GBP","Reading","Expired"
    "3","GBP","Reading","Expired"
    "4","GBP","Brighton","Activated"
    "5","USD",""Atlanta"""","" Georgia""","Expired"
    "6","GBP","Reading","Expired"
    "7","GBP","Bristol","Activated"
    "8","GBP","Chicago","Expired"
    "9","GBP","Chicago","Expired"
    "10","GBP","Chicago","Expired"
    "11","GBP","Chicago","Expired"
    "12","GBP","Reading","Activated"
    "13","GBP","London","Activated"
    "14","GBP","Reading","Expired"
    "15","GBP","Singapore 068893","Activated"
    "16","USD","Overland Park","Activated"
    "17","GBP","London","Activated"
    "18","GBP","Hangzhou","Activated"
    "19","GBP","Southampton","Activated"
    

    Do something:

    Edit config.cfg and add below variable:

    TextIndexerFilterFormats = csv

    After that, save and exit. Restart the server.

    Checking in a new file csv and do a word search.

    It should work let me know again, you have a question or not

  • Need access to the Q: drive that contains the Microsoft Starter 2010 for EXCEL, Word files, etc.

    Cannot access the Q: drive which has the 2010files MS Starter for EXCEL, Word, etc. Attempted to change the property. Access denied. Signed as an administrator and the only user of the computer.

    Anyone?

    You can not, as says Gordon is a virtual drive, the end user does not have access to it.

    And no sound does not contain the files Office Starter

    Try here http://office.microsoft.com/en-us/starter-help/update-repair-or-uninstall-office-click-to-run-products-HA010382089.aspx

  • Cannot right click Windows 7 Explorer of files to generate the copy of the file names in a Notepad or Excel-compatible file. HELP REQUESTED!

    I struggled for several hours to restore the service right click that I used to have XP to Windows 7.  I need to save lists of file names such as displayed in the file Explorer. Allowing you to right-click and save files in Notepad. This option has been removed in Windows 7 and anything put in place to restore it.

    I have lists of items in the inventory and need to copy and paste the image corresponding to a transfer sheet to allow the server names to match images in article SKU.  The file names are long and typing is a complete waste of time.

    I used to be able to find them in the Windows Explorer, right-click on the directory and generate a txt file that I could open in Notepad or Excel.  -Easy.  Now right-click only allows an export in an uneditable image in ONE NOTE. This is useless for me. I can't do anything with an image file - I need the editable data.

    Is there a solution?  I need only the file name and extension, not the full path, in a text or spreadsheet document propagation.

    I had used the Microsoft solution to install their dose without knowing the final format was a NOTE image file format and not a simple txt file. I try now too write the batch file:

    %windir%\Printdir.bat

    or edit it in order to keep the file in Notepad and do not make the final conversion into a single Note.

    The problem is that the fix from Microsoft, designed to fix this problem, has placed the conversion file in the root directory and it cannot be overwritten.  I refused the possibility to delete, edit or write the file due to the requirements of administrative privilege mandated by the security of Windows 7 too much.

    So if anyone has a solution to every problem - that would help - I am very tired and frustrated and not happy with Microsoft.  Their zealous concern with security made their unnecessary programs for me and have further discouraged me to convert to the windows 10. frustrations and nightmares are waiting for me there I can't imagine.  What I really want to do at this point is to go back to XP.

    He ate five hours of my day. I don't have the time to fight like that. I am trying to be productive, but all I got are monumental technical walls and roadblocks - often designed into the system. Frustrating doesn't begin to describe it.

    Found a solution on a Web site:

    http://www.watchingthenet.com/how-to-print-a-directory-tree-from-Windows-Explorer.html

    They said it was for VISTA, but worked for me under Windows 7. You will need to use Notepad to the command prompt and select run as administrator to save the file in the root directory.

    Thanks for the help.

    Cheers.

  • Why is-data fusion puts all my Excel/CSV file columns in a field?

    I used a million times before, but I do understand this time of data merge.

    I have 3 columns: NAMES and NO_TABLE

    When I bring my CSV in InDesign CS5, it gives me only 1 field each separated by '; '.

    What I am doing wrong?

    Thank you!

    Screen Shot 2013-05-12 at 14.01.58.png

    Change the column name 'table' to the source may be.

    When you export from Excel, choose:

    Let me know if the column name changes to work... Mike

  • Deploy several VM in CSV file

    Hi all

    I'm new to powercli and powershell so forgive if my terminology is not correct.  At this point, I can really only change scripts to work in my environment and you're looking for here.

    I'm trying to deploy a number of virtual machines with all the information required of VM in a CSV file.

    The script is attached below.

    This is the error I get.

    Get-VMHost: Impossible to validate the argument on the parameter 'name '. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

    I think that am not pass the variable correctly here, it's in the script

    $VMHost = get-VMHost $vm.host

    But when I read in the CSV data using the Import-CSV cmdlet that I get

    Import-CSV Y:\file.csv

    VMname: CEIVIRPAS0158

    $vmhost: ceiatlpvs0004.mgmt.int

    data store: CEIVSC0002_EATL0NET03_LUN3

    model: W2008R2_SP1_EE_TEMPLATE

    customization: CIS 2008

    IP address: 10.211.80.142

    subnet mask: 255.255.255.0

    defaultgw: 10.211.80.1

    DNS1: 10.211.68.50

    DNS2: 10.211.68.49

    DiskType: dish

    storageformat: Thin2GB

    capacityKB: 20971520

    Description: RTIP Administration Server Web 9 of 10

    any ideas would be very help, thanks!

    Make sure you use the right names in the header of the CSV file?  The error message seems to indicate that $vm.host is a $null value.

    Your import seems to indicate that values should be $vm. VMhost.  Unless I'm reading something wrong.  It is the same for the $VMName variable.  You have defined on $vm.name, but the importation was listed as $vm. VMname.

    --j

  • How to import data from CSV file in a table using oracle forms

    Hello

    I have a CSV file and I want to insert in the oracle database in a table by using a button under forms of oracle.
    the user can select the CSV file by using the open dialog box.
    can someone help me find the method to import and select the client machine file?

    THX.

    You want to import the contents of the file or the file itself? I assume that you want to import the contents of the file. For this, there are really only two options to make an Excel (.csv) file and import into shapes; WebUtil or a JavaBean. Some examples of both:
    WebUtil: How to read an Excel file in a form of Oracle
    Oracle is CJP/BEAN - project Excel

    Try them both and see which works best for you.

    Craig...

  • Load a CSV file and access to variables

    Hi guys,.

    I am new to AS3 and treated with AS2 before (just to get the scope when change it).

    Is it possible in AS3 to load an excel .csv file into Flash using the URLLoader (or?) and the data in the form of variables?

    I can get the .csv to load and trace values (cell1, cell2, cell3...) but I do not know how to collect the data and place it into variables.

    Can I create a table and access like so... MonTableau [0], myArray [1]? If so, I don't know why it does not work.

    I have to be on the road quite wrong. Here's what I have so far...

    var loader: URLLoader = new URLLoader();
    loader.dataFormat = pouvez;
    loader.addEventListener (Event.COMPLETE, dataLoaded);

    var request: URLRequest = new URLRequest ("population.csv");
    Loader.Load (request);
    //...
    function dataLoaded(evt:Event):void {}
    var myData:Array = new Array (loader.data);
    trace (mydata [i]);

    }

    Thanks for any help,

    Sky

    Simply load your csv file and use the string flash methods to allocate these values in a table:

    var myDate:Array = loader.data.split(",");

  • Tables 2D to csv file

    Hello

    I would like to generate a CSV from tables that I filled in labview. I put an example of csv file that I want to get and the VI tried to code. Can someone help me fix my VI for the csv file in the right format?

    Thank you

    Zied

    If you want commas, then set the delimiters to be a comma.  It's a simple entry in the spreadsheet file write which by default is a tab.

  • BlackBerry Smartphones csv file of the computer laptop portable Torch and sync and agendas of torch

    It is without doubt 'old hat' to the BB community out there but how do I download a csv file (from my contacts) from my laptop to my lamp?

    Also how to sync my laptop and the calendars of the torch?

    I need to download Blackberry desktop manager on my laptop first BB site?

    TA.

    Neil

    neiljbruce wrote:

    I need to download Blackberry desktop manager on my laptop first BB site?

    Absolutely Yes.

    V.6 BlackBerry Desktop Software download here:
    https://www.BlackBerry.com/downloads/entry.do?code=A8BAA56554F96369AB93E4F3BB068C22

    For your CSV file: KB11194 how to import contacts from a CSV file already created for the BlackBerry smartphone

    Once you install the Desktop software, you will see the options for the synchronization of the organiser, who set up and you will be fine... depending on what software the calendar on your laptop computer is located.

  • Passing the name of dynamic file to ODI nterface for treatment to another system

    Hello

    I need assistance in regard to passing a dynamically changing name fixed length flat file in Interface ODI. This interface is designed to take the flat file as input and treat it to SQL Server using data mapping and transformations... The entrance to flat file name is generated for example sequence: OEORD1123.txt and the next file will be OEORD1124.txt and it is located at the Oracle Conc level. How to pass the last ODI interface for processing file name

    Kind regards
    Anil...

    Hi Anil,

    To get a dynamic name to a file (or any data store) comes to a variable ODI in the name of the resource in the data store.

    My understanding... Where did the name come from? A sequence of database?

    If so, just put in the variable created as a query "select 'OEORD ' | your_sequence.nextval | ".txt".

    That make up the name of the file.

    No sense?

  • The appeal of each sheet in a spreadsheet excel as a csv file in a model

    Hi all

    I have a spreadsheet as a source for 5 sheets.

    So I need to call each worksheet in the excel sheet in different models as a csv file.



    Thank you in advance.

    Kind regards
    TVMK

    Using reverse engineering of normal, you should be able to get the data in the leaves. In the definition of the data model for Excel, you can put the name of 'table' - maybe it's the beach named - or it may be the 'system table' called identical to the sheet (Excel). Excel English, you get a system table called Sheet1, Sheet2$...
    If you do your resource name a variable and then fill the variable with the appropriate value before accessing the "table", you should be able to access dynamically. Then all you need to do is to write a procedure that reads the system Excel tables to search for journal names, and then browse.

Maybe you are looking for