How to pass parameters to the list of ESS Jobs that are in a Job Set?

All,
Oracle Fusion Application Version: 11.1.7.0.0
I am new to Fusion Apps (I was ADF Developer before this), got some hands on with Fusion Application. Need some help/guidance related to ESS Job. I have 2 custom ESS Job created (1st of type Sql Plus to query and spool the result into a file into local server and 2nd of type host script that accesses the spooled file and sends it to destination server). I've put these two job together in a Job set (Serial execution) and it works fine.
Requirement:
Whenever the Job set is executed, generated file should be appended with System Date and Time. Following are the two ways that are coming into my mind to achieve this.
Way 1. First job has to read the systimestamp (in desired format) from DB, do actual query execution, spool the resultset into a file named with time stamp details, place it in a local directory. As a part of completion of the 1st Job, 1st Job has to pass this systimestamp value to the 2nd Job (How?) so that it can pick the right file from local directory for its work.
Way 2. We should be able to create parameters at Job Set level (and this too should not be a constant value but dynamic, say sysdatetime) so that both the job can access this value.
Though I am getting some thought on how the communication between these two jobs should be happened, I don't know whether they are possible, if so, how to do.. Can anybody suggest? Your help would be appreciated!

Is the timestamp used in the processing other than uniquely identify the file ? If it is then do note that you may need to take into account timezones, slight differences in the time etc. in your processing  If not you could potentially use the request identifier or some other unique identifier instead.
In any case you can pass information between the jobs; for details refer to:
Defining and Using Job Sets Supporting Input and Output Forwarding in Job Sets
Using Parameters and System Properties
Using System Properties
SystemProperty (Oracle Enterprise Scheduler Service API Reference)
So depending on your requirements you could define job set step parameters, input / output forwarding or name value pairs on the ENVIRONMENT_VARIABLES system property.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/

