Want to remove concurrent program executable

if any body knows that
how to remove the record from concurrent program executable if it is wrongly entered.
the record is also added to concurrent programs. it was wrongly entered in another application but if want to correct the thing. it does not work.
pls help,
ashok

https://www.google.com/search?q=howto+remove+avast+mackbook+pro

Similar Messages

  • Concurrent program - Executable

    Hi
    I need help related to oracle 11i apps concurrent program.
    I have writen a interface using pl/sql now I want this excetable to be register under concurrent program in 11i apps
    Can you please provide me tutorial that helps me to register the executable in concurrent pogram.
    it would be great if explain me step by step process
    Thanks

    Hi,
    you seem to have the wrong forum for this.
    Check out the apps documentation at http://download-west.oracle.com/docs/cd/B11454_01/11.5.9/html/technologyset.html
    in particular the Oracle Applications Developers Guide.
    Regards,
    Jon.

  • Changing concurrent program,executable short names

    hi,
    i created one report and registered in apps, with some executable short name and concurrent program short name.
    now i want to create a new program with the same short names, and no need of the first report.
    how can i do it?
    can anybody plz give any clue.
    with regards
    kiran

    You can not have two concurrent programs with the same short name but you probably already know that from trying it. Since you need a new program with the same short name and you don't need the old program, simply rename the program and description of your existing program. You will have to change the executable to point to the code of your new program.

  • Concurrent program executable 11i

    Hi,
    I am just starting with the bi publisher.Can anyone please explain me how it differs in 11i and r12..?
    like creation of data definition.and concurrent program..i know in r12 for creating the concurrent program thr is one standard executable is thr..but how can i achieve this in 11i..
    Please help me.
    Thanks
    Bharat

    Hi,
    you seem to have the wrong forum for this.
    Check out the apps documentation at http://download-west.oracle.com/docs/cd/B11454_01/11.5.9/html/technologyset.html
    in particular the Oracle Applications Developers Guide.
    Regards,
    Jon.

  • When my I-phone is stolen i want to remove al programs. Is ther an App so I can remove al programs on distance with my laptop?

    When a I Phone is stolen is there an App or program that can remove all programs and persanol stuff on a distance.

    I did... in my previous post..  the Find My iPhone app.
    http://itunes.apple.com/us/app/find-my-iphone/id376101648?mt=8
    http://www.apple.com/iphone/find-my-iphone-setup/
    Hope this helps and you're welcome     

  • Parent Concurrent Program executes  rest of the logic  before PAUSED STATE.

    Procedure parent_cp (errbuf out nocopy varchar2, retcode out nocopy varchar2) IS
    ret number;
    i number;
    BEGIN
    fnd_msg_pub.initialize;
    BEGIN ---Block A
    req_data := fnd_conc_global.request_data;
    if (req_data is not null) then
    i := to_number(req_data);
    if (i < 5 ) then
    errbuf := 'Done!';
    retcode := 0 ;
    return;
    end if;
    else
    i := 1;
    end if;
    for i in 1 .. 4 loop
    ret := fnd_request.submit_request('CZ', 'Child','Delete Localized Text - Child Number : ' ||TO_CHAR(vChildNo), NULL,TRUE, vChildMdlRange);
    fnd_conc_global.set_req_globals(conc_status => 'PAUSED', request_data => to_char(vChildNo)) ;
    IF (ret = 0 ) THEN
    errbuf := fnd_Message.get;
    retcode := 2;
    ELSE
    errbuf := 'Sub-Request submitted!';
    retcode := 0 ;
    END IF;
    END LOOP;
    END;
    BEGIN ---block B
    dbms_output.put_line(' Block after submitting Child CP ');
    END;
    END parent_cp;
    when i execute the above Parent CP ,it submitted 4 Child CPs and Parent CP went into Pause state. Before Parent CP went into Pause state it executed the Block B.
    My Requirement is it should execute the block B after completion of all child CPs.
    Please suggest how to achieve the above requirement.
    Thanks,
    Murali.

    Procedure parent_cp (errbuf out nocopy varchar2, retcode out nocopy varchar2) IS
    ret number;
    i number;
    BEGIN
    fnd_msg_pub.initialize;
    BEGIN ---Block A
    req_data := fnd_conc_global.request_data;
    if (req_data is not null) then
    i := to_number(req_data);
    if (i < 5 ) then
    errbuf := 'Done!';
    retcode := 0 ;
    return;
    end if;
    else
    i := 1;
    end if;
    for j in 1 .. 4 loop
    vRequestId(j) := fnd_request.submit_request('CZ', 'Child','Delete Localized Text - Child Number : ' ||TO_CHAR(vChildNo), NULL,TRUE, vChildMdlRange);
    fnd_conc_global.set_req_globals(conc_status => 'PAUSED', request_data => to_char(vChildNo)) ;
    IF (vRequestId(j) = 0 ) THEN
    errbuf := fnd_Message.get;
    retcode := 2;
    ELSE
    errbuf := 'Sub-Request submitted!';
    retcode := 0 ;
    END IF;
    END LOOP;
    END;
    BEGIN ---block B
    For j in vRequestId.FIRST..vRequestId.LAST LOOP
    fnd_file.put_line(fnd_file.log,' reuest' || vRequestId(j));
    vrequeststatus := fnd_concurrent.get_request_status(vRequestId(j),
         NULL,
    NULL,
         phase,
         status,
         dev_phase ,
         dev_status ,
         message );
    WHILE (dev_phase != 'COMPLETE') LOOP
    fnd_file.put_line(fnd_file.log,' while loop' || vRequestId(j));
    vrequeststatus := fnd_concurrent.wait_for_request(vRequestId(j),
    60,
         10,
         phase ,
         status ,
         dev_phase ,
         dev_status ,
         message );
    END LOOP;
    END LOOP;
    dbms_output.put_line(' Block after submitting Child CP ');
    END;
    END parent_cp;
    The above procedure was the Parent CP. Here the problem is in fnd_request.submit_request('CZ', 'Child','Delete Localized Text - Child Number : ' ||TO_CHAR(vChildNo), NULL,TRUE, vChildMdlRange); i have given sub_request as True and used fnd_conc_global.set_req_globals(conc_status => 'PAUSED', request_data => to_char(vChildNo)) ; to make parent CP to pause it.
    It submits 4 child CPs as expected but the phase as INACTIVE and status NO MANAGER and PARENT CP was always in running state.
    If i make sub_request parameter of fnd_request.sub_request to FALSE . It submits 4 child CPs as expected with the phase as PENDING and status NORMAL and PARENT CP was always in running state. But child cps are never changing the Phase as RUNNING. It is always in PENDING STATE.
    Please suggest how to use fnd_conc_global.set_req_globals and fnd_concurrent.wait_for_request together.

  • FNDLOAD: How to remove a concurrent program from a request group

    Hi,
    I want to remove a concurrent program from a request group using FNDLOAD utility. Since impacted environment is Production (controlled environment) I do not want to remove concurrent program manually from the request group. Is there a way to use FNDLOAD utility for this purpose or some other means?
    Environment: Oracle EBS R12.1.1
    OS: Linux
    Thanks,
    Nitin

    Hi,
    Unfortunately this CP cannot be disabled as it has to be removed from certain RGs but not all. Also removing it through RG forms is always an option but production gatekeepers won't allow to do that. I would have done that in a min.
    If FNDLOAD is not an option then I guess only other option is pl/sql script.
    Best regards,
    Nitin

  • Concurrent Program not executing

    Hi All,
    I have created new custom concurrent program of type SQL*Plus to purge the data. To my surprize when I submit the program, program is not getting executed, which I can confirm saying the data is not getting deleted. Also the log messages mentioned script is also not displayed in the LOG.
    No debug message is displayed in neither LOG nor OUTPUT.
    Executable File Name is correctly given and taken care of all other mandatory stuff while registration.
    Bleow the script:
    I am passing Number of Days ( 500 ) as parameter to this program.
    So here &1 = 500:
    DECLARE
    L_deleted_rec_cnt NUMBER;
    BEGIN
    fnd_file.put_line ( fnd_file.LOG, ' Conc Program Starts');
    DELETE
    FROM xxX_TABLE_NAME
    WHERE TRUNC (creation_date) < TRUNC (SYSDATE- &1);
    L_deleted_rec_cnt := SQL%ROWCOUNT;
    IF L_deleted_rec_cnt > 0 THEN
    COMMIT;
    fnd_file.put_line ( fnd_file.LOG, L_deleted_rec_cnt||' Records purged');
    ELSE
    fnd_file.put_line ( fnd_file.LOG, ' No Records to purge');
    END IF;
    fnd_file.put_line ( fnd_file.OUTPUT, ' Conc Program End');
    EXCEPTION
    WHEN OTHERS THEN
    fnd_file.put_line (fnd_file.LOG, 'Error in purging '||SQLCODE||' '||SQLERRM);
    END;
    Please advise.
    Regards,
    Ram

    It is 11i and the LOG is showing as Concurrent Program executed succesfully. THere is not error reported in the LOG.
    And also nothing writter to OUT file also.
    Content in LOG file:
    XXXX Customer Advocacy: Version : 1.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCC module: XXXX Error Log Purge
    Current system time is 28-DEC-2009 04:55:46
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    450
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 52374634      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 28-DEC-2009 04:55:47
    Content in Out FIle:
    Input truncated to 2 characters
    Regards,
    Ram

  • Coding Concurrent Programs in Pro*C

    If I have a pro*c program like this:
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    #include "sqlca.h"
    #include "sqlcpr.h"
    EXEC SQL BEGIN DECLARE SECTION;
         VARCHAR username[20];
         VARCHAR password[20];
    EXEC SQL END DECLARE SECTION;
    void sqlerr();
    int main()
         strcpy(username.arr,"SCOTT");
         username.len = strlen(username.arr);     
         strcpy(password.arr,"TIGER");
         password.len = strlen(password.arr);     
         EXEC SQL WHENEVER SQLERROR DO sqlerr();
         EXEC SQL CONNECT :username IDENTIFIED BY :password;
         EXEC SQL INSERT INTO EMP(EMPNO, ENAME, DEPTNO) VALUES(7777,'JACKIE',30);
         EXEC SQL commit;
         printf("Successful!");
         exit(0);
    void sqlerr()
         printf("SQL Error!\n");
         exit(1);
    I will give this file's extension name is:XXX.pc, and I transfer this pc file to $ORACLE_HOME/precomp/demo/proc and use this command "proc XXX.pc" to make this pc file to a C file. and use "make" command to generate XXX.o and XXX.e files.And the XXX.e is the executable file. And I can use this file to insert a record into emp table.
    And now, I have a problem that I want to coding concurrent programs in Pro*C.There have a template of concurrent programs-----EXMAIN.c and EXPROG.c. And how shoule I modify and compile these two files? Should I modify the extension name to ".pc"? When I compile EXMAIN.c, use the command "make -f demo_proc.mk OBJS=EXMAIN.o EXE=EXMAIN.e build", there have problems of following:
    cc -xO2 -Xa -xstrconst -xF -mr -xarch=v8 -xcache=16/32/1:1024/64/1 -xchip=ultra -D_REENTRANT -K PIC -DPRECOMP -I. -I/u01/COMV/applCOMV/COMVora/8.0.6/precomp/public -I/u01/COMV/applCOMV/COMVora/8.0.6/rdbms/public -I/u01/COMV/applCOMV/COMVora/8.0.6/rdbms/demo -I/u01/COMV/applCOMV/COMVora/8.0.6/plsql/public -I/u01/COMV/applCOMV/COMVora/8.0.6/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE -c EXMAIN.c
    "./afpub.h", line 46: cannot find include file: <afver.h>
    "./afcp.h", line 36: cannot find include file: <fdpwrt.h>
    cc: acomp failed for EXMAIN.c
    *** Error code 2
    make: Fatal error: Command failed for target `EXMAIN.o'
    I don't know why.I hope somebody can help me!
    Thanks !!

    Hi !
    Have you tried to replace the INCLUDE statements for SQLCA and SQLCPR
    with the following:
    EXEC SQL INCLUDE SQLCA;
    EXEC SQL INCLUDE SQLCPR; ?

  • Creating a PLSQL Procedure as Concurrent Program

    Folks:
    I am new both to PLSQL and Concurrent program creation. I am actually working on a process for deploying changes from one environment to another, so I want to create a simpel PLSQL procedure that I can then register as a concurrent program, and finally test the download/uplaod of this procedure and program from one instance to another.
    I tried reading the Developer documentation on creating concurrent program, but couldn't find the information I was looking for. Here are some of my questions:
    1) The PLSQL procedure that I want to run as concurrent program, can it be declared within a new custom package, or does it have to be created as a procedure.
    2) In the concurrent program executable registration window, can i specify directly the name of this new procedure or do I need to create an additional wrapper PLSQL procedure that has Concurrent Program related attribute (Developer guide seemed to incline that way).
    3) What should be put in the 'File' parameter on Concurrent Program Execution Window in the case of pl/sql concurrent program. There is no file, so what to put in there?
    4) Any other place I can find step by step how to for making a 'PLSQL" package a concurrent program?

    Hi,
    1) Create PL/SQL Package with "main" procedure that has arguments ERRBUF and RETCODE plus your other required arguments.
    2) xxxx_pkg.main as per 1.
    3) xxxx_pkg.main (the package and procedure name)
    4) Best place to look is at an existing program! Plenty of basic examples on the net. Here's a link that has basic package and screens:
    http://garethroberts.blogspot.com/2007/10/excel-file-output-from-oracle.html
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • Error when defining a program executable

    Could anybody explain the following error, which appears when I attempt to define an executable, GLCRVL against a program (GLCRVL2). Appears when closing the "Concurrent Program Executable" form:
    *"APP-FND-00508: Please enter a unique execution file name that is not already in use for your application"*
    The executable in question is
    /opt/oracle/DOLNSGC3/apps_11i/appl/gl/11.5.0/bin/GLCRVL
    I made a copy of the GLCRVL spawned program, which now exists in FND_CONCURRENT_PROGRAMS AS
    SQL> select application_id AS APP_ID
    2 ,concurrent_program_id AS CP_ID
    3 ,concurrent_program_name AS CP_NAME
    4 ,executable_application_id AS EXA_ID
    5 ,executable_id AS EX_ID
    6 ,execution_method_code AS EXM_CODE
    7 ,argument_method_code AS AM_CODE
    8 ,enabled_flag
    9 from FND_CONCURRENT_PROGRAMS
    10 where CONCURRENT_PROGRAM_NAME in ('GLCRVL', 'GLCRVL2')
    11 /
    APP_ID CP_ID CP_NAME XA_ID EX_ID E A E
    101 20397 GLCRVL 101 149 A D Y
    101 45769 GLCRVL2 101 149 A D Y
    Running 11.5.0 on Sun Solaris with 64-bit 10.2.0.4.0 Oracle DB Server

    Hi all,
    not sure if any of you are still watching this one, but I thought I'd update you on some good progress! I managed to get a spawned process working by registering it using the PL/SQL API, as follows:
    set serveroutput on
    declare
      b_Continue boolean := true;
      v_Prg_Name        varchar2(20) := 'GL_REVAL';
      v_Exec_Name       varchar2(20) := 'GL_REVAL';
    begin
      begin
        begin
          fnd_program.delete_executable(v_Exec_name, 'SQLGL');
          commit;
          dbms_output.put_line('executable ' || v_Exec_Name || ' removed from SQLGL');
          exception -- catch
            when others then
              null;
        end;
        fnd_program.executable(v_Exec_Name -- executable
                              , 'SQLGL' -- application
                              , v_Exec_Name -- short_name
                              , 'Backend program - Reval Balances' -- description
                              , 'Spawned' -- execution_method
                              , 'GLCRVL' -- execution_file_name
                              , null -- subroutine_name
                              , null -- Execution File Path
                              , 'US' -- language_code
                              , null);
        commit;
        b_Continue := true;
        dbms_output.put_line('Registration of executable ' || v_Exec_Name || ' sucessful');
        exception
          when others then
            rollback;
            dbms_output.put_line('Registration error for executable ' || v_Exec_Name || ', ' || sqlerrm);
      end;
      if (b_Continue) then
        begin
          begin
            fnd_program.delete_program(v_Prg_Name, 'SQLGL');
            commit;
            dbms_output.put_line('program ' || v_Prg_Name || ' in SQLGL removed');
            exception -- catch
              when others then
                null;
          end;
          fnd_program.register ( program                        => 'Program - Revalue Balances (Backend)'
                                ,application                    => 'SQLGL'
                                ,enabled                        => 'Y'
                                ,short_name                     => v_Prg_Name
                                ,description                    => 'Revalue Balances'
                                ,executable_short_name          => v_Exec_Name
                                ,executable_application         => 'SQLGL'
                                ,execution_options              => null
                                ,priority                       => null
                                ,save_output                    => 'Y'
                                ,print                          => 'Y'
                                ,cols                           => null
                                ,rows                           => null
                                ,style                          => null
                                ,style_required                 => 'N'
                                ,printer                        => null
                                ,request_type                   => null
                                ,request_type_application       => null
                                ,use_in_srs                     => 'Y'
                                ,allow_disabled_values          => 'N'
                                ,run_alone                      => 'N'
                                ,output_type                    => 'TEXT'
                                ,enable_trace                   => 'N'
                                ,restart                        => 'N'
                                ,nls_compliant                  => 'Y'
                                ,icon_name                      => null
                                ,language_code                  => 'US'
                                ,mls_function_short_name        => null
                                ,mls_function_application       => null
                                ,incrementor                    => null);
          commit;
          dbms_output.put_line('Registration of program ' || v_Prg_Name || ' sucessful');
          exception
            when others then
              b_Continue := false;
              rollback;
              dbms_output.put_line('Registration error for program GL_REVAL ' || sqlerrm);
        end;
      end if;
      if (b_Continue) then
        begin
          fnd_program.remove_from_group(v_Prg_Name, 'SQLGL', 'GL Concurrent Program Group', 'SQLGL');
          dbms_output.put_line('program ' || v_Prg_Name || ' removed from group "GL Concurrent_Group" in SQLGL');
          commit;
          exception
            when others then
              rollback;
              null;
        end;
        begin
          fnd_program.add_to_group(v_Prg_Name -- program_short_name
                                 , 'SQLGL' -- application
                                 , 'GL Concurrent Program Group' -- Request Group Name
                                 , 'SQLGL'); -- Report Group Application
          commit;
          b_Continue := true;
          dbms_output.put_line('program, ' || v_Prg_Name || ', sucessfully added to group "GL Concurrent Program Group"');
          exception
            when others then
              b_Continue := false;
              rollback;
              dbms_output.put_line('Registration error for program ' || v_Prg_Name || ' in group' || sqlerrm);
        end;
      end if;
      begin
        if (b_Continue) then
          if (fnd_program.parameter_exists (v_Prg_Name, 'SQLGL', 'Set of Books ID') ) then
            fnd_program.delete_parameter(v_Prg_Name, 'SQLGL', 'Set of Books ID');
            commit;
            dbms_output.put_line('Parameter "Set of Books ID" removed');
          end if;
          if (fnd_program.parameter_exists (v_Prg_Name, 'SQLGL', 'Revaluation ID') ) then
            fnd_program.delete_parameter(v_Prg_Name, 'SQLGL', 'Revaluation ID');
            commit;
            dbms_output.put_line('Parameter "Revaluation ID" removed');
          end if;
          if (fnd_program.parameter_exists (v_Prg_Name, 'SQLGL', 'PERIOD') ) then
            fnd_program.delete_parameter(v_Prg_Name, 'SQLGL', 'PERIOD');
            commit;
            dbms_output.put_line('Parameter "PERIOD" removed');
          end if;
          if (fnd_program.parameter_exists (v_Prg_Name, 'SQLGL', 'EFFECTIVE_DATE') ) then
            fnd_program.delete_parameter(v_Prg_Name, 'SQLGL', 'EFFECTIVE_DATE');
            commit;
            dbms_output.put_line('Parameter "EFFECTIVE_DATE" removed');
          end if;
          if (fnd_program.parameter_exists (v_Prg_Name, 'SQLGL', 'RATE_DATE') ) then
            fnd_program.delete_parameter(v_Prg_Name, 'SQLGL', 'RATE_DATE');
            commit;
            dbms_output.put_line('Parameter "RATE_DATE" removed');
          end if;
          fnd_program.parameter (program_short_name            => v_Prg_Name
                                ,application                   =>  'SQLGL'
                                ,sequence                      => 10
                                ,parameter                     => 'Set Of Books ID'
                                ,description                   => null
                                ,enabled                       => 'Y'
                                ,value_set                     => 'GL_SRS_SET_OF_BOOKS'
                                ,default_type                  => 'S'
                                ,default_value                 => null
                                ,required                      => 'Y'
                                ,enable_security               => 'N'
                                ,range                         => null
                                ,display                       => 'N'
                                ,display_size                  => 30
                                ,description_size              => 50
                                ,concatenated_description_size => 25
                                ,prompt                        => 'Set Of Books'
                                ,token                         => '');
          dbms_output.put_line('Parameter "Set of Books ID" added');
          fnd_program.parameter (program_short_name            => v_Prg_Name
                                ,application                   =>  'SQLGL'
                                ,sequence                      => 20
                                ,parameter                     => 'Revaluation ID'
                                ,description                   => null
                                ,enabled                       => 'Y'
                                ,value_set                     => 'GL_SRS_REVAL_NAME'
                                ,default_type                  => 'S'
                                ,default_value                 => null
                                ,required                      => 'Y'
                                ,enable_security               => 'N'
                                ,range                         => null
                                ,display                       => 'Y'
                                ,display_size                  => 35
                                ,description_size              => 50
                                ,concatenated_description_size => 25
                                ,prompt                        => 'Revaluation'
                                ,token                         => '');
          dbms_output.put_line('Parameter "Revaluation ID" added');
          fnd_program.parameter (program_short_name            => v_Prg_Name
                                ,application                   =>  'SQLGL'
                                ,sequence                      => 30
                                ,parameter                     => 'PERIOD'
                                ,description                   => null
                                ,enabled                       => 'Y'
                                ,value_set                     => 'GL_SRS_REVAL_PERIOD'
                                ,default_type                  => null
                                ,default_value                 => null
                                ,required                      => 'Y'
                                ,enable_security               => 'N'
                                ,range                         => null
                                ,display                       => 'Y'
                                ,display_size                  => 15
                                ,description_size              => 50
                                ,concatenated_description_size => 25
                                ,prompt                        => 'Period'
                                ,token                         => '');
          dbms_output.put_line('Parameter "PERIOD" added');
          fnd_program.parameter (program_short_name            => v_Prg_Name
                                ,application                   =>  'SQLGL'
                                ,sequence                      => 40
                                ,parameter                     => 'EFFECTIVE_DATE'
                                ,description                   => null
                                ,enabled                       => 'Y'
                                ,value_set                     => 'GL_SRS_STANDARD_DATE'
                                ,default_type                  => 'S'
                                ,default_value                 => null
                                ,required                      => 'Y'
                                ,enable_security               => 'N'
                                ,range                         => null
                                ,display                       => 'Y'
                                ,display_size                  => 11
                                ,description_size              => 50
                                ,concatenated_description_size => 25
                                ,prompt                        => 'Effective Date'
                                ,token                         => '');
          dbms_output.put_line('Parameter "EFFECTIVE_DATE" added');
          fnd_program.parameter (program_short_name            => v_Prg_Name
                                ,application                   =>  'SQLGL'
                                ,sequence                      => 50
                                ,parameter                     => 'RATE_DATE'
                                ,description                   => null
                                ,enabled                       => 'Y'
                                ,value_set                     => 'GL_SRS_STANDARD_DATE'
                                ,default_type                  => 'A'
                                ,default_value                 => 'EFFECTIVE_DATE.VALUE'
                                ,required                      => 'N'
                                ,enable_security               => 'N'
                                ,range                         => null
                                ,display                       => 'Y'
                                ,display_size                  => 11
                                ,description_size              => 50
                                ,concatenated_description_size => 25
                                ,prompt                        => 'Rate Date'
                                ,token                         => '');
          dbms_output.put_line('Parameter "RATE_DATE" added');
          commit;
          dbms_output.put_line(' ');
          dbms_output.put_line('All parameters added sucessfully ');
          b_Continue := true;
        end if; -- if (b_Continue) then
        exception
          when others then
            rollback;
            b_Continue := false;
            dbms_output.put_line('Error adding parameters ');
      end;
      if (b_Continue) then
        dbms_output.put_line('All registration was sucessful');
      else
        dbms_output.put_line('Registration unsucessful');
      end if;
      exception
        when others then
          rollback;
          dbms_output.put_line('Registration Error ' || sqlerrm);
    end;
    show errI then ran a test using the following script, and it seems to work!!!
    set serveroutput on
    declare
      b_Set_NLS         boolean;
      b_Wait            boolean;
      n_Request_ID      number;
      p_Language        varchar2(20) := 'AMERICAN';
      v_Phase           varchar2(100);
      v_Status          varchar2(100);
      v_Dev_Phase       varchar2(100);
      v_Dev_Status      varchar2(100);
      v_Message         varchar2(100);
      FND_EXCEPTION     exception;
      v_FND_EXC         varchar2(50);
      v_Prg_Name        varchar2(20) := 'GL_REVAL';
    begin
      fnd_global.apps_initialize(1208, 50211, 101);
      fnd_program.enable_program(v_Prg_Name, 'SQLGL', 'Y');
      if not (fnd_program.executable_exists(v_Prg_Name, 'SQLGL') ) then
        v_FND_EXC := 'App ' || v_Prg_Name || ' does not exist';
        raise FND_EXCEPTION;
      end if;
      dbms_session.set_nls(param => 'nls_language'
                          ,value => p_Language);
      b_Set_NLS := fnd_submit.set_nls_options(p_Language);
      -- Test parameters
      n_Request_ID := fnd_request.submit_request( application => 'SQLGL'
                                                 ,program     => v_Prg_Name
                                                 ,description => 'Program - Revalue Balances (Backend)'
                                                 ,start_time  => ''
                                                 ,sub_request => false
                                                 ,argument1   => '2'
                                                 ,argument2   => '10060' --p_Revaluation_ID
                                                 ,argument3   => 'Oct-09' --p_Period
                                                 ,argument4   => '2009/10/31 00:00:00'
                                                 --,argument5   => p_Rate_Date
      if (n_Request_ID > 0) then
        commit;
        b_Wait := fnd_concurrent.wait_for_request(request_id => n_Request_ID
                                                 ,interval   => 60
                                                 ,max_wait   => 0
                                                 ,phase      => v_Phase
                                                 ,status     => v_Status
                                                 ,dev_phase  => v_Dev_Phase
                                                 ,dev_status => v_Dev_Status
                                                 ,message    => v_Message);
        v_FND_EXC := v_Dev_Status;
        if (v_Dev_Phase = 'COMPLETE') then
          case v_Dev_Status
            when 'WARNING' then
              raise FND_EXCEPTION;
            when 'ERROR' then
              raise FND_EXCEPTION;
            when 'NORMAL' then
              null;
            else
              v_FND_EXC := 'UNKNOWN';
              raise FND_EXCEPTION;
          end case;
        else
          v_FND_EXC := 'INCOMPLETE,' || v_Dev_Phase;
          raise FND_EXCEPTION;
        end if;
      end if;
      -- No Request ID has been returned by FND_REQUEST.SUBMIT_REQUEST or FND_SUBMIT.SUBMIT_SET
      if (n_Request_ID = 0) then
        v_FND_EXC := 'SUBMISSION FAILURE';
        raise FND_EXCEPTION;
      end if;
      dbms_output.put_line(v_Prg_Name || ' ran fine ');
    exception
      when FND_EXCEPTION then
        dbms_output.put_line('Request Exception, ' || v_FND_EXC);
      when others then
        v_FND_EXC := 'UNKNOWN';
        dbms_output.put_line(v_FND_EXC || ' ' || sqlerrm);
    end;
    /Cheers!
    P;

  • Call a host script from concurrent program without exposing APPS password?

    My understanding is as of now I need to link $FND_TOP/bin/fndcpesr in order to launch a unix script as concurrent program. This implies that there will be 4 standard input parameters when a certain unix script is called including oracle schema and password. As I see it now APPS password is provided to such scripts.
    Is there a way to execute a unix script from under 11i without exposing APPS password?

    Many thanks.
    Protecting Your Oracle User Password
    In some cases, there are security concerns with passing your Oracle username and
    password directly to your HOST program. If you do not want the concurrent manager
    to pass your username/password to your program, you can have the manager pass it as
    an environment variable instead. Or you can pass an Oracle Applications
    username/password for a user with the System Administrator responsibility.
    Alternatively, you can not pass it at all.
    First, define your concurrent program executable as a HOST program in the Concurrent
    Program Executable form.
    To have the username/password passed as an environment variable, enter the term
    'ENCRYPT' in the Execution Options field of the Concurrent Programs window when
    defining a concurrent program using this executable. 'ENCRYPT' signals the concurrent
    manager to pass the username/password in the environment variable fcp_login. The
    argument $1 is left blank.
    If you do not want the username/password passed to the program at all, enter
    +'SECURE' in the Execution Options field. The concurrent manager will not pass the+
    username/password to the program.

  • Java Concurrent Program .class file location

    Hi frnds,
    I need to know the .class file location of a java concurrent prog. I know the filename from concurrent program executables and my concurrent program filepath is oracle.apps.xxogl.f04.cp.file. But I dont know where the exact location of the file is. pls help me.
    I searched for the same and found the following article in many places which doesnt seem to help me much.
    http://geektalkin.blogspot.com/2008/03/oracle-apps-java-concurrent-program.html
    pls help. thanks in advance.
    Lisan

    Hi;
    pls file can be found like
    /apps_st/appl/bom/12.0.0/patch/115/sql/
    Contains SQL*Plus scripts used to upgrade data, and .pkh, .pkb, and .pls scripts to create PL /SQL stored procedures.
    Regard
    Helios

  • Java Concurrent Program not able to access class present under CLASSPATH

    We are creating a Java Concurrent Program which is using third party web service. The client classes for the webservice have been placed in a jar file. This jar file has been added to the SYSTEM CLASSPATH. When we try to run the concurrent program it fails with a ClassNotFoundException giving the name of the webervice client. The webservice clients are being used by other java classes from OAF as well. From there it is easily accessible.
    The request is being submit using a custom responsibility called RAC Quoting Admin. The user logged in has the corresponding responsibiility. The request is being submitted as a single request and there are no parameters being passed to the request.
    Here are the steps that we used to create the Oracle Concurrent Program:
    1. First of all we wrote a Java class that implements oracle.apps.fnd.cp.request.JavaConcurrentProgram
    rac.oracle.apps.qot.quote.batch.SFDCInterface implements JavaConcurrentProgram
    2. The concurrent program has a method called public void runProgram(CpContext pCpContext) which has the logic to be executed.
    3. Then we create a concurrent program executable
    Path: Concurrent -> Program -> Executable.
    Executable: RAC Quoting SFDC Sync Executable
    Short Name: RacQotSFDCSyncEx
    Application: Quoting
    Description: RAC Quoting SFDC Synchronization batch program
    Execution Method: Java Concurrent Program
    Execution File Name : SFDCInterface
    Execution File Path : rac.oracle.apps.qot.quote.batch
    4. Create the Concurrent Program
    Path: Concurrent -> Program -> Define
    Program: RAC Quoting SFDC Sync CP
    Short Name: RACQOTSFDCSYNCCP
    Application: Quoting
    Description: RAC Quoting SFDC batch Synchronization Concurrent Program
    Executable: Name - RacQotSFDCSyncEx; Method - Java Concurrent Program
    5. This concurrent program is registered with a custom responsibility from which we run this concurrent program.

    Please post the details of the application release, database version and OS.
    We are creating a Java Concurrent Program which is using third party web service. The client classes for the webservice have been placed in a jar file. This jar file has been added to the SYSTEM CLASSPATH. When we try to run the concurrent program it fails with a ClassNotFoundException giving the name of the webervice client. The webservice clients are being used by other java classes from OAF as well. From there it is easily accessible.Please post the contents of the concurrent request log file here. You may also enable trace and submit the request again and post the contents of the log file.
    The request is being submit using a custom responsibility called RAC Quoting Admin. The user logged in has the corresponding responsibiility. The request is being submitted as a single request and there are no parameters being passed to the request.
    Here are the steps that we used to create the Oracle Concurrent Program:
    1. First of all we wrote a Java class that implements oracle.apps.fnd.cp.request.JavaConcurrentProgram
    rac.oracle.apps.qot.quote.batch.SFDCInterface implements JavaConcurrentProgram
    2. The concurrent program has a method called public void runProgram(CpContext pCpContext) which has the logic to be executed.
    3. Then we create a concurrent program executable
    Path: Concurrent -> Program -> Executable.
    Executable: RAC Quoting SFDC Sync Executable
    Short Name: RacQotSFDCSyncEx
    Application: Quoting
    Description: RAC Quoting SFDC Synchronization batch program
    Execution Method: Java Concurrent Program
    Execution File Name : SFDCInterface
    Execution File Path : rac.oracle.apps.qot.quote.batch
    4. Create the Concurrent Program
    Path: Concurrent -> Program -> Define
    Program: RAC Quoting SFDC Sync CP
    Short Name: RACQOTSFDCSYNCCP
    Application: Quoting
    Description: RAC Quoting SFDC batch Synchronization Concurrent Program
    Executable: Name - RacQotSFDCSyncEx; Method - Java Concurrent Program
    5. This concurrent program is registered with a custom responsibility from which we run this concurrent program.Have you completed all the steps as per MOS docs? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Program&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • .class file location of a java concurrent program

    Hi frnds,
    I need to know the .class file location of a java concurrent prog. I know the filename from concurrent program executables and my concurrent program filepath is oracle.apps.xxogl.f04.cp.file. But I dont know where the exact location of the file is. pls help me.
    I searched for the same and found the following article in many places which doesnt seem to help me much.
    http://geektalkin.blogspot.com/2008/03/oracle-apps-java-concurrent-program.html
    pls help. thanks in advance.
    Lisan

    Hi Lisan,
    Which version are you using? Folder strucure differs for 11i and R12 versions.
    All the class files will be placed under the JAVA_TOP folder. From there you have to follow your package structure. Here it is oracle/apps/xxogl/f04/cp/file
    HTH,
    Syed.

Maybe you are looking for