BINARY FILE loading using ODI

Hi ,
is it possible to load a binary file using  ODI ?
Basically i'm looking for file to table and file to file conversion .
Regards.

DBMS_LOB.LOADBLOBFROMFILE (
  dest_lob IN OUT NOCOPY BLOB,
  src_bfile IN BFILE,
  amount IN INTEGER,
  dest_offset IN OUT INTEGER,
  src_offset IN OUT INTEGER);
you can specify the src. Also, you can ftp the file using ODI sftp tool and then load.
There are other ways to load as well,
1. Sql loader aslo supports loading BLOBs. Odi has got IKM Sql loader however I have never tried with BLOB and need to check if it supports. The below link might be helpful,
     ORACLE-BASE - Loading LOB Data Using SQL*Loader
2. External tables could be used.
3. Java program could be called in ODI proc.

Similar Messages

  • GL Data load using ODI to Essbase

    Hi, I am trying to load GL actual data to essbase application using ODI. Source file is having 10 columns and the Target is having 11 columns. We are using rules file to load data into essbase. Rules file will split 9th column as two columns and will load the data into Essbase. When we test the rules file in essbase data is getting load into application. when we use the same rule file in ODI interface data is not getting load and giving error as "Unknown member" for the member which we are spliting in 9th column. Source file: HSP_RATES ACCOUNT PERIOD YEAR SCENARIO VERSION CURRENCY ENTITY SFUND PROGRAM DATA HSP_InputValue 611101 Jul FY13 ACTUAL Final Local 0000 SBNR AC0001PS0001 25000 AC0001PS0001 is the concatenated string from GL. we will split this as two columns using rules file to load into essbase application. Please suggest what might be the reason for the error. How to do the mapping between source and target. I have mapping one column(AC0001PS0001) to two dimensions (Program, Activity) in Essbase. Please suggest. Thanks Sri

    In ODI, what you have to do is to split it in the ODI itself. While you are mapping, you can use SQL functions to map it to two different columns. Similar to the way you are doing it in Rule file.
    Regards
    Amarnath
    ORACLE | Essbase

  • Data loading using ODI

    Hi,
    I am using ODI 10g for loading data into oracle 10g database from a flat file. The flat file is in fixed format, but the data is in a single row, so the data is not loaded correctly. For example, 1000 records are shown in 1 line.
    Can someone please suggest, what customization should I make to the IKM to achieve this.
    Please let me know the questions you may have.
    Thanks a lot.

    Hi John,
    I reversed my Planning model and able to see those columns now. I tried executing my interface and got the below error
    The source result set contains column [EMPLOYEE_ACCOUNT] which has no corresponding column on the planning side.
    My source is an oracle table and i have seperate columns for each dimension member. What I did is, mapped the Data column (JobTitle) from source to the Target column(JobTitle) and rest all dimension member columns from source to Point of View column seperated by a comma. My Planning cube name is EMPLOYEE, so in th data cube name column i manually entered "EMPLOYEE" and tried executing it.
    Please guide me as always
    Thanks,
    Sravan

  • Metadata loading using ODI

    Hi John
    I am loading Employee metadata using ODI(10g). In IKM SQL to Hyperion Planning, i put the option "LOAD_ORDER_BY_INPUT" option to "NO.I expected that, ODI will sort the employee members and load it. But its not sorting, it loaded in the same sequence as in my load file.
    Please suggest, how can i sort the members
    Thanks,

    Hi
    This post would be more suited to the ODI forum.
    Anyway, check out ODI Order By Issue

  • Can metadata be loaded using ODI into classisc applcn and upgraded to epma

    Hi John,
    As ODI is not compatible with EPMA, cane we load metadata into classic using ODI and then upgrade the applcns to EPMA?
    Is this method suggestible? When are the adapters for Planning to connect epma will be released. any idea?

    Hi John,
    Thanks for the information.
    As per your blog you have loaded the entity dimension using the Hierarchy and members tables. Is the structure of these two tables same as interface tables?
    And can i insert all the dimensions and their members with only these two tables or do i need to create two sets of tables for every dimension i have.

  • Binary file transfer using RMI

    Thanx in advance !!!
    My Query:
    Is there any restriction on the maximum size of a binary file that can be transferred over RMI?
    In an application (and as per the requirements), I am converting the file contents to a byte array on the client machine and transferring using RMI method calls. At the server side, I am reconstructing the file using the same byte array.
    Writing a Java FTP application is out of question.
    So please advise.
    Vikas

    RMI uses TCP/IP so the default should be close to the standard IP limit.

  • Metadata load using ODI

    Hi
    I am trying to load new Employees using ODI.Our Employee members are in Alphabetical order.Is there any way i can load new employees in Alphabetical order.
    Please suggest,
    Thanks,

    Then I believe it will add them to end.
    Say you had
    Par
    -----A1
    -----A3
    Then you tried to load
    Par | A1
    Par | A2
    Par | A3
    You should end up with
    Par
    -----A1
    -----A2
    -----A3
    If you tried to load just
    Par | A2
    Then you would end up with
    Par
    -----A1
    -----A3
    -----A2
    which is pretty much the way planning works, if you tried it through the outlineload utility you would end up with the same.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Flat file(Binary file) upload using GUI_UPLOAD

    I had uploaded a Binary file Using GUI_UPLOAD , File type was 'BIN'.
    but the data i got in Internal Table was in 0's and 1's.
    whereas i tried the same thing on a different server but  the same Version it gave me the data as text in Internal Table.
    what could be reason..or wat could be done to resolve this.

    Did you declare the internal table used to upload the binary file as TYPE X ?
    begin of itab,
      raw(255) type x,
    end of itab occurs 0.
    CALL FUNCTION 'GUI_UPLOAD'
       exporting
          filetype =  'BIN'
          filename = 'C:DOWNLOAD.BIN'
       tables
          data_tab = itab.
    Always remember to reward snippets you find useful!

  • Data load using ODI 11.1.1.5 to hyperion.

    Hi All,
    I have installed ODI and we have already installed Hyperion.
    After installation of ODI , I have created Master repository and Work repository.
    Now i am planning to load data to hyperion planning applications dimensions(Eg. Entity).
    1) In Topology section, i did right click on Hyperion planning and clicked on "New Data Server". Filled the required infomartion and saved it.
    2) Then i right clicked on newly created Data server and opted "New physical schema", but after that it is not showing any application in Application(Catalog) and Application (Work Catalog) drop downs.
    Before those steps we had created planing applications in Hyperion.
    Please let me know what is wrong/missing in above steps or share the steps to load the data in hyperion.
    -PM

    Yes , i have entered the values in text boxes/drop downs . Afterward i tried to save it but it ask to fill "context".Then i seletected Context option, In that i have only one option global, I opted that.
    And in second field logical schema , doesnt have any value. System doesnt allow to save without giving these values.
    Can you please me further steps.
    -PM

  • Invoke web service to return binary file (image) using soap

    Dear all,
    Please I a problem when invoking a web service throgh soap protocol,
    this we service has two operations, the first one takes student id and return doctype of it's documents id's,
    the another operation takes the document id and return it's image ( this is like archiving system)
    NOTE:
    I use soap package from this link:
    [http://www.oracle-base.com/dba/miscellaneous/soap_api.sql|http://www.oracle-base.com/dba/miscellaneous/soap_api.sql]
    Also I tried to invoke the following web service but failed:
    [http://www.webservicex.net/WS/WSDetails.aspx?CATID=12&WSID=56]
    CREATE OR REPLACE PACKAGE BODY pkg_my_webservice IS
    vg_funciton_fnc VARCHAR2(256):='GetCitiesByCountry';
    vg_ws_address VARCHAR2(255):='http://www.webservicex.net/globalweather.asmx';
    FUNCTION call_myfunction(vp_parameter1 VARCHAR2,vp_parameter2 VARCHAR2)
    RETURN VARCHAR2 AS
    ol_req soap_api.t_request;
    ol_resp soap_api.t_response;
    BEGIN
    ol_req:=soap_api.new_request(vg_funciton_fnc,'xmlns="'||vg_ws_address||'"');
    soap_api.add_parameter(ol_req,'string1','partns:string',vp_parameter1);
    soap_api.add_parameter(ol_req,'string2','partns:string',vp_parameter1);
    ol_resp:=soap_api.invoke(ol_req,vg_ws_address,vg_funciton_fnc);
    RETURN soap_api.get_return_value(ol_resp,'result','xmlns:m="'||vg_ws_address||'"');
    END call_myfunction;
    END pkg_my_webservice;
    Please can any one tell me how to invoke this web service to achive this ?
    Thanks in advance

    I don't see a version number.
    I don't see any indication as to where the code you posted originated.
    I don't see any indication of whether it works or does not work (for example an error message).
    If you have questions about web services ask them in the correct forum.
    If you want someone to teach you how to use them all I can tell you is that the developers where I work use lots of SOAP and not one has written a procedure similar to what you posted.

  • Opening and closing config files as a binary file but using the config VI's to sort and Perce them.

     I was told this can be done any one know how?

    Perce?  Does that mean Parse?
    Where did you here that this can be done?  Can you give some more details so we know what it is you are trying to do?

  • No dataload.err: Using ODI to load data into Essbase

    Hi,
    I am using ODI to load data into Essbase. In the load data KM options, I select the rule file and mention that errors be logged.
    After executing the data load through ODI, I get a log file and an error file. But the error file does not have the bad record like the "dataload.err" has when I load data through EAS and use the same data and rules file.
    Am I missing some option? Is there some option to log the bad data to the error file or some option to generate a dataload.err file while using ODI?
    Thanks.

    Hi John,
    I have set LOG_ERRORS to Yes and given a file name. A file is generated everytime the interface is executed, but the file is blank.
    I have also set the Log_enabled to Yes. The log file is generated and has the error in it. The error line in the Log file ( not the error file) looks like this -
    2009-04-16 10:45:38,457 INFO [DwgCmdExecutionThread]: ODI Hyperion Essbase Adapter Version 9.3.1.1
    2009-04-16 10:45:38,457 INFO [DwgCmdExecutionThread]: Connecting to Essbase application [XXXXXX] on [XXXXXX]:[1423] using username [admin].
    2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Successfully connected to the Essbase application.
    2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option RULES_FILE = d_PL
    2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option RULE_SEPARATOR = ,
    2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option PRE_LOAD_MAXL_SCRIPT =
    2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option POST_LOAD_MAXL_SCRIPT =
    2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option ABORT_ON_PRE_MAXL_ERROR = true
    2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option CLEAR_DATABASE = None
    2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option COMMIT_INTERVAL = 1000
    2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option CALCULATION_SCRIPT = null
    2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option RUN_CALC_SCRIPT_ONLY = false
    2009-04-16 10:45:39,346 DEBUG [DwgCmdExecutionThread]: LoadData Begins
    2009-04-16 10:45:39,549 DEBUG [DwgCmdExecutionThread]: Error occured in sending record chunk...Cannot end dataload. Analytic Server Error(1003014): Unknown Member [DPT_DFDFDF] in Data Load, [2] Records Completed
    2009-04-16 10:45:39,549 DEBUG [DwgCmdExecutionThread]: Sending data record by record to essbase
    2009-04-16 10:45:40,968 INFO [DwgCmdExecutionThread]: Logging out and disconnecting from the essbase application.
    There is nothing in the error file. There should have been a record for the unknown member, DPT_DFDFDF.
    I am using ODI version 10.1.3.5.
    and John, thanks for the ODI blog. It has helped me a lot in the past couple of months.
    Thank you.

  • Dymanin File Name Creating Using ODI variable

    Hi All,
    I am trying to create a flat file dynamically using ODI variables. I am following a document in metalink (Using A Dynamically Specified File Name Or Directory Name With ODI [ID 423635.1]). However, I am getting the following error, whenever I try to execute the interface:
    java.lang.NullPointerException
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.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.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    IKM: IKM SQL to File append
    I am sure that it is unable to locate the file. May be the variable value is not passed, not sure. But, if I mention a name like abc.txt, it works. It creates a new file with abc.txt. However, when I try to use a variable, it throws null pointer exception.
    Thank you
    KK

    Hi Nitesh,
    I am really not sure what exactly you mean by declare a variable in a script. I create a new variable and used it as a name for the flat flie model. I defined a SQL that contactenates sysdate with a string. Thank you for your help!
    Regards,
    KK

  • Reading a binary file using the type cast function is not working

    Hello
    I am trying to read a binary file.  Using the Read from binary file and type cast functions I can actually get the information from the file.
    I set an indicator in the “Normal” option in Properties. I can read the header and footer but not the body of the file; For the body of the file all I can see is characters of the type
    “C¾ Ü Qþ  X@ “. One of the other options, Password, seems to provide an output of just the characters that were originally written, but then again, I can not read the characters because it is only asterisks and I can not copy them onto a word processor either.
    I tried setting the indicator in Hexadecimal mode, then creating a local variable that acts as a control and use the type cast function again to see if  could convert the Hexadecimal string to readable ASCII characters; unfortunately, this did not work either.
    I don’t know what else I should try or if there is something that I may not be doing right and for that reason I am not getting the desired results. I hope someone has an idea about this issue.
    Regards,
    Roberto

    Thank you for your reply,
    Well, actually I don’t have any information about this file. I will try to obtain information about it though.
    This is a file that contains velocity information; there are 65 channels that form a velocity profile in a pipe. Also, there are 4096 velocity profiles. I don’t know what is the format of these values.
    The software that creates the file provides a text file. Using this text file the velocity information can be processed and then plotted.
    I want to avoid all these intermediate steps and read, process and plot everything using only LabView. BTW, I am using LabView 8.2
    Roberto

  • Is this Possible using ODI / ODQ ?

    Hi ALL,
    Is the below requirement possible with ODI / ODQ?
    (right now I am doing it mannually, and its like a monthly/weekly process)
    If we can do the same using ODQ how I need to start and proceed?
    My requirement is some thing like this. I have two columns
    Address1 (street address)
    Address2 (additional Information)
    In some cases the address is not in the proper format. So I need to do some data cleansing (data scrubbing) before loading using ODI
    Use Address2 if Address1 is PO Box, building name, or any info aside from a street address. Only one address column is needed in the output (Address1)
    For example :
    INPUT
    ADDRESS1--------------------------------------------------ADDRESS2
    HIGHWAY # ------------------------------------------------5010944 MARSH RD
    PO BOX 40964---------------------------------------------1100 AA CORP PARKWAY
    DBA VANTAGE PP---------------------------------------11031 PERRY HIGHWAY
    HOME INFUSION THERAPY SERVICES--------11031 PERRY HIGHWAY
    7275 BUFFALO ROAD----------------------------------(WAS 6855 BUFFALO ROAD)
    7601 N FEDERAL HWY---------------------------------#2506
    MCAS ---------------------------------------------------------(MARINE CORPS AIR STATION)
    212 BRADDOCK AVENUE------------------------------
    212 NINTH STREET----------------------------------------
    2138 JONATHON DRIVE---------------------------------
    OUTPUT (Note : we don’t need the Address2 column in the output)
    ADDRESS1----------------------------------ADDRESS2
    10944 MARSH RD------------------------10944 MARSH RD
    1100 AA CORP PARKWAY-----------1100 AA CORP PARKWAY
    11031 PERRY HIGHWAY-------------11031 PERRY HIGHWAY
    11031 PERRY HIGHWAY-------------11031 PERRY HIGHWAY
    7275 BUFFALO ROAD------------------(WAS 6855 BUFFALO ROAD)
    7601 N FEDERAL HWY----------------#2506
    MCAS-----------------------------------------(MARINE CORPS AIR STATION)
    212 BRADDOCK AVENUE------------
    212 NINTH STREET----------------------
    2138 JONATHON DRIVE---------------
    I have posted a similar kind of question in DATA Quality (ODQ) forum
    Forum Home » Master Data Management (MDM) » Data Quality
    ADDRESS CLEANING(US) USING ODQ
    Thread: ADDRESS CLEANING(US) USING ODQ
    if any body is working on address cleansing using ODQ, Please guide me to start working on it.
    IS there any specific documents for ADDRESS CLEANING which gives more information about the process flows such as
    Transformer, Customer Data Parser, Sort for Postal Matcher, Postal Matcher, Window Key Generator,Sort for Linking, Relationship Linker, Commonizer, and Data Reconstructor.
    Thanks in Advance,
    Rathish

    Hi Rathish,
    I was building the java code but I got other idea to make more simple.
    1) load the values into a temp table with one column for each address (means 2 columns per line) plus 2 other columns to control.
    Something like:
    table temp_data
    columns: add_1 , control_1, add_2, control_2
    You can do that thru an interface. Let the fields "control" with no value when loaded
    2) create a table to storage the values you sent to me (Avenue, street...)
    table street_names
    columns: street_name, country (to your future use)
    3) Create an ODI procedure (or you can customize a KM with the same technique)
    3.1) Step 1 at target Tab, technology javaScript
    code:
    <@String vU=" ";@>
    3.2.1) step 2 - Tab Source - technology "your database" and the Logical Schema where the "street_names" table as created
    select street_name
    from street_names
    where country = 'US'
    3.2.2) step 3 - Tab Target - tecnology javaScript
    <@vU+="or instr(upper(add_1),upper('#street_name'))>0 ";@>
    3.3) step 3 - Target Tab - technology "your database" and the Logical Schema where the "temp_data" table as created
    <@vU=vU.substring(3);@>
    update temp_data
    set control_1 = 'Y'
    where <@=vU@>
    3.4) step 4 step 3 - Target Tab - technology "your database" and the Logical Schema where the "temp_data" table as created
    <@vU=vU.replaceAll("add_1","add_2")@>
    update temp_data
    set control_2 = 'Y'
    where <@=vU@>
    4) Now you have a table (temp_data) with a flag "Y" where there is a street name and "null" where doesn't exist. Just generate your file by a interface or odiSqlUnload Toll.
    Put all together into a package and you will have your process.
    I create in this way to minimize the access to the temp_table, just 2 updates.
    can be used some alternatives to tunning the hole process if the time doesn't match what you need.
    That is a fast solution. Something more elaborated can be done if necessary.
    Does it help you?
    Cezar Santos