Similar Messages

  • How to pass parameters to the Control file while loading the data from flat file to staging table

    Thanks in advance

    Hi ,
    LOADDATA statement is required at the beginning of the control file.
    INFILE: INFILE keyword is used to specify location of the datafile or datafiles.
    INFILE* specifies that the data is found in the control file and not in an external file. INFILE ‘$FILE’, can be used to send the filepath and filename as a parameter when registered as a concurrent program.
    INFILE   ‘/home/vision/kap/import2.csv’ specifies the filepath and the filename.
    Hope this will help you......

  • Passing parameters to the process chain

    Hi friends,
    I want to know ,how to pass parameters to the process chain. Suppose i want to pass parameter to my DTP in my process chain in order to filter the data and do the delta upload in my cube .

    Hi,
    I dont think there is any direct way to achieve this.
    There is a work Around which can be achieved with help of abap.
    You need to write ABAP routine to get the selection values from user and store them in the table TVARVC.
    Then you need to write a routine in the DTP filter to fetch these values.
    In the ABAP program where you get the values, you can trigger the process chain once the values are entered for the selections using an event,
    Regds,
    Shashank

  • Passing parameters to the url which navigates to oracle applications

    Hi All,
    My requirement is i need to display a link in the email message, so that user can click it and can navigate to a form in oracle applications.
    The link will be like http://shine.apps.com/function_id=670&language=US etc
    I am able to display the form which the user wants, but they want the form to be queried with a value. so can anyone help me to how to pass parameters to the above url.
    Thanks in advance
    Srinivas Dodla

    I achived the same thorugh workflow. In the workflow define a attribute of type form and then pass the formname, applicaiton name, resp name and any other form parameters to it.
    You can mix forms personalization to achive best results.
    Thanks
    Prudhvi
    www.erpschools.com

  • How to pass parameters between main and sub vi during parallel execution using the VI server technique?

    Hello All,
    I am working with the following example (from previous postings on this
    board) that demonstrates how to run a sub vi in parallel with the main
    vi.  I'd like to pass parameters between the main and sub such as
    the control (delay) and indicator (value) parameters of my subvi
    example.  Does any one know how to do this?  Parallel
    execution is important for me, I cannot just paste the subvi icon into
    my main diagram (two nested while loops...)
    Many thanks,
    Luis
    Message Edited by cascao on 08-16-2005 08:42 PM
    Message Edited by cascao on 08-16-2005 08:42 PM
    Attachments:
    VI_Server_technique.vi ‏32 KB
    SubVI_1.vi ‏19 KB

    cascao wrote:
    Hello All,
    I am working with the following example (from previous postings on this
    board) that demonstrates how to run a sub vi in parallel with the main
    vi.  I'd like to pass parameters between the main and sub such as
    the control (delay) and indicator (value) parameters of my subvi
    example.  Does any one know how to do this?  Parallel
    execution is important for me, I cannot just paste the subvi icon into
    my main diagram (two nested while loops...)
    Many thanks,
    Luis
    Luis, you can use the VI Server methods 'Set Control Value' and 'Get Control Value', as demonstrated in the attached examples.
    -Franz
    Attachments:
    VI Server.zip ‏26 KB

  • How to open a page from a Form and pass parameters to the form on that page

    I found a similar example on this forum, but it did not work for me:
    declare
    l_names owa.vc_arr;
    l_values owa.vc_arr;
    i number;
    begin
    PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
    FOR i in 1..l_names.count
    LOOP
    htp.p(l_names(i) || ' ' || l_values(i));
    END LOOP;
    end;
    By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
    Another method I tried:
    To open a Form from a Form and pass parameters works fine like this:
    --In the After processing page PL/SQL event.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    if v_id > 0 then
    htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
    htp.formSubmit(NULL,'Upload Files');
    htp.formClose;
    end if;
    End;
    But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
    Best regards
    Halvor

    Hi,
    You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
    You can call this code in the success procedure of the calling form.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    v_url varchar2(2000);
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    v_url := <page_url>;
    if v_id > 0 then
    call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
    end if;
    End;
    In the called form in "Before displaying form" plsql section write this code.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'id' then
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_ID',
    p_value => p_arg_values(i)
    end if;
    end loop;
    This code picks up the value from p_arg_values and assigns it to the form field.
    Hope that helps.
    Thanks,
    Sharmila

  • How to pass parameters between two xterm windows?

    Hi,
    I would like to know how to pass parameters between two xterm windows where there are two independence processes running on them respectively ? Would appreciate if any one out there can advise me . Thanks.

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

  • How to find the list of Queries/Reports which are using Exceptional Aggregation in SAP BI?

    Hi All,
    We are interested to know how to find the list of Queries/ Reports which are using Exceptional aggregation in SAP BI.
    Please let us know is there any table's to check the list of reports using Exceptional Aggregation in SAP BI.

    Hi,
    Here you go..
    1) Go to table RSZCALC and get list of ELTUID where AGGREXC is not INITIAL and AGGRCHA is not initial; now you get only exception aggregation set based on some chars. Also you can further add STEPNR = 1 since your intention is just to get query name , not the calculation details; this will reduce number of entries to lookup and save DB time for next steps.
    Here you will get list of exception aggregation UUID numbers from which you can get properties from RSZELTDIR.
    2) Pass list of RSZCALC-ELTUID to table RSZELTXREF - TELTUID and get list of RSZELTXREF -SELTUID - this table stores query to it's elements maping kind.
    3) Now again pass RSZELTXREF - SELTUID into same table but into different field RSZELTZREF - TELTUID and get RSZELTXREF - SELTUID
    This step you get query reference sheet or column or query general UUID for next step.
    4) Pass list of RSZELTXREF - SELTUID into RSZELTDIR - ELTUID with DEFTP as 'REP'. Now you get list of query names in RSZELTDIR - MAPNAME and description in TXTLG.
    Note: you can also get the reference chars used for exception aggregation from RSZCALC - AGGRCHA field.
    Hope this helps.
    Please keep in mind, it might take more time depends on how many query elements you have in the system...
    Comments added for better DB performance by: Arun Thangaraj

  • Form Personalization - Custom Function - How to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Hi paul;
    There are many usefull link avaliable if you googling
    http://www.google.com.tr/#hl=tr&biw=1259&bih=793&&sa=X&ei=4wxQTZmYEISRswaNktWSDQ&ved=0CC4QBSgA&q=How+to+pass+parameters%2Bform+personalization&spell=1&fp=64d53dfd7a69225a
    Regard
    Helios

  • Form personalization - new custom function - how to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Post your question in below forum:
    General EBS Discussion
    -Anand

  • Launching a page by passing parameters in the URL

    My app has a page sentry function that sets the APP_USER using the Apache mod_ntlm module to the Windows domain user. I check security for each page in a custom table that I maintain.
    If I try to launch a page by passing parameters in the f?p= URL like
    f?p=100:1:::::P1_ID:10
    since I dont have a session yet, the page sentry generates a session for me and redirects to the page (100:1), but I lose my parameters (P1_ID)
    How can I preserve the entire URL in this case?
    Thanks

    I modified the page sentry function like you suggested.
    Launched f?p=102:51:::::P1_ID:1234
    This got redirected to
    f?p=102:51:2458638498649564102
    My debug table has 8261051781657854662
    When I inspected session state for 2458638498649564102 using Workspace XXX>Manage Workspace>Session State Management>Recent Sessions>Session State
    it had no entry for FSP_AFTER_LOGIN_URL. All it had was
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    There is no entry for 8261051781657854662
    Thanks for your continued help. Appreciate it.

  • How to pass parameters to reports

    Hi,
    I am a new user to dev2000, i am struck at passing parameters to the reports, i have used lexical referrences, to the where clause, in the query that i have written in reports builder. It created a user_parameter of that where_clause. now i am trying to pass this parameter, from the form to generate a report btw'n dates. please sugest me if there is any other way, or correct me if i am on the right path, here is the code that i am calling from the form.
    DECLARE
    pl_id ParamList;
    --repid REPORT_OBJECT;
    --v_rep VARCHAR2(100);
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'WHERE_CLAUSE', TEXT_PARAMETER, 'WHERE SYS_DATE = ''18-JUL-01''');
    --repid := find_report_object('report34');
    --v_rep := RUN_REPORT_OBJECT(repid);
    Run_Product(REPORTS, 'REPORT34', ASYNCHRONOUS, BATCH,
    FILESYSTEM, pl_id,NULL);
    END ;
    I am gettting an error saying FRM-41211: Integration error:ssl failure running another product.
    this error is comming when i try to access for the first time, and
    Starting report REPORT34 [Tue Jul 24 16:35:14 2001] ...
    REP-0110: Unable to open file 'REPORT34'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'REPORT34'.
    End report REPORT34 [Tue Jul 24 16:35:20 2001].
    this for the next time, with out closing runtime env.
    If i have to use RUN_REPORT_OBJECT how can i pass parameters to reports.
    Another thing i encountered is when i am using RUN_REPORT_OBJECT which is working it shows me the parameter form of the reports and when i click on run report, it is just creating a file under forms directory and asking each time when i run report wether to replace it or not and from where it is calling the printer object and actually nothing is being printed, and every thing is fine with the printer and it is not showing the report out put and it shows end of report in the log file of the background report product.

    For your 1st problem it seems to be a bug in Forms 6i - you can visit this site:
    http://pipetalk.revealnet.com/~plsql/
    and find there 41211.
    Helena

  • How to pass parameters to automation plugin to Javascript

    Hello,
    We can call automation plugin from java script below code.
    var xx = stringIDToTypeID( "459ac2e6-82d1-11d5-9879-00b0d0201111" );     // Has will be the unique ID for this plugin
    executeAction( xx, undefined, DialogModes.NO );
    I am trying to passing parameters for the same plugin.
    I tried to find a way myself following plug-in resource guide but there information is not so clear.
    Can you tell me,
    How to define parameters in terminology file. (my guess it should be define in terminology file)
    How to JS call with parameters
    And how to extract those parameters inside plugin.
    Sample Pipl.r file  (This is from C++ plugin in SDK)
    // Dictionary (scripting) resource
    resource 'aete' (16000, "Getter dictionary", purgeable)
           1, 0, english, roman, /* aete version and language specifiers */
                "Testing", /* vendor suite name */
                "Adobe example plug-ins", /* optional description */
                'get ', /* suite ID */
                1, /* suite code, must be 1 */
                1, /* suite level, must be 1 */
           { /* structure for automation */
           plugInName, /* name */
           "No comment", /* optional description */
           'get ', /* class ID, must be unique or Suite ID */
           'getr', /* event ID, must be unique */
           NO_REPLY, /* never a reply */
                IMAGE_DIRECT_PARAMETER, /* direct parameter, used by Photoshop */   <-- According to the documentation, I guess here should be come parameters.  (para name, keyID, typeID )
                { // filter or selection class here:
      {}, /* non-filter/automation plug-in class here */
      {}, /* comparison ops (not supported) */
      { // Enumerations go here:
      } /* end of any enumerations */
    // end GetterPiPL.r
    Thank you.

    Hello Mack,
    Thanks for your detail explanation.
    Actually, I haven't much play with PS javascripting plugins niter Fit image.
    The key points I have figure out that, the way you attached parameters to descriptor and point of finding some light from listener.
    That made me a conceptual idea, although I did not get all the mention facts.
    My previous guess was correct.
    Parameter should be something like below according to PiPL grammar. (in Sample Pipl.r file)
    'mymod', /* event ID, must be unique */
           NO_REPLY, /* never a reply */
                IMAGE_DIRECT_PARAMETER, /* direct parameter, used by Photoshop */ 
                "action",    /* name for parameter*/
                 keyMyPara,    /*Key parameter you have define in terminology file*/
                 typeChar,       /*parameter type*/
                 "",     /*optional description*/
                 flagsSingleParameter     /*flags */
    The UUID is enough for calling plugin, only challenge was to define parameter wtr grammar at PiPL and read it at C++ end.
    Another important fact is that we have the message pointer which points to above plug-in parameters.
    Automation plugin would give that access.

  • Passing parameters into the Oracle form

    I want to pass some paramaters into the .fmx file which i invoke through the applet. like say, in the following line
    serverArgs="module=abc001.fmx userid=user/pwd@dbuser useSDI=no"
    i want to pass parameters in the following manner:
    serverArgs="module=abc001.fmx(param1,param2) userid=user/pwd@dbuser useSDI=no"
    since one cannot pass parameters to a .fmx file before invoking it, it does not seem possible.
    But is there a sort of a workaround? A java wrapper for oracle forms?? so that i pass parametrs to the java class and it passes this info to the form.
    i need to pass these parameters because these param1,param2 are the username/password for my oracle forms-based application which implements its own in-house user validation logic and i need to display the menu in the applet based on the user without prompting him for this application username/password
    thanks
    Any help will be highly appreciated.

    In the form FNDRSRUN which is the Standard Request Submission form there are parameters CHAR1-CHAR5, NUMBER1-NUMBER5, and DATE1-DATE5. I was wondering if i populate the parameter NUMBER1 with my value how can I access this parameter when the form is brought up. This is more of an applications setup issue I will be creating a function that calls the FNDRSRUN form this function will force this form to use a single request not a request group. In the request setups there is a parameter. When I set up the request parameter I have to select a value set and then for Default Type I can select Constant, Profile, SQL Statement, or Segment and then I have to give a default value. Can I default this parameter to use NUMBER1 or another parameter in the FNDRSRUN form.

  • Passing parameters to the reports server

    Query on passing parameter from URL to the report server and then to the graphic report builder. We are able to pass the parameter from URL to the report server but we don't know the way of passing this parameter from report server to the graphic bulder or
    writer module. We do not know the API call for passing the same from report server to
    the graphic builder.

    Can you tell me how to pass parameters to report server within URL.Thanks!

Maybe you are looking for