ODI 10.1.3.5 - Text file to Hyperion Essbase - Metadata

Hello folks,
I tried to insert new member on my outline in Essbase 9.3.1 using the following text file content:
Member;Parent;Alias;Consolidation;Data Storage
A;Account;A-Test;+;Never Share
Follow the error description below, but I could not understand the issue´s cause.
When I use the same text file to load Hyperion Planning, it works fine.
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 20, in ?
java.sql.SQLException: Unexpected token: PARENTNAME in statement [select   C3_PARENT    ""ParentName]
Does somebody know what happened?
Best Regards,
Wallace Galvão
Sao Paulo - Brazil

Hello John,
I don´t have quotes on the column separator or table alias separator field. But I found the quotes on the language tab in object delimiter field, I removed and I have new error, follow below.
File "<string>", line 23, in ?
com.hyperion.odi.essbase.ODIEssbaseException: Cannot build dimension. Analytic Server Error(1030011): Invalid character in name (<Default>) in ESSAPI function adBuildDim
SQL Generated:
from com.hyperion.odi.common import ODIConstants
from com.hyperion.odi.connection import HypAppConnectionFactory
from java.lang import Class
from java.lang import Boolean
from java.sql import *
from java.util import HashMap
# Get the select statement on the staging area:
sql= """select C2_PARENT "ParentName",C3_MEMBER "MemberName",C1_ALIAS "Alias",C4_DATA_STORAGE "DataStorage",C5_CONSOLIDATION "Consolidation" from "C$_0Account" where      (1=1) """
srcCx = odiRef.getJDBCConnection("SRC")
stmt = srcCx.createStatement()
srcFetchSize=30
stmt.setFetchSize(srcFetchSize)
rs = stmt.executeQuery(sql)
#load the data
stats = pWriter.loadData(rs)
#close the database result set, connection
rs.close()
stmt.close()
Besides, for me it was strange found two languages defined on Essbase technology: Jython and SQL. And the definition tab, Tecnology type was: database or file (JDBC/ODBC), I changed to "bean script framework" (similar to Hyperion Planning technology) and removed the SQL keeping only Jython, but the issues continues.
Also, I changed my odihapp_essbase.jar (date created 9/9/2009) and readded the essbase technology, but without success.
Do you have any idea to solve this issue?
Regards,
Wallace Galvão
Sao Paulo - Brazil