Maybe you are looking for

  • I fail to see how Safari V 6.0 is suppose to be better

    I have an iMac (early 2009) and I'm running OSX Lion 10.7.4. Safari 5.1.7 was working fine for me and then I made the fatal mistake of upgrading to V6.0. I left the ranks of Microsoft/Windows in search of a better product and although the higher pric

  • How to handle the whitespace in receiver file content converion

    Hi Experts, In Receiver file content conversion we are facing issue with white space charecters- lets example  value -999, but in receiver field fixed lengh we have defined as 20 lengh as per the requirement. But, in the output file we are getting [n

  • Sender RFC Adapter-- XI-- File Receiver Adapter ?

    Dear Expert,         we are on PI 7.0 & R/3 system 4.7E WAS < 6.20.  We have a scenario where in there are some huge downloads are required from R/3 to FTP File Location. For such scenarios Normally Poxy is suggested but Due to WAs Version limitation

  • Problem with InetAddress.getByName ("......" ).getHostName(); Help !

    basic problem is that IP does not get resolved under Jdk 1.4 SuSE 7.3 the following code resolves IP under jdk 1.3 on the same machine, BUT doesn't resolve under Jdk 1.4 on the same machine. public class MyTest      public static void main( String []

  • CS5 64-bit Content Aware Fill kills Healing brush, clone stamp

    Here's the deal: 1)  Open image for retouching-background layer only 2)  Make copy of background layer 'cause I never retouch there and CAF won't work on the blank layer I use for all other retouching 3)  Add blank layer above the previous two layers