Passing parameters in building of visu/dimension

Hello

I managed to load data by providing the names of Applilcation.Database directly in the script. Now, I want to try to load the data from the settings.

For example

MAXL > import from database ' $1 '.' $2 ' data of data_file ' / 2007-01 - 01_bop.txt'.
using the server rules_file 'dl_bop.rul' to load_buffer with buffer_id 1 in case of error, give up.

I like tips on how to attribute this to the application.database parameter, and where we have this code and how to call this code.

why we go for this kind of method. In which case, we find the use of this method.

Please give me your entries.

Thank you all in advance...

Kind regards

Upendra.

You can also put them in the shell or calling a batch script. As Manohan says it's good for the repetative tasks. as close applications or changing variables. I have a script to stop applications, I just pass the name of the application and stop. my shell script loops to get all the names application

Tags: Business Intelligence

Similar Questions

  • Passing parameters to an aggregator

    I use an aggregator for the treatment of some data in my group, but this process is based on a 'context '. For example, an aggregator needs to know what tenant and that the user running the aggregation.

    To switch the context to the aggregator I use a member of the class serializable on the aggregator class as follows:
    public class MyAggregator<D , R> extends AbstractAggregator {
    
            /**
             * This is the accumulator / aggregator. It is transient to avoid passing it to another cluster member
             */
         private transient Map<String, List<R>> aggregators;
    
         /**
          * Identifier of tenant. It should be pass it to all the cluster members
          */
         private String tenantId;
    
         /**
          * Username. It should be pass it to all the cluster members
          */
         private String username;
    
            // Rest of the aggregator
    }
    In my first draft, I was setting the 'context' (lessee/user name) using the constructor of the aggregator, but when I ran this aggregator I got a NoSuchMethodException because my class did not have a parameterless constructor. In my second version, I added the No.-args constructor, but now I get a NullPointerException because my tenant/username are null.

    So, here are my questions?
    * Why consistency must be a no.-args constructor in the aggregator? I expect consistency to serialize my aggregator (with all members of the serializable class) and then pass it to another Member of cluser. So why he needs to build a new aggregator? NOTE: If you see my sample code, you will see that the aggregator is actually transitional to avoid passing to another Member of the cluster (I got this from the book Oracle coherence 3.5 by Seovic Aleksander).

    * If this does not work... How can I pass parameters to my aggregator? I can't launch the aggregator of way 'anonymous '... Items to aggregate depends on the tenant and the user.

    Thanks in advance,

    Hello

    Take a look at com.tangosol.io.pof.SafeConfigurablePofContext
    It is an extension of the Pof default serializer which will be help for Java serialization if the object does not implement POF.

    PS
    I designed AutoPofSerializer with exactly your case in mind - reporter writing for the large model serialization logic field - compared to SafeConfigurablePofContext he must offer the best space efficiency and performance.

    Kind regards
    Alexey

  • Faced with HTML5 - only may not even pass parameters to the script .jsx

    I am really struggling to get acquainted with HTML5 and the conversion of my existing extension.  A general request first - what are the best resources to help a general grounding in HTML5?

    Now a specific question.  In the default example functions in the .jsx are all processed in $._ext_.  What is the purpose of this?  How do you pass a parameter in a function that is defined like this.  Now, I'm trying just to pop up an alert with a parameter passed.  I tried many things, but here I am:

    In my index.html file, I have a button:

    < li > < button class = "default" id = "btn_LoadPresets3" onClick = "wizClickButton('10')" > myFunction < / button > < /li >

    In the ext.js script, I have a function which gets this:

    function wizClickButton (inParam) {}

    Alert ("press me" + inParam);

    var csInterface = new CSInterface();

    csInterface.evalScript ('myFunction2()');

    }

    In my script .jsx, I have the following function:

    function myFunction2()

    {

    Alert ("Yo");

    };

    Now - when I run this and press the button, the first alert box shows and shows me my parameter ("press me 10" in this case).  But that's all - so the function in my script .jsx never gets called.  I don't know why.  So - I look at the example functions and they are all preceded with the $._ext - I change the function in my script .jsx for:

    $._ext_myFunction2 =

    {run: function() {}}

    Alert ("Yo");

    }

    };

    and modify the ext.js call to call the same

    function wizClickButton (inParam) {}

    Alert ("press me" + inParam);

    var csInterface = new CSInterface();

    csInterface.evalScript (' $. _ext_myFunction2.run () ');

    }

    So now, when I run it I get the second alert box.  Everything is good.  Only how I pass my parameter down in the script .jsx?  Where the parameter is both the definition of the function and the call to the function?  That brings the ._ext_ $ to the party?  Why not my definition of the standard function without the ._ext_ $?

    Many thanks in advance,

    Richard

    Hi Richard,

    I first suggest you use reusable code David Deraedt (and not Extension Builder, which treats the $. useless _ tips): davidderaedt/CC-EXT-SDK · GitHub. I don't know why you get the error: I don't use $._ext_ me so it shouldn't be a requirement.

    You can find a few first aid signs in my HTML signs quick tips. You will also find the way to pass parameters of JS-> JSX (as simple or complex objects parameters) and vice versa, JSX-> JS

    HTML: personally I found useful tutorials on www.tutsplus.com (HTML, JS, etc) but I guess there are a lot of free resources out there (the one that comes to mind is a A Practical Guide to HTML & CSS - learn how to build Web sites, Apple made one too Safari Web content Guide: HTML Basics).

    Concerning

    Davide Barranca

    ---

    www.davidebarranca.com

    www.cs-extensions.com

  • Is it possible to pass parameters through eventlisteners?

    Hi all!

    Inside of a .fla file I have a few buttons, and each button will be tween a different image to the scene. All images are off the stage in the same x and position there and I just need to interpolate the coordinate x.

    Now, I am working with a document class external where I'm holding all my features and I'm stuck with interpolations. I'm willing to stay away from the tween flash engine and I'm working with tweenLite.

    My question is: is it possible to pass parameters through eventListeners so I can use something like this inside my docClass?

         public function animeThis (e:MouseEvent, mc:MovieClip, ep:int):void { //ep stands for endPoint.
         TweenLite.to(mc, 2, {x:ep});
         }
    

    If possible, how can I write the listeners if it's going to pass the event to be listened to AND these settings? And how to build the function so it will receive these settings and the event?

    If this is not possible, what is the best approach to do this?

    Thanks again!

    Hey Rafael,.

    Oh, it's too overwhelming to use a function to pass parameters to another function?

    It's completely legitimate way of dealing with things. Your original question was about passing additional params with the events - that's why I responded with the example of the custom event.

    Much depends on the needs of the application and architecture.

  • pass parameters to treat the flow of pl / sql block

    Hello

    I integrate with Warehouse Builder 10.2, a process named PF_1 flow and a PL/SQL procedure that calls this workflow process using the WF_ENGINE API.
    This process flow, call a large number of mappings of Warehouse Builder. The question is, if I can pass a value get in the PL/SQL block for the process flow and then use it for calls of mappings.

    Example:

    DECLARE
    w_value INTEGER.
    BEGIN

    -Get the value that I need to go to deal with the flow, but I don't know how
    SELECT column1
    IN w_value
    FROM table1;

    -Start the process
    WF_ENGINE. LaunchProcess ('PF_PACK ',' PF_CALL_01 ',' PF_1, 'PF_CALL_01', 'OWB102');

    -Commit final
    COMMIT;

    END;

    Thank you in advance.
    Francisco F.

    Published by: franciscof on Apr / 03/2009 0:06

    Hello

    Have you seen the script below to run any object OWB, including process flow:
    owb\rtp\sql\sqlplus_exec_template. SQL
    in the installation.

    This use and API that has an example of using here;
    http://blogs.Oracle.com/warehousebuilder/2007/07/publishing_process_flow_as_a_w.html

    You can pass parameters to it and bind the mapping of input parameters for process flow settings to the settings, this might help:
    http://blogs.Oracle.com/warehousebuilder/2009/01/process_flow_parameters_1.html

    See you soon
    David

  • How to run and pass parameters to the exe file in the txt file.

    Hello

    I am facing problem with passing parameters in the .exe file, which is run by labview.firstly that I have script .txt with the settings that I have to go to the .exe file. This .exe file is also a software, and this script is written for her. And now I have to create program in labview which should satisfy the following points.

    1. I have to use a button named "Run script". If I pressed the button, it should open the browser where I can choose the script .txt file.

    2 .exe application is expected open(Path already chossen).

    3. After passing the .exe application settings should be closed.

    4 and labview should now update its parameter

    I just open using Exce.vi .exe file, but I didn't get any idea to do more than this.can someone please help me?

    Thanks norbert. CAN I love it? What should I change now? VI attached below...

  • Passing parameters to dynamically loaded screws

    Hello

    I have a data acquisition application that uses an analog input, PCI-Hardware.
    With this material I enjoy different channels and display them in audio
    In operation 'Preview' I enjoy 4 channels and display them in 4 audios.
    I have therefore a quarter of the maximum sampling for each channel.
    Operation 'zoom' I only enjoy a channel (at the material max sampling rate)
    and display the data in the selected channel (the other channels are igored in zoom mode)

    My idea is to launch the different screws according to the mode (overview, zooom).
    I could imagine, that a good approach to perfom this task calls different screws
    of the main program.

    Unfortunately, I do not understand how to pass parameters to the VI if I call them
    using knots "reference open VI", "call for reference" and "close reference VI.
    I tried to understand the Labview "Example of dynamic load", but it's too complicated for me.
    Can someone give me a simple example to dynamically load the screws or y at - it white papers
    or nugets on this topic?


  • Passing parameters using ADR - 404 error

    Hi all

    I'm all new development APEX. We use the DEPT tables in the sample application oracle provided for practice.

    We currently use ADR to pass parameters, but it does not work as expected, or at all. We receive a 404 when you try to run the page.

    Objective: User enters number of Department for an article and a 'Change' event (or "lose focus", we have not yet decided) on a dynamic action fills the name field with the name of the service dept.

    Has anyone else got this error?

    If there is another method recommended, please let me know.

    Thanks for your time.

    Thanks for the answers, but we have understood the question.

    We have changed the JavaScript code as follows:

    $.getJSON ("https://apex.oracle.com/pls/apex/mfajertest1/department/"+ $x value ('P2_DEPT_NO'), function (json))

    {

    Console.log (JSON);

    $x('P2_DEPT_NAME').readOnly = false;

    $x('P2_DEPT_NAME').value = json.items [0] .dname;

    $x('P2_DEPT_NAME').readOnly = true;

    $x('P2_DEPT_LOC').readOnly = false;

    $x('P2_DEPT_LOC').value = json.items [0] .loc;

    $x('P2_DEPT_LOC').readOnly = true;

    });

    Thanks for the effort.

  • Anyone know how to pass parameters of taskFlow entry in MultitaskFlowBinding?

    How to pass parameters of taskFlow entry in MultitaskFlowBinding?

    While we might get these within regions in multiTaskFlow Binding input parameters.

    Check -http://www.awasthiashish.com/2014/08/create-taskflow-and-region-binding-at.html

    Download and view the sample application, it shows how to pass inputParameter using a HashMap for multiTaskFlowBinding

    Ashish

  • Passing parameters to the URL - availability in the new process of request

    Hello

    I am able to pass parameters in the URL of the APEX that defined the points of the application as below

    : http://application-tier server: port/pls/apexdev/f? p = 1001:1:APP_CLIENT_NUMBER, APPLICATION_NUMBER:0001285, 0000051:

    I would like to get and set other items based on elements of application passed as parameters. I would like to only enter once application.

    I found the best place for this action in a process of application with Point on new Instance of Process.

    The problem seems to be that the value of point of application has not been set at this point, and therefore the values are null.

    If I change the application process process Point to something that runs to each page as On Load: after the header, then the values are available. It is not suitable as only wish to run once at startup of the application.

    I can't find discussion of this documentation.

    1. I would be able to access URL parameters in the application process with Point on a new Instance of the process?

    2. are there any other equivalent task for access to URL parameters at the start of the application?

    Thank you

    Hello

    APEX runs only on the new process Instance when a new session has been set up. As you discovered, URL items are not yet saved in session at this point State. You can use a level app process before header instead, with a condition that makes that make it run when certain elements that you want to initialize are null.

    Kind regards

    Christian

  • Passing parameters to the named method built-ins

    Hello

    Can I pass parameters with the "named" built-ins in forms 6i or another method?

    I tried this

    OPEN_FORM (FORM_NAME = > ' C:\Users\Roma\Desktop\NATIONAL TECH.) FMX');

    but failed ' wrong number or types of arguments error.»

    The name of the parameter is FORMMODULE_NAME in this version of the signature of OPEN_FORM.

    (Do not know why the parameter has different names in different versions of signature)

    Try

    OPEN_FORM (FORMMODULE_NAME => ' C:\Users\Roma\Desktop\NATIONAL TECH.) FMX');

  • Navigation after passing parameters to ADF via URL

    How you exit a page after passing parameters via a url as in the method in this link https://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl?

    I tried to drop this delimited task flow on adfc-config and adding a flow of control to another opinion, but I can't seem to access my opinion of this workflow call.

    In other words, I can call the workflow bounded through a url and pass it a parameter, but once it is posted I can't go to my other point of view.

    How can I do this?

    Thank you

    If you use a wildcard of navigation in the unlimited workflow as shown here https://tompeez.wordpress.com/2013/06/18/jdeveloper-navigation-after-return-from-bounded-task-flow/

    It should work.

    Timo

  • PowerCLI pass parameters

    Hello

    I want to pass parameters to my scriptblock in invoke-vmscript

    $a = "Hello".

    = {} Scriptblock

    Param ($Outside)

    write-host "Hello".

    $b = $outside

    }

    invoke vmScript - vm VM - GuestCredential Hello - ScriptText $ScribtBlock - arguementlist ($a)

    The ScriptText parameter requires a string not a script block in the direction of PowerShell.

    Substituting the parameters becomes much easier this way

    param(
    [string]$port,[string]$creds)
    
    $scriptblock= "{
    `$url=http://localhost:$port/ write-host `$url}
    "
    Invoke-VMScript -VM VM -GuestCredential $GuestCredential -ScriptText $ScriptBlock
    

    Note how you can use the escape character (backtick) to spend the dollar sign

  • pass parameters to the pop-up window using skillbuilder

    All,

    I have a request of dynamic content on page 1 and for some lines ive the pop-up link another page and pass the EMPID clicked on page popupped. Ive created the link and its popping up the second page correctly, but how I have the pass of the EMPID per second / page popup?
    part of query in page1 like this,
    htp.p('<td><a href="#" class="show-summary" onclick="return false;">'||cursor-id.EMPID||'< . . . . . 
    Thank you.

    Gor_Mahia wrote:
    Jorge,

    IAM but perhaps not very clear what you did ive tried it before, but it losses the modal pop-up window and navigate to this page, I really try to have my modal popup window. Look at my request below,

    You just described a completely different problem from that of passing parameters modal page.
    Just add a more real Action "Cancel the event" after the action of modal Page.
    What that will do is replace the click of the anchor who want to access the link HREF.

    Thank you
    -Jorge

  • HashMap allows to pass parameters? -Jdev 11.1.2.3

    Hello:

    In a managed Bean, I created a HashMap and generated accessors.

    private HashMap < String, String > hm = new HashMap < String, String > ();

    In EL, I refer to the HashMap with something like:

    #{Test_Hashmap_Bean.hm ['overdue_key']} which returns the value and works well.

    The Get accessor of the Bean inside, how can I determine which key was used to return the value? In other works, I need to know that 'overdue_key' was used to get the value of the Get accessor.

    How can I detect it?

    I'm trying to simulate passing parameters to a java method of EL.


    Top of page 34 of the Oracle Fusion developer's Guide, Frank mentions it is possible, but gives no details. Can anyone provide an example of using a HashMap pass a parameter to a java method of EL?

    Thanks for the help.

    Class MyHashMap

    import java.util.HashMap;
    import java.util.logging.Level;
    
    import oracle.adf.share.logging.ADFLogger;
    public class MyHashMap extends HashMap {
        private static ADFLogger logger = ADFLogger.createADFLogger(MyHashMap.class);
        private static final long serialVersionUID = 0L;
    
        public MyHashMap() {
            super();
        }
    
        public MyHashMap(int i) {
            super(i);
        }
    
        public MyHashMap(int i, float f) {
            super(i, f);
        }
    
        @Override
        public V get(Object key) {
            if (logger.isLoggable(Level.INFO)) {
                StringBuilder logMsg = new StringBuilder("Key: " + key);
    
                logger.info(logMsg.toString());
            }
            return super.get(key);
        }
    }
    

    Then you use in your bena

    MyHashMap mh = new HashMap();
    

    The rest you can use as is, you get the key in the get (Object key) method. In the code above in the log message.

    Timo

Maybe you are looking for