using Record statistics for session/Interface inside the package

Oracle DB / ODI.
I have a package starting with Interface.
In the second step, I want to know how many records has been inserted/updated the first interface. Let that say those numbers will be used on the second interface.
How can I do? Is it possible to access this information inside the package?
Something similar to SQL % ROWCOUNT in ODI?

Try this in variable refresh

Select to_number (< %="odiRef.getPrevStepLog("INSERT_COUNT")%">) + to_number (<%=odiRef.getPrevStepLog("UPDATE_COUNT")%>) of the double

Tags: Business Intelligence

Similar Questions

  • I'm trying to upload my site using ftp, but for some strange reason, the ftp server box becomes red, even if the name is correct. everyone knows about this problem?

    I'm trying to upload my site using ftp, but for some strange reason, the ftp server box becomes red, even if the name is correct. everyone knows about this problem?

    Hello

    I would ask to share with you the screenshot of the box which becomes red.

    Concerning

    Vivek

  • How to use &lt; C:when test... inside the column in the table of the ADF

    I use ADF table with two columns
    in the first column, I check the Type of document is doc type so I have to use commondlink to download this file, otherwise I need to display only text.

    to this I added
    * < c:when test = "{boolean ($favoriteType eq 'doc')}" > *.
    that does not work.

    Please let me know how to use < C:when test... inside the column in the table of the ADF

    < tr:column sortProperty = "favoriteName" sortable = "true".
    headerText = "#{res ['favorite.favoritename ']}" "
    width = "500" noWrap = "false" >
    < c: choose >
    * < c:when test = "{boolean ($favoriteType eq 'doc')}" > *.
    < tr:commandLink actionListener = "#{bindings.downloadFile.execute} '"
    Text = "#{row.favoriteName} '"
    Disabled = "#{!}" Bindings.downloadFile.Enabled}"/ >
    < / c:when >
    < c: otherwise >
    < af:outputText value = "#{row.favoriteName}" / >
    < / c: otherwise >
    < / c: choose >
    < / tr:column >
    < tr:column sortProperty = "favoriteType" sortable = "true".
    headerText = "#{res ['favorite.favoriteType ']} ' rendering ="true">"
    < af:outputText value = "#{row.favoriteType}" id = "favoriteType" / > "
    < / tr:column >

    Hello

    I do not see, you use a Table of the ADF, but I see that you use Apache Trinidad. JSTL is executed analysis of time then that JSF is to render time, that's why it does not work what you see. Trinidad is a part of tr:switcher, and you can try this. Note that it doesn't ' r allow to change components by rank.

    Frank

  • Creating user interface inside the transmitterPlugin.cpp

    Hi, I had two questions about transmitterPLugin. I am trying to create a plugin that will transmit data to the monitor of first source pro on an external device.

    transmit_UI.PNG

    (1) I use the MessageBox to create a normal window from the code above, but how to create a UI like premier pro has inside the function above? Is there documentation on creating interface user using C++?

    Or should I create a Javascript UI file that is used by the C++ plugin loading?

    (2) in the SDK documentation mentions this:

    transmit_other.PNG

    By clicking on the following call pass does not any useful information. I also checked on a previous post on this https://forums.adobe.com/thread/1179336

    Adobe explain please how can I get the suite to call forwarded to work. For example, should I create a video filter that, if the user adds to the clip, it should

    Send the entire timeline for external devices, how to use the SDK example files to achieve this? Should I export a Video_filer plugin and a plugin of the issuer or should

    Add the source code of these two into one? It would be useful to understand the workflow, since there is no examples related to this in the SDK.

    Thank you

    Since you have to scrub the timeline and see live results, plugin show is the way to go.

    The interesting part of your project, it's that you must return the frame for head tracking, even if there is no new image from Premiere Pro.  I agree that you need the while loop in a separate thread or process, so that it can continue to loop and manage the lead followed separately.

    SetupDialog certainly isn't the place to run a processing loop.  This is only a place to display the user settings and save them.  To the settings dialog box, you can use Windows or Mac API.

    During the ActivateDeactivate, you can manage physical access low level, and could be a possible place to redeploy a new priority processing thread that assumes the head track frames and handles.

  • The use of DAQmxWriteDigitalScalarU32 for write channels share the same ports?

    Hello

    I have a USB-6509 and NOR-DAQmx installed 15.5.1. Using the ANSI c api.

    Is it possible to create several independent channels that use different lines of the same port?

    DAQmxCreateTask("",&th1)

    DAQmxCreateDOChan(th1,"Dev1/line0:4","",DAQmx_Val_ChanForAllLines)

    DAQmxStartTask (th1)

    DAQmxCreateTask("",&th2)

    DAQmxCreateDOChan(th2,"Dev1/line5:9","",DAQmx_Val_ChanForAllLines)

    DAQmxStartTask (th2)

    ....

    and repeat for the following strings:

    Dev1 / line0:4
    Dev1 / line5:9
    Dev1 / line10:14
    Dev1 / line15:19
    Dev1 / line24:28
    Dev1 / line29:33

    So I can use DAQmxWriteDigitalScalarU32 to write to each task independently?

    for example:

    DAQmxWriteDigitalScalarU32 (th1, 1, 10, 0 x 1, NULL)

    DAQmxWriteDigitalScalarU32 (th2, 1, 10, 0 x 2, NULL)

    DAQmxWriteDigitalScalarU32 (th3, 1, 10, 0 x 3, NULL)

    ...

    DAQmxWriteDigitalScalarU32 (th6, 1, 10, 0 x 6, NULL)

    These tasks will interfere with each other because they use the same port, but are assigned different lines?

    If this isn't the case, I bits to the data, if the task/channel does not start at the Px.0 line?

    Thank you!

    Yes, as long as you use the same line on different channels, they must not interfere with each other for this reason, you can create a channel by line if you wish

    The reference to using the DAQmxWriteDigitalScalarU32 function:
    "A sample of the integer unsigned 32-bit unique, wrote to a task that contains a single digital output channel. "Use this format for devices with up to 32 lines per port.

    http://zone.NI.com/reference/en-XX/help/370471AC-01/daqmxcfunc/daqmxwritedigitalscalaru32/

    So yes, the DAQmxWriteDigitalScalarU32 can write on each task independently

  • Can I use an alias for parameter such as 'The value of parameter value VI' entry in the palette of models?

    I played with the example Veristand 2015 "Set model Parameters.vi.

    Is it possible to use a parameter alias as the input string to the function 'Set parameter 2D Array Values.vi'? I tried to do this, but get the following error:

    Error 307662 has occurred to define model Parameters.vi > NI_VS ModelManager ExecutionAPI.lvlib: NI VeriStand - Set parameter 2D Array Values.vi

    Possible reasons:

    NEITHER VeriStand: The node is not found in the system.
    =========================
    NOR VeriStand: Could not find expression of parameter

    I am convinced that the alias has been implemented in the system definition correctly.

    If not, what the point of having an alias for parameter? Model workspace calibration controls don't seem to be able to use them. Am I missing something?

    Thanks in advance for any help on this matter.

    The alias parameter access is just for reading.

    To write to the parameter, you ned to use control of Calibration of model or the model parameters Manager API. Alias as the parameter cannot be used to write.

  • Need to reference user PKID for frmPrint page inside the PLM_HOME\web\gsm\Print

    Dear all,

    We need to send the USER-PKID via the button "print" inside the PLM_HOME\web\gsm\Print\frmPrint.aspx, I'm trying to implement using the same suggestion inside this URL https://forums.oracle.com/message/11059357#11059357

    So I understand four under the namespace in the page of frmPrint.aspx side.

    < % @ import namespace="Xeno.Web.UI.Common.Utils"% >
    < % @ import Namespace = "Xeno.Prodika.Application" % > "
    < % @ import Namespace = "Xeno.Prodika.Services" % > "
    < % @ import Namespace = "Xeno.Prodika.Common" % > "

    Adding javascript to reteriving user PKID system, with outside of the header section.

    < script language = "javascript" >

    function GetUserPKID()
    {
    return ' < % = ((IUserService) AppPlatformHelper.ApplicationManager.ServiceManager [typeof (IUserService).). FullName]). UserContext.User.PKID% > ';
    }

    < /script >


    and then, we'll use it below inside the frmprint.aspx to open the new URL with UserPKID has been attached.

    newwindow = window.open ('http://vsvr-plmdev02.cpf.co.th/ICERPT/frmPrint.aspx?pkid= ' + SpecID +' & rpt = rptPackMatCoverSheet_Print & param = ' + Spec_id_list +' & UserID ='+ GetUserPKID(,),' height = 400 width = 200' ');

    But after restarting IIS, I found the error message as below

    BC30108: "IUserService' is a type and cannot be used as an expression.

    Can someone please help?

    Thakhor Srichantra

    Please use below to get the userID because it must use the VB GSM syntax:

    return ' < %="DirectCast(AppPlatformHelper.ApplicationManager.ServiceManager(GetType(IUserService)." (fullname),="" iuserservice).="" usercontext.user.pkid%=""> '; "

  • Use of scenario generated instead of Interfaces in the package

    Hello


    We can use the Interface nor the scenarios generated from the same interfaces in packages ODI. What is the difference between these two... ?


    Thanks in advance.


    Kind regards
    Nanan A H

    These are jobs in series or in parallel running.
    Synchronous - It is the task of sequential way
    Asynchronous - this is the work in parallel

    Thank you
    Fati

  • How to use a function inside the package?

    Hello

    You will need to convert weight unit of kilogram kips when filling out the weight values into a temporary table. In our database, schema there is a function called convert_units is available.
    How could I use this feature in my package? My package is also resides in the same database schema.

    Here, I pasted the function.
         convert_units
       (
         in_base_unit_id       NUMBER,
         in_conversion_unit_id NUMBER,
         in_value              NUMBER
       ) RETURN NUMBER AS
    CURSOR unit_cur IS
      SELECT *
      FROM units_conversion
      WHERE base_unit_id = in_base_unit_id
        AND conversion_unit_id = in_conversion_unit_id;
    unit_rec unit_cur%ROWTYPE;
    BEGIN
      OPEN unit_cur;
      FETCH unit_cur INTO unit_rec;
      IF unit_cur%NOTFOUND THEN
        unit_rec := NULL;
      END IF;
      CLOSE unit_cur;
      RETURN (in_value+unit_rec.pre_adjust_add)*(unit_rec.rate);
    END convert_units;

    Hello

    It seems that the first two arguments of this function are ID in the units_conversion table. If you know this id = 1234 means kilograms, 9876 means kips, then you can do things like:

    wt_kips := convert_units (1234, 9876, wt_kilograms);
    

    or

    INSERT INTO tmp_table ( ..., weight_val,                               ...)
           VALUES           ( ..., convert_units (1234, 9876, wt_kilograms), ...);
    

    I can't just look at the code which could be any valid ID. I'm not even sure of the order of the arguments. I hope you have instructions on how to use the function.

    If the function is in a package named pk_xyz (a different package to the one in which you call it), add the name of the package, like this

    wt_kips := pk_xyz.convert_units (1234, 9876, wt_kilograms);
    
  • pipeline function and type inside the package

    Hi all

    I'm sorry for the inconvenience, I tried to google my question before asking here...

    The question is:
    I can't compile type in the same package as my function in the pipeline?

    I have an example of a function in the package, everything works fine.
    CREATE OR REPLACE PACKAGE ZOO.pkg_cl_risk_eval  AS
    
    FUNCTION sample (p_date date, p_indicatorid number, p_ismodel number) return cl_risk_act pipelined;
    
    END;
    /
    
    CREATE OR REPLACE PACKAGE BODY pkg_cl_risk_eval is
    
    FUNCTION sample (p_date date, p_indicatorid number, p_ismodel number) return cl_risk_act pipelined IS
    v_obj cl_risk_type := cl_risk_type(NULL,NULL,NULL,NULL);
    BEGIN
    FOR e IN (
    select trunc(sysdate) as adate, 0 as cid, 0 as indicatorid, case when p_ismodel = 0 then 0 else 1 end as value from dual
                  )
    LOOP
    v_obj.adate        := e.adate;
    v_obj.cid            := e.cid;
    v_obj.indicatorid := e.indicatorid;
    v_obj.value        := e.value;
    PIPE ROW (v_obj);
    END LOOP;
    RETURN;
    end;
    
    end;
    /
    SELECT using function statement:
    select * from table(zoo.pkg_cl_risk_eval.sample(date '2011-09-30',4, 0))
    I can't compile type in the same package as my function in the pipeline?
    Currently, it is outside the package:
    DROP TYPE cl_risk_type FORCE;
    CREATE OR REPLACE TYPE cl_risk_type AS OBJECT
    ( adate date,
      cid   number(10), 
      indicatorid number(5), 
      value number(5)
    )
    / 
    
    CREATE OR REPLACE TYPE cl_risk_act AS TABLE OF cl_risk_type
    / 
    As far as I can read from this source, it is impossible, but this information can be updated.
    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:4447489221109

    Oracle version: 11g

    UPD:
    I'm sorry, I'm not paying attention... It is possible as noted in the response to my similar question:
    function in pipeline work in the package? (Oracle 11g)

    Published by: marco on December 15, 2011 07:40

    As the following State messages, my post was wrong. I withdraw without reservation.

    Published by: APC on December 15, 2011 15:30

  • How to use the validator for an inputtext inside the af: column

    Hi Experts ADF,

    Jdev version 11.1.1.7.0

    I created a datacontrol pojo based. And trained as a table in a jsf page. I have a column in which I have an inputText.

    Initially the inputText is a certain values as 0, 10 and 12 respectively.

    Now, I want the end user to change some values in this column and the validation range must be between 1 and 10000.

    But after using the validator if other lines have default values 0 then validation is triggered for all lines.

    Thank you

    AR

    Try to put the table in clickToEdit mode.

    Timo

  • How to use record group to insert data into the hierarchy tree?

    Hello

    I had a hierarchical tree in my block and I want to use the record group to display
    in the hierarchy tree, call david_tree. He did work for the code I try below
    and I think it might be that the create_group_form_query was wrong? or miss an order?


    DECLARE
    htree;
    rg_data RECORDGROUP;
    v_ignore NUMBER;
    BEGIN
    htree: = Find_Item ('tree_block.david_tree');

    rg_data: = CREATE_GROUP_FROM_QUERY ('rg_bank',
    "select name, short_name".
    || "from css_banks");

    -Fill the record with data.

    v_ignore: = POPULATE_GROUP (rg_data);

    -Transfer the data from the record group to the hierarchical
    -tree and bring it to display.

    FTREE. SET_TREE_PROPERTY (htree, FTREE. (RECORD_GROUP, rg_data);

    END;


    Thank you


    David

    David,
    You get an error with your code? Looks like you took your example code help Forms. I don't really see a problem with the code, but the forms example gives an example of how create the record group used by the HTree so the Receiver General may be the cause of the problem. When I used the HTree, I used the FTREE. Procedure ADD_TREE_DATA to fill the tree. When I started working with HTree I created a wrapper package to simplify the process. You can watch how I work with the HTree in a demo that I published called: forms and how to: create a shape of the HIERARCHICAL tree.

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

  • Create the user interface inside the menu effects Afte

    Hello

    Sorry my bad explanation, create, in a menu bar, a link to a script. It is posible integrate our scripts inside sequelae.

    Thank you

    the container for the regular scripts (traveled the file > Scripts menu) and for scripts ScriptUI (accessible in the menu window ) are declared and created differently, you can find more information here http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/aftereffects/pdfs/aft ereffectscs3_scripting_guide.pdf on page 7. Also on this page http://help.adobe.com/en_US/AfterEffects/9.0/WSD2616887-A41E-4a39-85FE-957B9D2D3843.html , you should find links to tips and tutorials on writing scripts, as well as examples.

    The main difference between the two is the this variable (where it is called outside of any function):

    -for ordinary scripts, he represents the script. You cannot add buttons to it directly, you must first create a window and add buttons to it;

    -to ScriptUI Panel scripts, he represents the Panel, and you don't need to create a window of your interface, as it already exists, simply add buttons/are/etc to it.

    edited for: better wording

  • With the help of QProperty for a label inside the list view

    Hello

    I wanted to assign the value of a label in the list view to a string QPROPERTY. I did it using Qt.myname = _app. QPropertyName. And Qt.myname attributed to label.

    It updates correctly during installation. But if I change the value, it is not updated within the display list, but working in another label that is outside the view of the list.

    It works for me

            ListView {
                property string myCppProperty: app.cppProperty
                listItemComponents: [
                    ListItemComponent {
                        Container {
                            id: listItemContainer
                            Label {
                                text: listItemContainer.ListItem.view.myCppProperty
                            }
                        }
                    }
                ]
            }
    
  • I am a professional designer. Can't use adobe cc for a person in the service of my clients?

    I was informed by the dealer adobe local to subscribe to adobe cc for the teams (and did for 2 years) , even though I am a professional () individual indicating that cc adobe for individuals is for non-commercial use only. I contacted the Office of adobe in Chennai (India) needs of the person in charge for the renewal of the permit also repeated that adobe cc for individuals is for non-commercial use only and that I need to renew my existing license of 'team' if I need to service my design clients. Can someone please clarify this myth? I read terms of use Adobe I have found no mention of the non-commercial use.

    Adobe cc for individuals is for non-commercial use only

    This is false. Looks like you spoke to evil trained, badly informed representatives of Adobe.

    All the Adobe license and plans can be used in trade, including individual and students and teachers.

    There is no need for the individual professions such as yourself to subscribe to a plan of teams, except if you need to use the features of teams for example centralized control of the account between a team of 2 people or more and 100 GB of Cloud storage per person.

Maybe you are looking for

  • GarageBand Jampack World Music Disc 1 do not install

    Hello, I bought all the Jampacks Garageband and all worked with the previous Garageband but when I tried to install it again on another computer, all of them installed except World Music Disc 1. He settled at first but in the end, it stops and it is

  • cancel the export of the signal at high level

    Hello I try to send a short pulse from a meter out to one of the three PFI consecutively. The lines are supposed to be 'high', when I change from one to the other PFI. When I export the signal, the road will remain active, which is not what I need fr

  • I can't 'add files' in the source control Explorer microsoft vsts

    I can't add files using option buttons more. I tried to repair VSTS/remove and add VSTS, nothing works.

  • Can't play YouTube videos via HDMI cable

    After you perform a search on this subject throughout this forum, I discovered most people go on wild tangents that are unrelated to the topic at hand. They can be fun; they can also be deep; but they are not answering my question. :-( Yesterday, I r

  • Can someone hack my phone even though I have Norton anti virus?

    Hey,. can someone hack my lap top if the person has my IP address? I have Norton Antivirus on my lap top. I also have firewall on. Someone told me that it can hack into any laptop he wants in a chat room and I fear that if he is able to hack mine.