Need to import data from DB2 into Essbase

I need to create a Windows process (like a daemon) to constantly check DB2 for updated records and then pull the updated record into Essbase and clean the blocks. Would it be better to:
a) Write a ESSCMD macro with the import command to somehow run constantly
b) Write a Java class that will pull the information with SQL
c) do something else?
Do you have any suggestions for the best way to do this?

What you should do depends on your skills (among other things).. It seems to me that if you write it in Java, you have a whole lot of flexibility that you don't have with scripting languages such as EssCmd or Maxl.
Tim Tow
Oracle ACE
Applied OLAP, Inc.

Similar Messages

  • I need to import data from a CSV file to an Oracle table

    I need to import data from a CSV file to an Oracle table. I'd prefer to use either SQL Developer or SQL Plus code.
    As an example, my target database is HH910TS2, server is ADDb0001, my dB login is em/em, the Oracle table is AE1 and the CSV file is AECSV.
    Any ideas / help ?

    And just for clarity, it's good to get your head around some basic concepts...
    user635625 wrote:
    I need to import data from a CSV file to an Oracle table. I'd prefer to use either SQL Developer or SQL Plus code.SQL Developer is a GUI front end that submits code to the database and displays the results. It does not have any code of it's own (although it may have some "commands" that are SQL Developer specific)
    SQL*Plus is another front end (character based rather than GUI) that submits code to the database and displays the results. It also does not have code of it's own although there are SQL*Plus commands for use only in the SQL*Plus environment.
    The "code" that you are referring to is either SQL or PL/SQL, so you shouldn't limit yourself to thinking it has to be for SQL Developer or SQL*Plus. There are many front end tools that can all deal with the same SQL and/or PL/SQL code. Focus on the SQL and/or PL/SQL side of your coding and don't concern yourself with limitations of what tool you are using. We often see people on here who don't recognise these differences and then ask why their code isn't working when they've put SQL*Plus commands inside their PL/SQL code. ;)

  • Import data from mySQL into flash?

    I am new t this and therefore do not know if it can be done, but I want to import certain data from mySQL into a flash project. I know how to do this in PHP but not in action script. Help Please!

    You can use the data -> connect to php in FlashBuilder and generate a php sample file from your mysql db and use that as the service in your flex project.
    Check out http://sujitreddyg.wordpress.com/2009/06/01/building-flex-application-for-a-php-class-usin g-flash-builder-4/

  • Import Data From Excel Into PDF

    I have made a PDF in Acrobat 9 that has form fields in it, such as Last Name, First Name, Social Security Number, Address, Birth Date, Email, etc.  I want to import data from an Excel Spreadsheet into these form fields.  I have Excel 2010 and created an .XML file that includes this information.  I went back to my PDF file and clicked on Forms, Manage Form Data, Import Data, browsed and selected my .XML file and nothing happens.  I am at a loss and not sure what or where to go from here.  Any input would be very helpful at this point.
    Thank you in advance.

    The XML structure used by Acrobat is not the same as used by Excel.
    You can try exporting your spreadsheet as a CSV file and then import it
    that file in Acrobat. If the field names match the column names, it should
    work.

  • Importing Data from Excel into Primavera

    Hello:
    I'm trying to import data from an Excel spreadsheet of a given set of columns (i.e. template) into Primavera. I wish to copy the data from Excel into a new activity at the Activity Level and have set up the template already at the Activity Level.
    It is easy to copy and paste data from Primavera into Excel, but it is not straight forward to copy Excel data into Primavera. I believe you have to import the data, but I do not know how to. Is there documentation somewhere that I can access, or is there someone who knows that can help?
    Thanks.

    Hi,
    You can control the activities that are exported with the user of a filter in the template options.
    Go to Modify template options Add a new template or modify the existing
    template. The template contains options for exchanging data with
    Microsoft Excel or other spreadsheet applications. Click Modify to
    customize the selected template
    Select a Subject Area in the Modify Template dialog box to modify its
    options. In the Columns tab, select the fields to export. The available
    options are based on the selected subject area.
    In the Modify Template dialog box, click the Filter tab to select the
    activities you want to export for the selected subject area. If using more
    than one filter, choose to show activities that meet all selection criteria in
    each filter, or to show activities that must meet only one selection criteria
    in each filter. Select the filter(s) to use for the export file. If necessary,
    click Modify to edit the selected user-defined filter. The fields available for
    filtering are based on the selected subject area.
    Have a great day,
    Saryn

  • Importing data from Access into InDesign...

    Hi
    I need to create 200 A6 sized profile cards.  Each card must contain a person's name, job role, three key things they are currently working on and a full body photograph.
    All the data is currently being collated in Microsoft Access (not currently sure of version). If Access is a problem I can convert to Excel. I am using InDesign CS6.
    My question is - is there an easy way to mass import this data onto each profile card?
    Many thanks in advance, I appreciate any suggestions :-) 
    Kim :-)

    Another approach is export data from Access to xml-file. Create a template with placeholders in InDesign (in your case 5 text frames and a graphic frame). Then you can import the xml-file and InDesign will automatically create all the profile cards.

  • How do use an Import Command from DB2 into a java program

    I have to use a csv file to load data into a table, after connecting to the database and using the execute, it does not recognise the import statement.
    How do i import that file into a table using a java program

    Import is a DB2 utility program which uses sql Insert to write data into a table. Insert is called from the CLP (command line processor), not from Java. If you want to do this job using Java, then you need to establish a connection to the database, and write your own sql insert statements.

  • VARBINARY problems in OBIEE 11g importing data from DB2 AS/400 V6R1

    Hi all,
    I have set up a connection between OBIEE 11g version 11.1.1.6.0 and DB2 AS/400 V6R1.
    It is working fine for most of the data types, but we have the following cast sentence in a view:
    CAST(
    CASE WHEN A.RCATLY IN ( 1250 , 1000 ) THEN F.DESCRIPTION3 ELSE
    CASE WHEN A.RCATLY=12 THEN 'AUM' ELSE
    CASE WHEN F.KEYASL3='AL_EXCLUDED' THEN 'Other open items' ELSE
    'AUM' END END END AS CHAR(50)) AS POS_CAT,
    CAST(CASE WHEN F.DESCRIPTION3 IS NULL THEN 'Securities' ELSE F.DESCRIPTION3
    END AS CHAR(50)) AS POS_DESCR
    We are importing this view into OBIEE 11.1.1.6, the fileds POS_CAT and POS_DESCR are coming as BINARY, we also have tried to cast them to VARCHAR, they come as VARBINARY instead.
    When we try to see the fields in a report we are getting the error below:
    Error Codes: OAMP2OPY:Q4NU7XSN
    Invalid Handle Of 'const saw::ExpressionBase*' Exception
    I have tried to cast this fileds to VARCHAR in administration, no luck, error below:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46035] Datatype(VARBINARY) nullable(1) unicode(1) external char(0) conversion to datatype(VARCHAR) nullable(1) unicode(0) external char(0) is not supported. (HY000)
    SQL Issued: SELECT 0 s_0, "MI"."DWSPAIN01"."POS_CAT" s_1 FROM "MI" FETCH FIRST 65001 ROWS ONLY
    Any suggestion?
    Edited by: Ruben Alonso Ortega on 04-Mar-2013 07:23

    Thanks for your quick response, I have tried to change it in the phisycal layer, to CHAR, VARCHAR, same error, it didn't work.

  • Import data from postgreSQL into SQL server 2005

    I am trying to import one table from postgreSQL to SQL Server 2005 using sql server import and export wizard. When i test the connection after providing data source, location, username, password in the Data Link Properties section I get the message "Test Connection Succeeded". As soon as i press next to go onto next step i get the following error.
    TITLE: SQL Server Import and Export Wizard
    Cannot get string literals from the database connection "Provider=PostgreSQL.1;User ID=sa;Data Source=localhost;Location=TestMasterMap;Extended Properties=".
    ADDITIONAL INFORMATION:
    Object reference not set to an instance of an object. (DTSWizard)
    BUTTONS:
    OK
    I have tried all sorts of different combinations for these properties but it always fails on this step. Can anybody help me with this?
     

    The settings above worked for a small table with 3 rows. Now when I try to import the bigger table which I wanted to import in the first instance I get following out of memory error. Anybody knows how to work around this. I have checked my task manager and more than half of my memory was still not used when I get this error.
    TITLE: SQL Server Import and Export Wizard
    Column information for the source and destination data could not be retrieved.
    "Query" -> [temporary].[dbo].[exporttable]:
                      - ERROR [HY000] Out of memory while reading tuples.;
    No query has been executed with that handle
    ADDITIONAL INFORMATION:
    ERROR [HY000] Out of memory while reading tuples.;
    No query has been executed with that handle (PSQLODBC.DLL)
    BUTTONS:
    OK

  • Importing data from Picasa into Lightroom?

    Hello,
    I've been using Picasa as my main photography program for the last couple of years. Now I have many thousands of RAW pictures with labels and tweaks (brightness, contrast, cropping, etc).
    I'd like to import all of that data into Lightroom. Is there a way to do that? Even if there isn't an official way, I know the Picasa data is very open (ini files). Maybe there's a user-created script to do the conversion?
    Any pointers appreciated because I'd really like to switch over, but I can't afford to lose all that data.
    Cheers.
    --Noel

    I know of none, but I have to warn you that while Picasa is relatively open, it does no color management whatsoever (shame on you google - very disappointing) and any edits you did to brightness and such are likely to be useless in any properly color-managed app. Regarding the labels, which are probably relevant, there is a chance that picasa can export the industry standard and open format xmp sidecar files. Perhaps a little googling will turn up some tips.

  • Importing data from MS-Access into Oracle 9i

    I want to import data from access into oracle 9i. I already contain the same data in Oracle but these Access files contain updates and additional data to the existing data . So i need help to import in such a way that origional data remain same just addional data and updates come from MS-Access.

    Hi,
    You can achieve this by using the SQL Loader, which will help you out to load the data.
    For further reference check the below link
    http://lbd.epfl.ch/f/teaching/courses/oracle8i/server.815/a67792/ch05.htm#1261
    As you said that you have existing data in the table and you have Update's too. you have the Options like
    APPEND which you will useful to add the new records.
    - Pavan Kumar N

  • Import data from a ooo.base to Derby

    Hi,
    I need to import data from a ooo.base to Derby.
    I am not an expert in this kind of work, but:
    - I prepared the data in a spreadsheet, exporting them from the ooo.base.
    - And I read in the documentation that Derby allow to import data with the statement:
    SYSCS_UTIL.SYSCS_IMPORT_DATA(.....);Now I am trying to do things in this way, but I am not able to write correctly the statement above.
    I tried it in some different way and always :
        exmples:
    CALL SYSCS_UTIL.SYSCS_IMPORT_DATA(NULL, 'STAFF', null, '1,3,4', 'data.del', null, null, null,0);
    CALL(" SYSCS_UTIL.SYSCS_IMPORT_DATA(NULL, 'STAFF', null, '1,3,4', 'data.del', null, null, null,0)");but the NetBeans IDE evidence shows that this statement is with error of syntax_.
    I spent much time to understand how to write this SQL procedure, so I would like some help to be able to do it.
    Thank you in advance
    Regards
    Angelo Moreschini

    Hi jshell,
    it is nice to hear from you again.
    After I read your suggestion I looked better on the manuals of Derby.
    Derby has such tools that you supposed they have; they are named ij, but they work from the command line and they are not easy to use.
    The procedure to import/export data of Derby can be used from the ij utility or inside a Java program.
    The procedure to import and export data of Derby are in the file derbytools.jar, and this file have to be in the classpath if you want to use them.
    Putting derbytools.jar in the classpath I could execute the code that I post down (to benefit of others that can be interested) without errors:
                PreparedStatement ps = connection.prepareStatement("CALL SYSCS_UTIL.SYSCS_EXPORT_TABLE (?,?,?,?,?,?)");
                ps.setString(1, null);
                ps.setString(2, "STAFF");
                ps.setString(3, "staff.dat");
                ps.setString(4, "%");
                ps.setString(5, null);
                ps.setString(6, null);
                ps.execute();Thank you for the advice
    regards
    Angelo.

  • ICR - Importing Data from Other SAP Systems for Reconcilaition

    Dear Ralph and Other Experts,
    At my current engagement we need to import data from a subsidiary separate SAP system for reconciliation. There are scenarios where one side of an Interco document is posted in the corporate system and the other half is posted in the subsidiary's system. The posts from the subsidiary are totaled by comp code account and trading part and then posted in the corporate system.
    This will make it challenging to run automatic rule assignments because scenarios will arise where one document in the subsidiary needs to be matched to many documents in the corporate system.
    I did some searching on changing the DataSource   in FBIC008 for certain company codes to file upload or external but cannot find documentation on how to complete the configuration or how this functionality it works. Has anyone used this functionality? Could somebody please explain or link me to a document about using this external or file upload functionality in the ICR system.
    Best,
    John S

    Hi Frank,
    Below are my thoughts, these are only conceptual and haven't had an opportunity to try these possibilities, also not sure if this is the right thing.
    1) Create an entry in DBCON using TCode: DBCO for the Database of system SAP2. Now in the application of SAP1 use the "SET CONNECTION" construct as the very first statement, so that consecutive SQL statements will point at the DB of SAP2.
    2) I have read somewhere that the Work Processes are connected to the Default database and i am not sure if you can change this setting, but if you can and provided you have have multiple application servers in your SAP1 landscape, then pick one of the application servers and change the settings on the WP to point at the DB of SAP2, you have the end users login to this particualr app server.
    3) If there are multiple app servers in SAP1 landscape, then choose one of the app servers and change the default database setting to point at DB of SAP2.
    Regards,
    Chen

  • Importing data from Excel

    Hi, I'm trying to import data from Excel into Indesign while still keeping the formatting when updates are made to the linked Excel spreadsheet. However, everytime I update the link, the Indesign document loses all the formatting that I'm worked on and reverts back to the default font / layout. Anyone know a way to keep the formatting and just update the data in Indesign? Thanks.

    Is it possible to save text alignment in certain columns in table / cell style sheets? For example I have 3 columns in a table where'd I'd like to always always have the data in the centre.

  • How to import data from a text file into a table

    Hello,
    I need help with importing data from a .csv file with comma delimiter into a table.
    I've been struggling to figure out how to use the "Import from Files" wizard in Oracle 10g web-base Enterprise Manager.
    I have not been able to find a simple instruction on how to use the Wizard.
    I have looked at the Oracle Database Utilities - Overview of Oracle Data Pump and the Help on the "Import: Files" page.
    Neither one gave me enough instruction to be able to do the import successfully.
    Using the "Import from file" wizard, I created a Directory Object using the Create Directory Object button. I Copied the file from which i needed to import the data into the Operating System Directory i had defined in the Create Directory Object page. I chose "Entire files" for the Import type.
    Step 1 of 4 is the "Import:Re-Mapping" page, I have no idea what i need to do on this page. All i know i am not tying to import data that was in one schema into a different schema and I am not importing data that was in one tablespace into a different tablespace and i am not R-Mapping datafiles either. I am importing data from a csv file.
    For step 2 of 4, "Import:Options" page, I selected the same directory object i had created.
    For step 3 of 4, I entered a job name and a description and selected Start Immediately option.
    What i noticed going through the wizard, the wizard never asked into which table do i want to import the data.
    I submitted the job and I got ORA-31619 invalid dump file error.
    I was sure that the wizard was going to fail when it never asked me into which table do i want to import the data.
    I tried to use the "imp" utility in command-line window.
    After I entered (imp), i was prompted for the username and the password and then the buffer size as soon as i entered the min buffer size I got the following error and the import was terminated:
    C:\>imp
    Import: Release 10.1.0.2.0 - Production on Fri Jul 9 12:56:11 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username: user1
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Import file: EXPDAT.DMP > c:\securParms\securParms.csv
    Enter insert buffer size (minimum is 8192) 30720> 8192
    IMP-00037: Character set marker unknown
    IMP-00000: Import terminated unsuccessfully
    Please show me the easiest way to import a text file into a table. How complex could it be to do a simple import into a table using a text file?
    We are testing our application against both an Oracle database and a MSSQLServer 2000 database.
    I was able to import the data into a table in MSSQLServer database and I can say that anybody with no experience could easily do an export/import in MSSQLServer 2000.
    I appreciate if someone could show me how to the import from a file into a table!
    Thanks,
    Mitra

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

Maybe you are looking for

  • The XSD type double does not exactly correspond to the ABAP type FLTP

    Hi Experts, i wanna create a proxy from a wsdl file. While creating the the proxy in SE80 i got some errors like described in the subject. I also got an error "Item is part of recursion". I have found already a post in the forum but i don't get what

  • Copy and Paste Multi Layers

    I have a picture with several layers. I doubled the width of the canvas size to fit two up for printing. How do I copy all the layers to paste an exact duplicate with all the layers in tact without having to flatten the image? Thanks

  • How to show/hide TOC in CP8

    I would like to include a TOC which allows the learner to hide or show it. I added a basic TOC to my project, but don't know how to insert a show/hide function.  Thanks for your help! Paula

  • Messaging problem on 5300

    i have suddenly got a fault on my 5300  with sent messages going into the outbox  but not being sent,also am unable to listen to my voice mail. problem only arose a couple of weeks ago. any advice would be appreciated belindafred

  • Need to authenticate adobe for ereader

    Got this new ereader ( Gobii). can't download yet as i need to authenticate adobe. It does not allow me. it seems that it is either my firewall preventing me or my internet connection settings. But i don't know what i am supposed to change. I tried t