Similar Messages

  • ODI 11.1.1.5 IKM SQL to Hyperion Essbase (DATA) ERROR

    Hello!
    I'm loading data from Oracle database table "nbkr_source" to Essbase database nbkr.bdr using IKM SQL to Hyperion Essbase (DATA).
    I'm using the interface which successfully loading data into Essbase in ODI 10.1.3.5, but this interface doesn't work in ODI 11.1.1.5...
    The error appears on the step 6: "load data into essbase":
    [2011-12-02T08:21:28.985-04:30] [] [NOTIFICATION:16] [ODI-1126] [] [tid: 49] [ecid: 0000JFyGjmU6UOYjLpATOA1Eq7wG00000U,0:482] Agent localagent started session nbkr_sql_to_essbase2 (16001) in work repository WORKREP1 using context GLOBAL.
    [2011-12-02T08:21:32.401-04:30] [] [ERROR] [ODI-1217] [] [tid: 49] [ecid: 0000JFyGjmU6UOYjLpATOA1Eq7wG00000U,0:482] Session nbkr_sql_to_essbase2 (16001) fails with return code 7000.[[
    ODI-1226: Step nbkr_sql_to_essbase2 fails after 1 attempt(s).
    ODI-1240: Flow nbkr_sql_to_essbase2 fails while performing a Integration operation. This flow loads target table nbkr_bdrData.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 26, in <module>
         at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Invalid column type specified for Data column [План счетов]
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2457)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    Code:
    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.connection import HypAppConnectionFactory
    from java.lang import Class
    from java.lang import Boolean
    from java.sql import *
    from java.util import HashMap
    # Get the select statement on the staging area:
    sql= """select C1_HSP_RATES "HSP_Rates",C2____________ "План счетов",C3_______ "Период",C4_________ "Сценарий",C5_______ "Версия",C6_______ "Валюта",C7____ "Год",C8________________ "Структура банка",C9_DATA "Data" from "C$_0nbkr_bdrData" where      (1=1) """
    srcCx = odiRef.getJDBCConnection("SRC")
    stmt = srcCx.createStatement()
    srcFetchSize=30
    #stmt.setFetchSize(srcFetchSize)
    stmt.setFetchSize(1)
    print "executing query"
    rs = stmt.executeQuery(sql)
    print "done executing query"
    #load the data
    print "loading data"
    stats = pWriter.loadData(rs)
    print "done loading data"
    #close the database result set, connection
    rs.close()
    stmt.close()

    There is not a set limit, you set it to the most optimal value for the database you are loading to which you will find by peforming tests with different values.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • License File for Hyperion Essbase Release 7.1.6.7 Server window

    I have to install Hyperion Essbase Release 7.1.6.7 Server windows on window2003. Have been locking for the license file for this version on l"http://licensecodes.oracle.com/hyperion.html". However could not locate the file for the respective Essbase version. Can anyone kindly let me know from where can I download the license file.
    Thanks in advance.
    Pragati

    I think the docs are just out of date/incorrect (fancy that).
    Per http://licensecodes.oracle.com/hyperion.html:
    Essbase      
    6.0 - 7.0      11 000000 263A639A-FFE AD52863F
    7.1 - 7.1.1      11 000000 463A639A-FFE AF528631
    7.1.2 - 7.1.6.3 Click here for options
    7.1.6.5      NoneI clicked on the "Click here" link and went to: http://licensecodes.oracle.com/hyperion_essbase.html
    And on that page I see:
    Alternately, you may download and install Essbase 7.1.6.5 available from Oracle E-Delivery. You can locate this software and corresponding documentation by selecting the Hyperion Performance Management BI product pack and the appropriate operating system. Search results will display the Pre-Version 9 media pack which includes the 7.1.6.5 software. This fix does not require a license file.Note the last sentence -- you are free and clear of license files.
    I always wondered where people were getting copies of 7.1.x -- apparently there's a pre-version media pack -- I had no idea.
    Regards,
    Cameron Lackpour

  • Using text files to commit in UCM trough ODC

    Hello all.
    Again I'm here trying to do something not that common in ODC. So let me explain what I want, OK?
    EDIT: I forgot my specs:
    We're using a VM in Vmware Workstation, with Windows 7 64bits. 80gb HD and 2gb RAM.
    Using Oracle DB 11gR2 and ODC 10.3.5.
    1 - we already opened a ticket with Oracle Support, the number is:      SR 3-6108348211. It was closed but we reopened. Until now there is no answer.
    2 - we have many files and want to do a test: which is better for commiting files to UCM, ODC or Batch Loader? We know that Batch Loader is the usual one, but maybe there is some speed improvement in checkin using ODC.
    3 - we will get the images from a folder, send them to ODC, them the ODC will commit them to UCM, but (here's the catch) sending all the metadata of all those files and being pdf-searchable too.
    4 - so I'll put some screens here, showing what I did, OK?
    4.1- In this screen I show all the metadata we need ship to UCM. In the left column are the metadata fields and in the right, values.
    http://imgur.com/QkqxA
    4.2 - In a folder, we put all the images and a text file containing all the metadata referring to the images. As the Oracle Support says, the text file should have these lines.:
    C:\Users\oracle\Desktop\import_folder\import1.bmp|4545|Joaozinho|15/15/2015|Import1|11.11
    C:\Users\oracle\Desktop\import_folder\import2.bmp|7878|Augusta|16/16/2006|Import2|22.22
    C:\Users\oracle\Desktop\import_folder\import3.bmp|00001|Gump|07/07/1997|Import3|333.33
    C:\Users\oracle\Desktop\import_folder\import4.bmp|3232|Filipinho|08/08/2008|Import4|99.66
    C:\Users\oracle\Desktop\import_folder\import5.bmp|7968|Maria Antonia|15/12/1985|Import5|88.99
    C:\Users\oracle\Desktop\import_folder\import6.bmp|56563|Coloral|07/08/1999|Import6|22.33
    The first part is the image path, the second its name, the third the odc_Numero field value, the fourth the odc_Nome field value, the fifth the odc_Data field value, the sixth odc_Assunto field value and the last one is odc_Valor field value. All these values need to go to UCM, along with the images.
    4.3 - So I put all the images and text file in the folder.
    http://imgur.com/o8znD
    4.4 - I didn't checked OCR zones in the images, all the metadata values will come from the text field, because the images sometimes cannot be trusted on the values (bad scan, old text, etc).
    4.5 - I open the Import Server and did this config:
    http://imgur.com/t0xh1
    http://imgur.com/PPJGO
    http://imgur.com/RWKfU
    http://imgur.com/v5P5V
    4.6 - I open the commit server and let it in the background, but not doing any batch jobs, just paused.
    4.7 - And I got all these errors:
    http://imgur.com/lCtql
    EDIT: I get this error when opening the import server, just after the login:
    http://imgur.com/YB9qe
    So here are my questions:
    1 - what printer is the ODC needing?
    2 - the files will be already converted to PDF, I just want to convert them to pdf-searchable, using the text file containing all metadata and send them to UCM. Is it possible?
    3 - is there a guide teaching how to do this?
    4 - am I doing it right?
    Sorry for the long post, but this an urgent test.
    Thanks (seriously, a lot) for all the help and guidance.
    Fernando
    Edited by: fgomes on 03/09/2012 05:45
    Edited by: fgomes on 03/09/2012 06:05

    Hello Jiri.
    Thank you for your answer.
    Let me answer your questions (I'm using Windows XP this time, both we are working in 7, too):
    - while working with the ODC desktop application, you
    i. define a file cabinet (which also defines index fields, optionally batch statuses, and commit profiles)
    -- I did, these are the fields I've defined for this test
    http://imgur.com/7FyRW
    ii. define a scan profile
    -- Here are the configs for my scan profile
    http://imgur.com/Jyfvh
    http://imgur.com/tveQZ
    iii. define an indexing profile (which also defines index fields the profile will work with, incl. auto-populate)
    -- Here are the configs
    http://imgur.com/sMW7Q
    http://imgur.com/O6Bpl
    http://imgur.com/aqYmU
    http://imgur.com/lGrIn
    http://imgur.com/MeKAz
    http://imgur.com/t5r0i
    http://imgur.com/oco5S
    iv. scan an image (using the scan profile) AND v. index the scanned image (using the indexing profile)
    -- I did that. And works ok. I've used OCR zones sometimes and the scan worked. Sometimes I didn't and it worked OK, too. Commit to UCM in both cases worked. Here is an example:
    http://imgur.com/rp3jI
    http://imgur.com/ZS7FB
    http://imgur.com/cHhjC
    * Now we go to another part:
    ii'. define the import batch job
    -- I've defined in here.
    http://imgur.com/hfEdR
    http://imgur.com/eKsyJ
    http://imgur.com/Kbt5R
    http://imgur.com/1azWe
    http://imgur.com/JqbFI
    http://imgur.com/IkCww
    And after all these configs, when I click in "Activate", to make the batch job active the application closes (in Windows 7 it crashes). When I change to "Import from folder" rather than "Import from list file" I get these messages:
    http://imgur.com/1WAMn
    http://imgur.com/oz5ZL
    Still, the other way is to provide metadata in a List File. The List File is processed directly by Import - and if you define that you want to commit right away Import will try to do it for you, but it can succeed only if it has all the necessary index fields. The error you are getting indicates that something is wrong - it can be that some field is missing, or all the fields are missing (List File could not be parsed).
    -- Yes. It is that I want. I don't need to check barcodes at all. I just need to get all the field values from a list file. Here are the contents:
    C:\Documents and Settings\Administrador\Desktop\import_folderimport1.bmp|4545|Joaozinho|15/15/2015|Import1|11.11
    C:\Documents and Settings\Administrador\Desktop\import_folderimport2.bmp|7878|Augusta|16/16/2006|Import2|22.22
    C:\Documents and Settings\Administrador\Desktop\import_folderimport3.bmp|00001|Gump|07/07/1997|Import3|333.33
    C:\Documents and Settings\Administrador\Desktop\import_folderimport4.bmp|3232|Filipinho|08/08/2008|Import4|99.66
    C:\Documents and Settings\Administrador\Desktop\import_folderimport5.bmp|7968|Maria Antonia|15/12/1985|Import5|88.99
    C:\Documents and Settings\Administrador\Desktop\import_folderimport6.bmp|56563|Coloral|07/08/1999|Import6|22.33
    Thanks again.
    If you could try and say what I am doing wrong you'll help me a lot.
    Fernando

  • Extraction of Essbase Metadata into a Text File

    When extracting metadata from Essbase into a txt file, the file lists the child members before the parents. We want it vice versa-just like it looks in Essbase. LKM Hyperion Essbase METADATA to SQL Is used for extraction.

    Unfortunately that is the way the API extracts the hierarchy.
    There are a couple of options extract the hierarchy with an incremental id, then order by the ID, this will need to be done in an rdbms staging area such as Oracle or SQL Server.
    If you are using Oracle you can always load to table and then using the connect by prior command to sort in the correct parent/child format, I am sure there is something equivalent in sql server.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to migrate dimension member text files from ODI to Hyperion Planning

    Hi
    We are having an issue with ODI that it was not connecting to planning.
    Later with some instructions from oracle, we have tried to set some RMI path in websphere and we tested the RMI connectivity test.
    It was successfully connecting to planning.
    Then we want to test that ODI is connecting to planning or not.
    For this I think if anyone can send the doc relating to dimension member upload thru ODI to hyperion planning using text files, it will be helpful.
    Appreciate if anyone can help us on this.
    Please communicate to [email protected] for doc sending.
    Thanks
    Rajesh Reddy

    Go through His(John's) earlier blogs which very clearly explains how to get connected & keep the ball rolling.
    If you're so scared to use the existing connections, you may want to-
    i) Set up new Master & work repository;
    ii) Do few quick configurations from Topology Manager;
    iii) Create your project, models, Interface;
    Let us know if something isn't still clear.
    - Natesh

  • Can ODI transfer next text file to Essbase?

    I am new user to ODI, we have a text file with the next format:
    ACTUAL
    7
    1
    10100,100000.000,212000.12
    10105,100000.000,2350841.03
    10107,100000.000,13218068.2
    10108,100000.000,128575854
    10199,100000.000,-8252694.505
    10435,100000.000,1269516.95
    Should I change the above format to the next flat format first? Or it is not necessary? ODI can understand the above format? So that it can works as a flat text data store before I map the data to Essbase DB.
    The last column is fact measure data.
    ACTUAL,7,1,10100,100000.000,212000.12
    ACTUAL,7,1,10105,100000.000,2350841.03
    ACTUAL,7,1,10107,100000.000,13218068.2
    ACTUAL,7,1,10108,100000.000,128575854
    ACTUAL,7,1,10199,100000.000,-8252694.505
    ACTUAL,7,1,10435,100000.000,1269516.95
    Please advise and confirm, thanks!

    Hi,
    Yes it is certainly possible and there a number of ways to achieve it.
    It will be achieved in a pretty straight forward interface, you can ignore the first few lines in your file datastorre ( you could even read them lines in and set variables, personally I would set variables based on the first 3 lines and then use the variables in the interface)
    The rest will be simple mappings in the interface, you could hard code some of the values into the target mapping or use variables which would be better, if you are going to use variables then you will need to use a package, declare/refresh/set them and add the interface.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to find file error while loading data from text file to Oracle

    Hi,
    I am having a interface where i am loading a data of Text file to Oracle.
    But when i am trying to do this i am getting following error.
    ODI-1227: Task SrcSet0 (Loading) fails on the source FILE connection SAPMM.
    Caused By: java.sql.SQLException: File not found: d:/mdb/#General.get_filename
         at com.sunopsis.jdbc.driver.file.FileResultSet.<init>(FileResultSet.java:160)
         at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
         at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
    SAPMM is connection name.
    I am using get_filename to get the filename and it is fetching correct value as the this variable refreshes in previous step of this interface.
    KM used for loading is File to SQL
    What would be cause of this error?
    Thanks,
    Mahesh

    Hi,
    Did a testing and following are the result
    I have
    A> created package having steps like
    1. Declaration of variable v_filename.
    2. Refreshing variable v_filename.
    3. Execution of Interface which gets the file name from v_filename and load into target table
    Package executes successfully.
    B> created package having steps like
    1. Declaration of variable v_filename.
    2. Refreshing variable v_filename.
    3. Scenario of Interface which gets the file name from v_filename and load into target table
    Package executes with erre as it is not able to find the file
    C> created package having steps like
    1. Declaration of variable v_filename.
    2. Refreshing variable v_filename.
    3. Execution of Interface which gets the file name from v_filename and load into target table
    4. Now create a scenario of the package , use the generated scenario in another package say main_package
    Execution of main_package is successful.
    Thanks,
    Sutirtha

  • Error while loading data from a text file to a datastore

    Hi all,
    i am a starter in ODI. I am trying to load data from a text file into a datastore. I have put the file on a unix server whose location is defined in the topology manager. when i am trying to "view data" it is giving me error file does not exist at <location where i have put the file>. Please help me

    Hi,
    1. If your files are on a remote File System, you will need to copy one of your files to the machine ODI Designer is running on to allow ODI to retrieve the metadata information of the file.
    2. In Topology create a Physical Schema, the directory you enter for Data and Work Schema should point at this local file.
    3. Then define the File Datastore in ODI Designer. Enter a name, browse and select the file and fill in each filed of the Files tab.
    * If its a Fixed file, click on the grid icon on the Columns tab to enter the columns and have Automatic Adjustment checked.
    * If its a Delimited file, use the Reverse button on the Columns tab to reverse the columns.
    * Right click on the File Datastore select View Data, if you can view data, that means the File Datastore has been defined correctly.
    * If not, check each tab of the File Datastore to make sure everything is defined correctly and retry.
    4. Once View Data is successful, you now change the directories (Data and Work Schema in Topology) to point at the remote File System. These directories must be accessible to the ODI Agent that will be used to run the transformations. The directory can be an absolute path (m:/public/data/files) or relative to the ODI Agent startup directory (../demo/files). It is strongly advised to use a UNC (independent from the execution location) for the path. When running the transformations with "no agent", the directory is relative to the directory where Oracle Data Integrator has been installed.
    You need to have a agent process running at the system where your source file resides .
    Then while running the odi interface choose that agent .
    Thanks,
    Sutirtha

  • Upload text file to oracle table with checking and aggregation

    Hi Friends,
    I am new to ODI.  I have encountered a problem which is specific to ODI 11G (11.1.1.6.3) to upload text file to oracle table with checking and aggregation.  Would you please teach me how to implement the following requirement in ODI 11G?
    Input text file a:
    staffCode, staffCat, status, data
    input text file b:
    staffCodeStart, staffCodeEnd, staffCat
    temp output oracle table c:
    staffCat, data
    output oracle table d:
    staffCat, data
    order:
    a.staffCode, a.staffCat, a.status
    filter:
    a.status = ‘active’
    join:
    a left outerjoin b on a.staffCode between b.staffCodeStart and b.staffCodeEnd
    insert temp table c:
    c.staffCat = if b.staffCat is not null then b.staffCat else a.staffCat
    c.data = a.data
    insert table d:
    if c.staffCat between 99 and 1000 then d.staffCat = c.staffCat, d.data = sum(c.data)
    else d.staffCat = c.staffCat, d.data = LAST(c.data)
    Any help on fixing this is highly appreciated. Thanks!!
    Thanks,
    Chris

    Dear Santy,
    Many thanks for your prompt reply.  May I have more information about the LAST or SUM step?
    I was successful to create and run the following interfaces p and q
    1. Drag text file a to a newly created interface panel p
    2. Filter text file a : a.status = ‘active’
    3. Lookup text file a to text file b : a.staffCode between b.staffCodeStart and b.staffCodeEnd
    4. Drag oracle temp table c to interface panel p
    5. Set c.staffCat : CASE WHEN b.staffCat IS NULL THEN a.staffCat ELSE b.staffCat END
    6. Set c.data : a.data
    7. Drag oracle temp table c to a newly created interface panel q
    8. Drag oracle table d to interface panel q
    9. Set UK to d.staffCat
    10. Set Distinct Rows to table d
    11. Set d.staffCat = c.staffCat
    12. Set d.data = SUM(c.data)
    However, the interface q should be more than that:
    If c.staffCat is between 99 and 1000, then d.data = the last record c.data; else d.data = sum(c.data)
    Would you please teach me how to do the LAST or SUM steps?  Moreover, can interface p and interface q be combined to one interface and do not use the temp table c?  Millions thanks!
    Regards,
    Chris

  • 'FROM keyword not found where expected'error while Inserting into Text file

    Hi,
    I have created a simple interface for testing purpose. All it has to do is to Read the data from a Source Text file and put it into another text file (exactly the same headers as that of source) ...
    I am using Oracle as my staging area.
    But at 'Insert column Header' Stage, it gives me a warning 'FROM keyword not found where expected' and when it goes to the next step 'Insert Rows' it gives me the same error 'FROM keyword not found where expected' and aborts its execution.
    I checked the query for insertion and found nothing wrong in it (FROM Statement is just where it is expected, that is) but somehow its not working.
    Can somebody help me out as i have done it before on other Installations and dont know why it is occuring that too for the simplest thing in ODI ...
    Regards,
    Nitesh.

    Probably you missed the concat operator.
    select rpad(nvl(lu_parid,' '),1,19)|| v_comma ||
    rpad(nvl(lu_class,' '),1,3)
    from temp_te07                                                                                                                                                                                                                                                                                                           

  • Mapping 2 text files with conditions

    Hi,
    I am just trying to get my head around what would be the best solution that could be implemented in ODI to the following task I have.
    I have 2 text files the first file is in the format of
    AccCode | ChildCodeStart | ChildCodeFinish
    B1000 1000 1099
    B1001 1100 1199
    The second text file
    ChildCode | Alias
    1000 Expense1
    1001 Expense2
    1100 Revenue1
    1101 Revenue2
    Now the logic is that I want to map AccCode from the first file and match all the codes in file two which are between ChildCodeStart and ChildCodeFinish
    So my output would be
    AccCode | ChildCode | Alias
    B1000 1000 Expense1
    B1000 1001 Expense2
    B1001 1100 Revenue1
    B1001 1101 Revenue2
    I am not sure what would the best route to this in ODI, would I have to load the files into tables first or can it done straight through an interface?
    Thanks for any help
    John

    Hi,
    Thanks it does help but I am still not there yet I will explain what I have done.
    File1
    CCTYPE~CC_CODE~CC_ALIAS
    2~101000~Test1
    2~101001~Testi2
    2~110000~Does it work
    2~110001~AnyGood
    File2
    CCTYPE~CC~CCIGNORE~ACCSTART~ACCFIN
    2~B10100~Dummy1~101000~109999
    2~B10101~Dummy2~110000~119999
    I created an interface and dragged the 2 datastores linked to the flat files
    I added a join between CC_Code and AccStart and a join between CC_code and AccFinish
    so it became (COA.CC_CODE>=HIE.ACCSTART) AND (COA.CC_CODE<=HIE.ACCFIN)
    I then put the target as a table as CC_CODE, CC, CC_Alias
    It runs through fine but it is only populating one record
    B10101,110000,Does it work
    Maybe my logic is wrong somewhere ?
    Cheers
    John

  • Loading text file to Essbase - Group By

    Hi All,
    May be someone have an idea...
    I have text file (csv) with detailed data that I want load to Essbase. The data in file is in day level while the minimal period in Essbase is month.
    Using SUM() function I'm trying to aggregate the values but get the error:
    From Execution tab:
    com.hyperion.odi.essbase.ODIEssbaseException: Invalid column type specified for Data column [Data]
         at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
    From Description tab:
    sql= """select 'Work Hours' "Account",'Jan' "Period",'PTD' "View",'Translated to USD' "Currency Status",CONCAT('div_', C3_DIV) "Division",'Actual' "Scenario",C2_PROJECT_NUMBER_ "Project",'STAT' "Currency List",'com_100' "Company",'Final' "Version",'FY09' "Year",SUM(C1_HOURS) "Data" from "C$_0Security_ProjectsData" where      (1=1) And (C3_DIV in ('45', '48', '49')) Group By CONCAT('div_', C3_DIV),
    C2_PROJECT_NUMBER_ """
    When I remove SUM() function it loads the file succesufully,
    Is it because groupping is impossible on text datastore or something wrong in my interface?
    Thank you,
    Alexey

    Thank you John very much for the solution. It solved my problem.
    Because I got it by mail I put it here to ba availible for everyone it may be interesting:
    " I take it you are using "SUNOPSIS_MEMORY_ENGINE" as the staging area, if so
    this seems to be the cause, it might be a bug.
    Is it possible you could change your staging area to use a logical schema
    using a relational database (e.g. sql server or Oracle)
    I am able to replicate the issue if I using the memory engine as the staging
    area but I can load the data using a relational staging area.
    I would recommend switching from the memory engine anyway. "
    Thanks a lot.

  • How Open And Print Proc C Genrated Text File Based Report ON Browser

    Dear Sir
    I have my old 6i forms from which i runs some Pro*c programmers with the help of HOST() command ,and then that generates a normal text file as a resultant report like file name "kha10"
    which i can easily open with any text client ,,,
    now what i want is that, to open this file on browser like web Report on my forms 10g like report builder 10g
    can anyone help me as it will be a gr8 help otherwise i would have to develop approx 100 reports.....
    any solution or any technique plzz help me

    bro my work is almost done apart from this virtual directory , how to make a virtual directory so that is dosent comes under
    http://........../form/
    i mean where to put my
    <virtual-directory virtual-path="/procrepo" real-path="c:\" />
    as my original file looks like bellow
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//ORACLE//DTD OC4J Web Application 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-web-9_04.dtd">
    <orion-web-app
         deployment-version="10.1.2.0.2"
         jsp-cache-directory="./persistence"
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
    >
    <context-param-mapping name="configFileName">D:\DevSuiteHome_1/forms/server/formsweb.cfg</context-param-mapping>
         <virtual-directory virtual-path="/html" real-path="D:\DevSuiteHome_1/tools/web/html" />
         <virtual-directory virtual-path="/java" real-path="D:\DevSuiteHome_1/forms/java" />
         <virtual-directory virtual-path="/webutil" real-path="D:\DevSuiteHome_1/forms/webutil" />
         <virtual-directory virtual-path="/jinitiator" real-path="D:\DevSuiteHome_1/jinit" />
         <session-tracking cookies="disabled" />
    <!-- Uncomment this element to control web application class loader behavior.
    <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
    -->
    <security-role-mapping name="administrators">
    </security-role-mapping>
    </orion-web-app>
    plzzzzzzzzzzz help

  • Open and read from text file into a text box for Windows Store

    I wish to open and read from a text file into a text box in C# for the Windows Store using VS Express 2012 for Windows 8.
    Can anyone point me to sample code and tutorials specifically for Windows Store using C#.
    Is it possible to add a Text file in Windows Store. This option only seems to be available in Visual C#.
    Thanks
    Wendel

    This is a simple sample for Read/Load Text file from IsolateStorage and Read file from InstalledLocation (this folder only can be read)
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using Windows.Storage;
    using System.IO;
    namespace TextFileDemo
    public class TextFileHelper
    async public static Task<bool> SaveTextFileToIsolateStorageAsync(string filename, string data)
    byte[] fileBytes = System.Text.Encoding.UTF8.GetBytes(data);
    StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;
    var file = await local.CreateFileAsync(filename, CreationCollisionOption.ReplaceExisting);
    try
    using (var s = await file.OpenStreamForWriteAsync())
    s.Write(fileBytes, 0, fileBytes.Length);
    return true;
    catch
    return false;
    async public static Task<string> LoadTextFileFormIsolateStorageAsync(string filename)
    StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;
    string returnvalue = string.Empty;
    try
    var file = await local.OpenStreamForReadAsync(filename);
    using (StreamReader streamReader = new StreamReader(file))
    returnvalue = streamReader.ReadToEnd();
    catch (Exception ex)
    // do somthing when exception
    return returnvalue;
    async public static Task<string> LoadTextFileFormInstalledLocationAsync(string filename)
    StorageFolder local = Windows.ApplicationModel.Package.Current.InstalledLocation;
    string returnvalue = string.Empty;
    try
    var file = await local.OpenStreamForReadAsync(filename);
    using (StreamReader streamReader = new StreamReader(file))
    returnvalue = streamReader.ReadToEnd();
    catch (Exception ex)
    // do somthing when exception
    return returnvalue;
    show how to use it as below
    async private void Button_Click(object sender, RoutedEventArgs e)
    string txt =await TextFileHelper.LoadTextFileFormInstalledLocationAsync("TextFile1.txt");
    Debug.WriteLine(txt);
    在現實生活中,你和誰在一起的確很重要,甚至能改變你的成長軌跡,決定你的人生成敗。 和什麼樣的人在一起,就會有什麼樣的人生。 和勤奮的人在一起,你不會懶惰; 和積極的人在一起,你不會消沈; 與智者同行,你會不同凡響; 與高人為伍,你能登上巔峰。

Maybe you are looking for

  • IPod stops syncing on my MAC G5.... continued

    If anyone else is having a problem syncing their iPod with their MAC could you post here so I can make sure I'm not alone. Originally I posted a work around to get my music on my iPod and I thought that it fixed my problem completely. But after purch

  • Cant read my contacts on a 6320i?

    Help I have some 800 contacts on my old 6320i, and have a new phone. I copied the first 200 to my sim card and transferred them ok. However my old phone is now saying there are no numbers stored in the phone memory, but when i check the memory status

  • Cross docking fucntionality

    Hi I have a requirement to adapt cross docking functionality in my project. But My concern is 1.I donot have cross docking configuration nodes in SAP 4.7 version in SPRO. 2.I also donot have cross docking monitoring station transactions and few other

  • In NWDS terms in DC are in other language i want them in english

    in the ess~cat DC. i have opened the vc cat record entry iview, but in the iview the terms are in other language. i want them in english. how to get those terms in english? thanks in advance.

  • Location reminders with siri in the UK

    I have been trying to get location reminders to work via Siri.  I have set up my home location via my contact information and via the map as the advice on this states but it is not workiing.  I tried various things to get it to work but nothing worke