As to generate a specific sequence using ODI.

Hi guys,.

I am new to ODI. Currently working on version 10.1.3.6. I have a question about the sequence generate using ODI.

I have a requirement to generate a drill_key based on values in other columns of 4. If the values are the same in the columns then drill_id must be repeated if combination changes new drill id should be generated. Can we achieve by using the sequence in ODI? See the tables below:

Any help is appreciated in this regard.

Current table

Nominal CC CARS File_id Transac_id Drill_id

-------------------------------------------------------------------------------

A         B         C         10              1

A         B         C         10              2

A         E         F         10              1

A         B         C         10              3

A         E         F         10              2

Want to fill as below

Nominal CC CARS File_id Transac_id Drill_Id

-------------------------------------------------------------------------------

A         B         C         10              1                  100

A         B         C         10              2                  100

A         E         F         10              1                  101

A         B         C         10              3                  100

A         E         F         10              2                  101

Yes, he does. In fact, it will work in all you want. This is a pretty cool command that helps a lot

Tags: Business Intelligence

Similar Questions

  • How to generate the password encoded using agent in ODI?

    Hello

    I've created a scenario and I plan to them. Now, I want to create an autonomous agent to run this scenario. To do this, I update odiparams.bat file where I am mentioning the details of the repository. I want to generate the encoded password repository connection using batch processing utility officer. After you type following command at the command prompt in windows xp:
    agent to encode the password
    Failure of the sound connection password invalid username error display.

    What should do? How to generate the password encoded using batch agent utility?

    Thank you
    Shrinivas

    Published by: Shrinivas Dayma on 13 Aug 2011 02:03

    Hi Shrinivas,

    This command is for ODI 10 g.

    For 11g,.

    Encode

    Thank you
    Guru

  • Sequence used for a wizard generated form

    Hello

    I have a page that includes a form wizard generated.
    In the process of section there is a process named MRU apply which performs the operation to update DML on the base table.

    The primary key column is getting updated through a sequence, but when I look at the details of the process apply MRU I can't understand what sequence is used.

    How can I go to find out the sequence used to this primary key column?


    Thank you
    Dippy

    Hello

    Then you've got after him would process created by the wizard who is looking for the next sequence number.

    BR, Jari

  • Generate a unique sequence number

    Hello

    I need generate a unique sequence number. I use Oracle 11.2, here are the details. The idSeq column is specific idType a unique interior. I don't want a sequence for each idType.

    create table tb_test (idSeq number (5), number (5) idType, addr varchar2 (256));

    insert into tb_test
    (to select when idSeq is null then 1 another max (idSeq) + 1 end, 3, "Main street");

    I have an ORA-00937: not a single-group function error, any suggestion?

    Published by: 939569 on February 13, 2013 11:21

    Hello

    939569 wrote:
    Hello

    I need generate a unique sequence number.

    Explain what you're trying to do, and why won't a sequence.

    I use Oracle 11.2, here are the details. The idSeq column is specific idType a unique interior. I don't want a sequence for each idType.

    create table tb_test (idSeq number (5), number (5) idType, addr varchar2 (256));

    insert into tb_test
    (to select when idSeq is null then 1 another max (idSeq) + 1 end, 3, "Main street");

    I have an ORA-00937: not an error of a single group group function,

    Right. Given that the subquery uses an aggregate function (MAX), all in the SELECT clause must be an aggregate, a group of expression, a constant, or something that is entirely up to them. In this example, the CASE expression depends on idSeq, which is not an aggregate, not a group by expression (there is no GROUP BY clause) and not a constant.

    In addition, the subquery must have a FROM clause. All queries and subqueries in Oracle require a FROM clause.

    any suggestion?

    Use a sequence. The numbers are not consecutive in each idType, but matter? Chances are, no matter what you do, you will not be able to maintain consecutive numbers within each idType anyway.

    If you do not use a sequence, then you can try:

    INSERT INTO  tb_test (idSeq, idType, addr)
    SELECT  1 + NVL ( MAX (id_seq)
                  , 0
              )
    ,       3
    ,     'Main street;
    FROM     tb_test
    WHERE   idType  = 3
    ;
    
  • generate the debug sequence diagrams in JDev 11.1.1.2.0

    Hi I'm new to JDeveloper.

    How can you generate diagrams of sequence of the debugger? I did some googling pointing me to "Debug with diagram" but I don't see any diagram. I looked at this demo: http://www.oracle.com/technology/products/jdev/101/viewlets/101/sequencemodelerdebugging_viewlet_swf.html

    After the demo, I also created a file of sequence diagram, but I can't find an option "Connect to Debugger", and the demo used Jdeveloper 10 g. But mine is 11.1.1.2.0.

    The secrets I should know? Thank you!

    It turns out that the feature has been removed in this version of JDeveloper. (we forgot to remove the menu option well - I'm this bug).
    For the record can you tell us what exactly you were designed to do?
    Are you interested in generating a sequence for a specific method diagram? or you really interested in creating a diagram to get the procedure specific debugging?

  • Generate a binary sequence with the NI USB-6008

    Hi all

    I'm new to LabView and I am trying to generate a binary sequence with a box NI USB-6008. The sequence, I'm currently generate is a counter of 5 bits, i.e. 00000 00001 00010, 00011... 11110, 11111 placing each bit in a different digital IO of the of the 6008 NOR, so that I can use the County as the bits of selection in a decoder/demux.

    I managed to simulate the binary sequence and produce a graphical interface, but I have not found how to generate the sequence of bits with the NI 6008.

    Totally, I'd appreciate any help you could provide. Thank you very much.

    Hi JosephM,

    Good Afternooon and I hope your well today.

    I just tested the code on a 6008 and also released the above code is very complex - I was for some reason any fixed on using Boolean tables.

    Please see the attached code, in LabVIEW 8.6.

    Mind you, I have configured the task as a channel for all lines. i.e. digital single I spent, is the task value should apply to all channels selected in the entry. So if you select only port0/Dev8/$line0 for example, the DAQmx driver will examine the LSB of the digital and work so $line0 must be true from the false. It will NOT update all other channels. So when I select line0:4 - it will update the first 5 lines (bits) in digital. As the code generates a number from 0-32 he emotional generates 00000 to 11111.

    I hope this finds you well and sorry for the first post!

  • Adobe Media Encoder CC won't let me import a specific sequence of Premiere Pro

    I'm on a trial version of Adobe Media Encoder CC. I try to import a Premiere Pro sequence (I have an old version 2.0) and it won't let me choose a specific sequence within the project, it will let me only import the first sequence. The dialog box sequence which is supposed to open when I select 'Import first Pro Sequence' under 'File' does not, let me only to select a project and will then automatically import the first sequence for this project. The box in the preferences for "Import sequences of natively" under Premiere Pro is grayed out and I can't seem to change, which is what I apparently have to do to activate dynamic links. However, I think that it is possible that either the trial version doesn't let me do, or my first version is just too old and there is a mismatch.

    You must have a newer version of Premiere Pro to use dynamic linking.  The versions of Premiere Pro and SOUL should be of the same generation.

  • Spool file CSV/Excel/text using ODI

    Hi all

    I'm working on the ODI 11 g.

    We have a few packages of reports that we intend to implement in order to provide charges for numbers of campaign as follows:


    Number of campaign



    Name of the campaign



    Name of the product



    Start date



    End date



    Total leads of CCC



    Sales



    %Sales/RPC



    CPP



    DNC



    LON4T





















    IND01




















    So, basically, we need to be rolled up an excel file or csv file or a text file by running a daily procedure oracle data integrator. We are working on the request, but need to understand how an exportable excel file
    using ODI.

    Can you please provide me with an idea to see how an ODI package be used to generate an excel file with above mentioned column values?

    Thank you

    Hi lony ,.

    There is this blog post from Julien Testut-Oracle : https://blogs.oracle.com/dataintegration/entry/using_microsoft_excel_as_a_sou

    It is 10g but still applicable in 11g.

    You can also take a look at this driver JDBC of ODIexperts.com: ODI_JDBC_EXCEL - ODIExperts.com

    Kind regards

    JeromeFr

  • generate a different sequence for 32 different warehouse...!

    We have around 32 different warehouse where the materials are stored...

    I need to design a form that I generates a different sequence number for the materials stored in 32 different articles home
    ex
    name:suhail
    pwd:123
    warehouse: America
    Now after i login i want to generate a  sequene number only for america's ware house say 21001
    
    name:ANDREAS
    pwd:345
    warehouse:France
    
    for this user the sequence number generted  should be different  say some thing like 31001
    can someone help me with this :)

    Published by: Chase Suhail on October 2, 2010 22:37

    I still prefer to use a "real" sequence Lets assume that your seuqneces are appointed as SEQUENCE_.

    Create a stored procedure in the database, as

    FUNCTION FK_SEQUENCE_FOR_WAREHOUSE(i_vcWarehouseCode IN VARCHAR2)
    RETURN NUMBER IS
      nId NUMBER;
    BEGIN
      EXECUTE IMMEDIATE 'SELECT SEQUENCE_'||i_vcWarehouseCode||'.NEXTVAL FROM DUAL'
      INTO nId;
      RETURN nId;
    END;
    
  • Cannot load data into Essbase using ODI

    Hi guys,.

    Help help. I have problem loading data into essbase using ODI. The error message is
    java.sql.SQLException: unexpected token: ACCOUNT in the statement [select C1_ACCOUNT "" account]

    I have a very simple flat file that are similar to the below:

    Account, resources, time, data
    Active, Na_Resource, Jan, 10
    Active, Na_Resource, 12, February

    With the same flat files, I am able to load data to load rules.


    I use 9.3.1.0 and ODI 10.1.3.4.0 essbase. I use the ODI to load members and data in the planning without any problem.


    Thank you

    Hello

    It seems to generate an extra set of quotation marks around the SQL, in my interface it generates.

    SQL = "" "select C1_ACCOUNT 'Account', C2_PERIOD 'Period', C3_RESOURCE 'Resource', C4_DATA 'Data' of the" C$ _0TestApp_testData "where (1 = 1) «»

    Note the single quotes around the account.

    If you go to the topology Manager, on the tab of the physical architecture, right-click 'Hyperion Planning' > 'change '.
    Select the "Langugage" tab for the "JYTHON" line, make sure that the "Object Delimiter" field has no quotes, if it's remove and apply and save.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Perform a sequence using the new method of execution

    Hi ppl,

    I use the Engine.NewExecution method in LabVIEW to perform a sequence using sequential process model. I have been successful in this attempt.

    Now when I tried to pass arguments to the sequence with this method I could not do

    From the help file, I found to pass property to the sequenceArgsParam in the Engine.NewExecution. I used the Engine.NewPropertyObject to create a new property object. My problem started here. I was not able to define the parameters for the property object I created. When I created an object of type container property, newExecuion method returned an error indicating that the type is the string even if the setting for my sequence was a container. When I created a method of setValString string property object returned error saying unable to find settings where the look of string upward was parameters.x

    Please help me some body. I'm stuck with this upward.  can someone give me an example of program that passes parameters to the sequence when running via the NewExecution method.

    Hello

    It is not the Engine.NewPropertyObject method to pass parameters

    I used to sequence method before running the sequence

    try to replace the step Engine.NewExecution of this VI

    the values are in a cluster table: parameter is the name of the parameter in your sequence, the value is the value to pass

    A2

    Note 1: there is only the string in this VI, it is possible to change with integer...

    Note 2: If you have a container, the parameter name is "container". "" The name of the parameter.

  • Is 12.2 OPA or 12.1 - possible to generate the specific WSDL in 12.1/12.2?

    I recently moved from 10.4 to 12.1 and wanted to produce a 'Specific' than 10.4 WSDL. I saw no option to generate the "specific"WSDL on the hub of the takeover bid." Is this possible?

    The specific WSDL does not currently exist in the OPA v12.x.  Also note that adding a name to an attribute does not availability of web service in v12.x OPA - to the response service, this is now done by explicitly mapping of a data connection attributes, while for assessment services and maintenance, all attributes are available.

  • In the mapping of an interface using ODI procedure

    Hello

    Yesterday, I asked question how will you use ODI procedure in the mappings of an interface for complex operations on the fields?

    I don't know if this can be done in ODI.

    Any help on this would be helpful.

    Kind regards

    Mahesh

    Don't forget the basic principle of procedure and function.

    Now coming to your question, first of all to a large no second thing its an impractical and immature question to ask someone to use the ODI procedure in the mappings of an interface for complex operations on the fields. (Or maybe issue was something and you wrote something. Too bad)

    The main reason for the ODI process must allow group of actions that do not fit within the Interface and considered that when something can be achieved with the interface. She's. I always encourage to turn against the interviewer in such circumstances.

    What should have been the question is if we can use the DB procedure in the interface mapping. Answer is that it depends. I can use the phases of analysis to write some java-based codes to call a db procedure. But this isn't for my fields from the source to the complex functioning and codes based on java will be isolated from each other.

    For a complex operation, you use a function that can be called without flaw inside the DML and DQL statements. Inside the function, you can use as many procedure to do the massage/validation/transformation.

    Chantal

  • Automation and scripts data flow using ODI API AND SDK in Oracle Data Integrator (ODI) 11g

    Hi team,

    We have a requirement of scripts and automation of stream using ODI API and SDK. The requirement must use source ODI API and SDK to target cards in Excel (mapping map) is read and can use the SDK to create interfaces for Excel sheets. I am a novice to Groovy and Java script. Please help me on what should be the approach.


    I am able to create individual objects of ODI as 'Projects', 'Models', 'Interfaces' and 'Packages' by using the 'Groovy' editor that comes with ODI 11 g.

    Thank you very much in advance!

    Best regards

    Dos Santos.

    Take a look at the post by Dave Allen who will in the sense of what you're trying to achieve:

    https://blogs.Oracle.com/warehousebuilder/entry/odi_11g_interface_builder

  • OBIA customizing financial analytics using ODI

    Hi Experts,

    I am new to Analytics(Source EBS R12) finance OBIA, we do customization using ODI. Could it please any one analytical financial documents hand to OLIVIER. Thanks in advance.

    Thank you

    REDA

    Hi Pratiak,

    Thanks for your quick response, I had crossed this documents. This URL is very useful. Thank you very much.

    Kind regards

    Riadh

Maybe you are looking for

  • How can I reinstall an update of safari?

    How can I reinstall an update of safari?

  • Satellite C660D - 15 X - overheating and slow

    My Toshiba C660D became very slow responding to orders. The fan is constantly on. I downloaded SpeedFan app and it shows the GPU at 81 degrees Celsius and 80 Core... All the updates installed to date. I thought that maybe it's a few problems with the

  • Read channels alternately on the Agilent data logger

    Hello world I'm finalizing a code. I remotely control my Agilent 34970 and I want to read channels one after the other. I have an actuator in the device that is also controlled to close and open channels. The actuator channels are 201, 202... 220 Cha

  • LVOOP

    Hello, I started re writing a parallel of my current project. This time using lvoop (new to me) something that is not clear for the sake of the moment communication interface: I have several devices with rs232, gpib or nothing. I have to considerate

  • Group residential questions - fixit invalid or expired

    Tried to download a Fixit to homegroup problem, but when the fixit runs I get a message that troubleshooting is invalid or expired and offers the download of a current versiod? Original title: fixit invalid or expired