dynamically generate files in ODI excel

Hello

I have an obligation to generate excel file dynamically from a table in the Oracle data source. Is this possible?

Can someone tell how to do it in stages?



Thanks in advance

Edited by: 883410 May 17, 2012 03:51

Yes, it's possible by using OdiSqlUnload. It creates a file, and then load the data into it. But here you get column C1, C2 etc.
You can give your file name in a variable and use this variable in OdiSqlUnload.
To generate the header, you can refer
http://odiexperts.com/generate-column_name-header-for-odisqlunload/

Thank you.

Tags: Business Intelligence

Similar Questions

  • Names of dynamic XML files in ODI

    Hi all

    Is there a way can we call the XML names dynamically. ?

    Here's the scenario,
    I have several XML files of the same structure to load into an Oracle table.

    I first created a root XML and gave the exact path and file name for the inversion of the XML model for the first time. The JDBC url was,
    JDBC:SNPs:XML? f = / xml/file / #XML_TEST. FILE_TEST.XML & s = XML_TEST & dod = true & ro = true

    After he hit, I changed the root XML JDBC url
    JDBC:SNPs:XML?f=/XML/file/#XML_TEST.var_FILE_NAME.XML & s = XML_TEST & dod = true & ro = true

    I created a variable * #XML_TEST.var_FILE_NAME* to get all the names of XML file.

    After that I tried to see the data from data warehouses are under previously reverse the XML model, but became the following error:
    java.sql.SQLException: while generating the DTD of the XML, an exception org.xml.sax.SAXParseException is produced by saying: element the Document root is missing.

    Do I need to change anything in the XML model or data warehouses?

    Best regards,
    VERIFIED BY VISA

    Since you are using the Variable, when you right-click and view its lack of required passage of the file, as the variable value is not determined, to do this, you need to refresh or set the variable and call the interface or other objects of ODI and loop continue to read XML files one by one and that should work data store.

  • Cannot generate files jar under JAVA_TOP

    Hi all

    I cloned an instance of PROD to TEST and everything works fine.

    When I run generate product JAR files, it displays below and completing successfully.

    Signature of the JAR files produced in JAVA_TOP-

    / U01/test/Apps/apps_st/COMN/java/classes

    using entity PROD_xxxxxx and certificate 1.

    I decided to change the PROD_xxxxxx to TEST_yyyyyy.  So I edited the file as below: $APPL_TOP/admin/adsign.txt

    PROD_xxxxxx 1 to TEST_yyyyyy CUST 1 CUST

    So I ran the adadmin-> generate the JAR files produced (force regeneration), got the error below


    [[[[[

    You want to force the regeneration of all jar files? [No]? Yes


    Force the generation of all jars of the product.
    Creating and signing of all jar files can take thirty
    minutes according to the material used.
    You can look at the /u01/TEST/apps/apps_st/appl/admin/TEST/log/20130820adadminjarnew.log file to see the progress of the generation of the jar file.

    Signature of the JAR files produced in JAVA_TOP-
    / U01/test/Apps/apps_st/COMN/java/classes
    using entity TEST_yyyyyy and certificate 1.

    JavaVersionFile successfully created.

    Generating files in JAVA_TOP-JAR
    / U01/test/Apps/apps_st/COMN/java/classes with the command:

    adjava-mx512m - nojit oracle.apps.ad.jri.adjmx @/u01/TEST/apps/apps_st/appl/admin/TEST/out/genjars.cmd


    Failure of the generation of the JAR files produced in JAVA_TOP-
    / U01/test/Apps/apps_st/COMN/java/classes.


    adogjf() Impossible to generate files jar under JAVA_TOP


    Backup restart files, as appropriate. Fact.

    You must check the file
    /U01/test/apps/apps_st/appl/Admin/test/log/20130820adadminjarnew.log

    ]]]]

    1. Please let me know what I have to follow any step after you change the adsign.txt file?

    Please help me fix this error

    Thank you

    ASM

    Hi, ASM,

    WARNING-online impossible to locate the u01/TEST/apps/apps_st/appl/fnd/12.0.0/java/3rdparty/stdalone/odi-sdk-invocation10g.zip file.

    Yes, the answer is a few lines in the journal as:

    You can safely ignore any warnings about missing metadata entries

    in JAR or Zip files are read to create appsborg.zip

    Best regards

  • MovieClips dynamically generated

    Hello

    I tried to dynamically generate some movieclips the method I've used does the following:

    use a loop to run according to movieclips how I want generated

    whenever the loop cycles it creates a new instance of movieclip

    Adds the new movieclip in a table

    use the addChild method to put the moveclip onstage

    draw a rectangle

    starts filling

    filling of the ends

    It adds to this movieclip

    I then use a conditional statement checking if the movieclip is the first element of the array

    If so it sets the current x MovieClips and there position to a selected value. the first movieclip is used for a starting point to align the rest of the movieclips generated.

    If not the clips x and y position are defined on the elements of the array x and position previos y current movieclips width or height + the gap I wish they have.

    then the cycle repeats

    Ive coded it using code from script and it works very well the forms appear on the stage without errors

    I tried to move this code off the coast of the chronology for a file and the code has no errors, but when it is running I don't see objects even if I followed it y x and y positions I don't see them on the stage

    Script code

    var mcArray:Array = new Array(); / / DEFINE ARRAY FIRST

    var randomNo:Number;

    var colorStr:String;

    var currentColor;

    var movieClip:MovieClip; / / TEMPORARY VARIABLE

    var prevMCx:Number = 0;

    var prevMCy:Number;

    function myFunc (): void

    {

    for (var i: int = 0; i < 200; i ++)

    {/ / FOR LOOP}

    movieClip = new MovieClip();

    addChild (movieClip);

    mcArray [i] = movieClip; / / This is where we add the movieClip references in the table for later use

              if(i == 0)

              {

    mcArray [i] .x = 0;

    mcArray [i] there = 0;

              }

              else

              {

    prevMCx = mcArray [i-1] .x;

    prevMCy = mcArray [i-1] there;

    mcArray [i] .x = prevMCx + Math.ceil (Math.random () * 100);

    mcArray [i] there = prevMCy + Math.ceil (Math.random () * 100);

              }

    randColor();

    mcArray [i].graphics.beginFill (currentColor, 1);

    mcArray [i].graphics.drawRect (0,0,100,100);

    mcArray [i].graphics.endFill ();

    mcArray [i] .alpha = Math.Random ();

    colorStr = null;

         }

    }

    External AS

    package com.mvc

    {

    import flash.display.MovieClip;

    import flash.display.Sprite;

    import flash.geom. *;

    import flash.events.Event;

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import com.greensock.TweenLite;

    import com.greensock.TimelineLite;

    /public class LibraryLayout extends MovieClip

         {

    public var boxHeight:Number; box height assigned to the main timeline

    public var boxWidth:Number; width of //box assigned to the main timeline

    public var objFill:String; / / fill color box ASSIGN in MAIN TIMELINE

    public var objStroke:String; / / ASSIGN stroke color box in MAIN TIMELINE

    public var layoutTotalItems:uint;

    private var _imgBoxes:Array = new Array ;// holds all the video clips generated loop.

    private var _tempMovieClip:MovieClip; / / the temporary Variable holds current loop [i] movieclip.

    public void LibraryLayout()

              {

    drawBoxes();

              }

    public function drawBoxes (): void

              {

    for (var i: uint = 0; i < 10; i ++)

                   {

    _tempMovieClip = new MovieClip (); Creates a temporary MovieClip

    addChild (_tempMovieClip); / / Adds temporary MovieClip to the stage

    _imgBoxes [i] = _tempMovieClip; / / temporary adds

    _imgBoxes [i].graphics.beginFill (0 x 000000, 1);

    _imgBoxes [i].graphics.drawRect (0,0,100,100);

    _imgBoxes [i].graphics.endFill ();

    //===trace statements, check if the feature does not.

                        If (i == 0)

                        {

    _imgBoxes [i] .x = 10;

    trace (_imgBoxes [i] .x);

                        }

                        else

                        {

    _imgBoxes [i] .x = _imgBoxes [(i-1)] .x + (_imgBoxes [i] .width + 10);

    trace (_imgBoxes [i] .x);

                        }

    _imgBoxes [i] there = 150;

                   }

              }

    public function tweeningSlides (): void

              {

              }

         }

    }

    I am very confused why it does not work if you need more details let me know

    If anyone can help me solve this problem, it would make my month!

    Right. I don't see where you

    addChild (libraryLayout)

    The LibraryLayout class extends MovieClip and if MovieClips are visible they need to be added to the display list.

    Only the document class is added automatically, but her children aren't.

  • Dynamically generate orders exp

    DB version: 10.2.0.4

    I'm dynamically generating export scripts. Ask 1 works very well for this.
    Because we do not have enough space in our area, I have to include gzip for each dumpfile coming to create. So, I did a UNION ALL as shown in query 2 operation. But it does not work because the second and the third query (with DOUBLE) cannot access column username from the first query with DBA_USERS.



    = The query 1 =.
    SELECT 'exp system/secret@fmprod BUFFER=10485760 owner='||username||' FILE=/data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.dmp LOG=/data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.LOG statistics=none consistent=y'  
    FROM dba_users where  account_status != 'LOCKED' 
    and username not like '%TEST%'
    AND username not in
    ('SYS',
    'SYSTEM',
    'OUTLN',
    'MGMT_VIEW',
    'MDSYS'  ,
    'DBSNMP' ,
    'WMSYS'  ,
    'CTXSYS' ,
    'SYSMAN',
    'ORDPLUGINS',
    'OWBSYS',
    'OLAPSYS',
    'ORACLE_OCM'
    ) 
    = Query2 =.
    SELECT 'exp system/secret@fmprod BUFFER=10485760 owner='||username||' FILE=/data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.dmp LOG=/data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.LOG statistics=none consistent=y'  
    FROM dba_users where  account_status != 'LOCKED' 
    and username not like '%TEST%'
    AND username not in
    ('SYS',
    'SYSTEM',
    'OUTLN',
    'MGMT_VIEW',
    'MDSYS'  ,
    'DBSNMP' ,
    'WMSYS'  ,
    'CTXSYS' ,
    'SYSMAN',
    'ORDPLUGINS',
    'OWBSYS',
    'OLAPSYS',
    'ORACLE_OCM'
    ) 
    union all
    select 'gzip /data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.dmp' from dual
    union all
    select 'gzip /data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.log' from dual

    Use a second select statement, but don't use Union al.

    Or copy it directly in the string.

    select 'exp ...' from ...;
    select 'gzip ... ';
    

    or

    select 'exp ...'
           ||chr(10)  /* on windows systems you might need to add ||chr(13) */
           ||'gzip ... '
    from ...;
    
  • Dynamically generated movieclip properties

    Hello

    I'm reading in the data to an XML file. Each attribute of a child is assigned as a property of a movieclip as shown in the related code. However, I want to do is don't have not not the property will have already decided names that I don't necessarily know how to attribute a child in the xml file. Is it possible to dynamically name properties according to what number attribute, they are...?

    Thanks in advance

    Greg

    Yes it's possible... :)

    the docs have an example related directly to it, using the method "attributes()" (with the ') you can return a list of all the attributes of a node object to give in the form of an XMLList object. then iterate through this object, you can use the 'name()' method to return the name of each attribute. as you do this, you can use operators to access to dynamically generate the properties of the object of MC, and then assign the values in the other table, as in:

  • To open this workbook, your computer must have a version of Microsoft Excel is installed and your Web browser must support opening files directly from Excel in the

    Im trying to open an excel file from a shared Web site, I used to be able to open them in Excel, when I used Internet Explorer, now all I see is the spreadsheet on a Web page, when I try to open the file in Excel (there is a tab that asked do you want to open in excel) I get a message "to open this workbook, your computer must have a version of Microsoft Excel is installed and your Web browser. must support opening files directly from Excel in the browser. »

    You have Excel installed?

    If so, can you use Internet Explorer for the Web site?

    As far as I KNOW, Microsoft is not an add-on for Firefox can be opened from Excel in Firefox. It may or may not work properly depending on whether this Web site uses a MIME type for files it delivers.

    Another way to handle that would be via Open Office or free agency; both are open source (free) that allows to display files XLS (Excel) , and both programs have a Mozilla browser plugin to allow Firefox to open the 'Calc' of these programs.

    http://en.Wikipedia.org/wiki/LibreOffice

    http://en.Wikipedia.org/wiki/OpenOffice.org > http://en.wikipedia.org/wiki/Apache_OpenOffice

  • Remove the library generated files?

    Is it possible to remove generated files in library of several libraries at once? I have about 30 libraries from 2015, I am about to archive but Id like to make them smaller so that they take up less space. Instead of individually open each library, is there an easy way to make a big batch at a time?

    N ° there is no batch processing. They must be open and then selected individually.

    Russ

  • You can convert a pdf file to an excel spreadsheet?

    You can convert a pdf file to an excel spreadsheet?

    Hi KrisBeck,

    Some third-party tools are available online to accomplish this task.

    Use your favorite search engine to find this file converter.

    Important: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • How to make a PDF to a Word doc file and an Excel doc?

    How to make a PDF to a Word doc file and an Excel doc?   Finally, I would like to combine Word and Excel doc doc. in a single PDF file.

    Hello

    You will be first to combine the word and excel doc sheet first to a single Document, may be you can copy and paste the content in the Excel file in the word do.

    Once you have done that you can use Word to PDF converters, you can download a program to do this or use an online service

    I usually use the following website http://www.pdfonline.com/convert-pdf/ which is free and is safe for me.

  • Failed to retrieve the file. The dynamic application file is not in the specified location

    Hi all

    We face below mentioned question when creating content for our portal application web center.

    I configured UCM correctly for my portal application by creating the connection of content in my application resources repository.

    Our Center web version: 11.1.1.8

    1st edition)

    Content Server request failed

    ErrorImpossible to recover the file. The dynamic application file is not at the specified location ('/ l01/oracle/middleware/user_projects/domains/Webcntr_domain/ucm/cs/weblayout/resources/wcm/custom/sitestudio/contentwizard/webcenter/contentwizard.hcsp ').     

    That's what I did

    In one of my portal page I added the content presenter by entering mode(ctrl+shift+e) contribution and in content configuration presenter window, when I clicked on the button "create Web content".

    It take me to my window to center of oracle and survey web content the above error. Here's the URL that I have in my browser

    http:// < hostname >: < portNumber > / CS/Resources/WCM/Custom/SiteStudio/contentwizard/WebCenter/contentwizard. HCSP

    Just to clarify, even I tried the same thing in the spaces of the web Center as well. I created a TestPortal, adding a page, and on this page when I add the content presenter and clicked on the "Create Web content" button, I get the same question.

    Please suggest me what could be the reason.

    Studio on the Site of 2nd edition) (11.1.1.8), I created all the required element definitions and definitions of the region and they are archived as well. And content of oracle web Center (UCM), I can learn all the definitions xml for these items. But if I want to change their definitions in the site studio, I do not get is it possible to see all the definitions element or definitions of region I created previously. is this kind of bug in 11.1.1.8? Since I was not facing this problem in 11.1.1.6.

    so can anyone suggest something for the issues mentioned above.

    Thank you

    Nassim

    Hello.

    WebCenterConfigure component of the Complutense University of MADRID is responsible for the creation of the contentwizard.hcsp in the folder you specified. Please check if it is enabled, or you will need to reset it.

    In any case no problem of migration, if WebCenterConfigure been activated before it doesn't have an impact, of the contentwizard.hcsp.

    Kind regards.

  • I'm trying to convert a pdf file to an excel file and I get a message saying that I am not connected to the internet, clearly I am connected.

    I bought the program to convert PDF files to Word, Excel, files etc.  I am logged in and try to convert a word file as an Excel file.  It shows that I am connected to my account, I guess, (it shows my name at the top) and I clicked the export file, choose the file to convert, click Excel in the box, to convert language was English, then click the Convert button blue.  It looked like it was working, then in seconds, said that I was not connected to the internet.  I tried to do this several times (on two different days) and get the same message, not connected to the internet.  I am connected to internet, I go to my browser and load anything.

    Thanks for any help!  I feel desperate to get this project underway.

    Check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • dynamically related files cannot be resolved due to an internal server error

    Hey there, I just worked through a Lynda.com tutorial on creating a Wordpress template in Dreamweaver, and I did everything to the T step by step.  I have set up a local server (mamp) before, but I've also followed this tutorial first to make sure that I was doing that well too. I followed the tutorial template Wordpress all the way until it was time to work on the CSS file.  When I went to 'discover the dynamically linked files' it gives me the error message: "linked files dynamically cannot be resolved due to an internal server error."  For the life of me I can't understand what is wrong for what I can fix it.  Without all the associated all files work that I just have to configure php files of header, footer, index, etc. is pretty useless.  How to understand what is the "internal server error" and fix it?  Help, please!

    Certainly, you should be able to view WordPress in Live View mode.

    I'm not creating this course, but I'm an author of lynda.com. If you are having problems with a course on lynda.com, go to contact us at the bottom of the page on the lynda.com website and select Customer Service & technical support in the menu drop-down of Department. It is best to do it from the course, with problems, preferably from the video where you encountered the problem. When you do so, the contact form is filled in automatically with details that will identify the course and where the problem arose. Fill in a brief description of the problem and it zap out of lynda.com.

    If lynda.com tech support people cannot meet this request themselves, they will transfer it to the author. You should normally get an answer within 48 hours, unless the author is not reachable for any reason any. Both the query is directly related to something demonstrated during operations, lynda.com provides technical support to all courses for the first two years after the publication, sometimes longer.

  • Export error records 'diagnosis package cannot be recovered from VMware vCenter Converter Standalone. "Error: could not generate file diagnosis of VMware vCenter Converter Standalone server.

    Hey, gentlemen!

    Trying to export logs from VMware vCenter Converter Standalone v 5.5.2 and this error occurs.

    "The package of diagnosis cannot be recovered from VMware vCenter Converter Standalone. "Error: could not generate file diagnosis of VMware vCenter Converter Standalone server.

    Can he save data to the file journal, but only coverter_gui newspapers, nothing else.

    Google search returns no results at all.

    What could be?

    OK, it is resolved after you restart the converter Services.

  • dynamically to files...

    Hello

    I'm used to working with dynamically linked files that can only be discovered by the server, such as PHP files, so I know how to set up a test server. In fact, I did several times.

    Recently, I started to work with Wordpress. At the same time I started having weird problems with the testing server.

    I have the following errors:

    Dynamically files cannot be resolved, because the site definition is not correct for this server

    * Dynamically files do not have can be resolved due to an internal server error.

    My test server is installed correctly, but Wordpress sometimes shows hundreds of dynamically related files and sometimes nothing at all. I have trouble dealing with this problem, because it defies all logic.

    I feel there is no other solution than to the default permalinks setting.

Maybe you are looking for

  • Need CD recovery for my Satellite Pro A30

    I lost my restore cd where can I get some I tried on the website and only place where I can find is on the site of toshiba Asia which is only compatible with the Asian version models

  • HP Envy printer range: margins

    I just bought a HP Envy inkjet printer. I installed all the software and printing fine only problem, is that the margin is too high at the head of the paper. How do you define at the top and bottom margins? I don't see anywhere to do it.

  • What is VISA?

    Hi guys,. I'm new to the community and LabVIEW. I met the term VISA much during this period. Currently, I am working on a project concerning VISAS. From what I understand, reading online, here, in the community and through the intermediary of NEITHER

  • Windows Media Player 11 with MP3 codec error

    Run Windows XP and Media player 11. I get an error when I try to listen to a song mp3 that says "audio codec is needed to play this file. To determine if this codec is available to download on the web, click Web help. "I downloaded and reinstalled WM

  • Computer is unstable to the multiple problems on Windows Vista

    Original title: failover my laptop is very unstable, how never juice I install norton anti virus and uniblue registry booster but I have still problems... I'm 2 Impossible to enter in my Start menu... sometimes I can't even find the start menu button