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

Similar Messages

  • Concurrent program with executable of type HOST

    Hi,
    I am having 11.5.10.2 on Red Hat Linux AS 4 . I have created a shell script and I wanted it to run as a concurrent program.For that I created executable of type HOST and created one concurrent program and added it to one request group.
    This works fine. Concurrent program runs successfully.
    Then I used command line parameter in script. This parameter was added in respective concurrent program. But the parameter is passed as $1 as part of the
    the other standard parameters. So I have to extract my parameter from $1.
    My question is how to use parameters in 11.5.10.2 release ?
    Is there any solution so that we don't have to process $1 and extract user parameter? Can we pass the user parameter as $2 , $3 etc. ?

    Hi Hsawwan,
    Yeah I have already seen this document. It is not applicable to 11.5.10.2 because till 11.5.9 the $1 to $8 parameter were passed as standard parameters and user parameter was to be passed on as $9 onwards. This is fine.
    But I have seen that in 11.5.10.2 all the standard parameters are passed in $1 itself concatenated along with the user parameters. So we have to extract user parameter. Is there any better solution. ?
    Thanks .
    Sagar.

  • 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

  • Program not executing in jar file. Help please.

    I went through the tutorial about jars on the sun website and i created a jar file with a hello world program like this:
    "cd E:\Batch
    jar cfm test.jar m.txt test.class
    PAUSE"
    My m.txt contains this text:
    "Main-Class: test.class"
    The jar file is created. No errors.
    Then i try and run the jar with this:
    "cd E:\Batch
    java -jar test.jar
    PAUSE"
    I get "NoClassDefFoundError: test/class"
    All the dos command are run form batch files and everything is in the same directory.
    I've searched around google and this website for answers but i have failed to find anything.
    Does anyone have any suggestions i can try to fix this? I've ran out of ideas.

    Ah thats what the problem was. That was driving me
    mad thanks. So whatever you put in a jar file must be
    in a package or you can't run it.
    Message was edited by:
    JahvahNo. You can also not put it in a package, but when you specify the main-class attribute in the manifest file, be sure that you don't tell it that it is in a package.

  • Custom Concurrent Program works under one user, not the other

    Hi,
    We created a custom concurrent program in our 12.1 Windows EBS environment. This is a "host" concurrent program which executes a cmd file on the host.
    Using user A with responsibility X this program runs OK. Using user B with the same responsibilty X it does nothing. Request finishes completed, but it does nothing.
    With user B, if I remove the .exe from the %XX_TOP%\bin directory it ends in error. When I remove the .cmd from %XX_TOP%\bin it ends completed succesfully.
    User A and B have the same user preferences and the same profile option values at the user level.
    Can someone tell me what more to check to solve this problem?
    Thanks, Marco

    No the concurrent program is not user-dependent. It starts with copying a file from one directory to another and then starting a sqlloader process. But even if I only put an echo in the cmd file, it is not started when executing with user B. The concurrent request logfile is empty (besides the usual lines about program name,start/stop timestamps, printing info,etc. in it).
    I run the concurrent program under the same responsibility for both users.

  • Bill and Routing Interface concurrent program is not processing component

    Hi All,
    While running Bill and Routing Interface concurrent program,not processing the component item(Line Item) from bom_inventory_comps_interface,still it show process flag as 1. where as billing item(Header Item) is successfully done..i have tried with all the option by giving component sequence id and batch id still it is not processing component item..
    Is it recommendable to give bill sequence id and component sequence id in interface table using bom_inventory_component_s sequence..
    I will be very pleased if i listen from u guys... Plz help me in resolving this issue..
    My Header Insert Stmt..
    INSERT INTO apps.bom_bill_of_mtls_interface@system_link_visma
    (assembly_item_id, organization_id,
    alternate_bom_designator, last_update_date,
    last_updated_by, creation_date, created_by,
    revision, item_number, item_description,
    implementation_date, transaction_type,
    process_flag, assembly_type, batch_id
    VALUES (l_inv_item_id, l_org_id,
    NULL, SYSDATE,
    1318, SYSDATE, 1318,
    l_revision, l_item_num, l_description,
    SYSDATE, 'CREATE',
    1, 1, 10003535
    Component Insert stmt
    INSERT INTO apps.bom_inventory_comps_interface@system_link_visma
    (operation_seq_num, component_item_id,
    item_num, basis_type, component_quantity,
    auto_request_material, effectivity_date,
    disable_date, planning_factor,
    component_yield_factor,
    enforce_int_requirements,
    include_in_cost_rollup, wip_supply_type,
    supply_subinventory, supply_locator_id,
    check_atp, optional,
    mutually_exclusive_options,
    low_quantity, high_quantity,
    so_basis, shipping_allowed,
    include_on_ship_docs, required_to_ship,
    required_for_revenue, component_remarks,
    transaction_type, process_flag,
    assembly_item_id, component_item_number,
    batch_id,component_sequence_id
    VALUES (l_operation_seq, l_comp_item_id,
    cur2.item_sequence, l_basis, cur2.quantity,
    l_auto_request_mtls, cur2.from_date,
    cur2.TO_DATE, cur2.planning_factor,
    cur2.yield_factor,
    l_enforce_int_requirements,
    l_include_in_cost_rollup, l_supply_type,
    l_supply_subinventory, NULL,
    l_check_atp, l_optional,
    l_mutually_exclusive_options,
    cur2.minimum_quantity, cur2.maximum_quantity,
    l_sale_order_basis, l_shippable_flag,
    l_include_on_ship_docs, l_required_to_ship,
    l_required_for_revenue, cur2.comments,
    'CREATE', 1,
    l_inv_item_id, l_comp_item_num,
    10003535,apps.bom_inventory_components_s.nextval@system_link_visma
    For Subcomponent Insert Stmt
    INSERT INTO apps.bom_sub_comps_interface@system_link_visma
    (substitute_component_id,
    substitute_item_quantity,
    assembly_item_id, component_item_id,
    operation_seq_num, organization_id,
    substitute_comp_number,
    component_item_number,
    assembly_item_number,
    transaction_type, process_flag,
    enforce_int_requirements,
    effectivity_date,component_sequence_id,batch_id
    VALUES (l_sub_comp_item_id,
    cur3.quantity,
    l_inv_item_id, l_comp_item_id,
    cur2.operation_sequence, l_org_id,
    l_sub_comp_item_num,
    l_comp_item_num,
    l_item_num,
    'CREATE', 1,
    l_enforce_int_requirements,
    SYSDATE,apps.bom_inventory_components_s.currval@system_link_visma,10003535
    Thanks
    Raman Sharma
    Edited by: 929841 on May 4, 2012 12:28 AM
    Edited by: 929841 on May 4, 2012 2:58 AM

    You need to populate the organization_id or organization_code in bom_inventory_comps_interface.
    Here is a minimal insert
    INSERT INTO bom.bom_inventory_comps_interface
                (operation_seq_num, last_update_date, last_updated_by,
                 creation_date, created_by, process_flag, transaction_type,
                 bom_item_type,
                 effectivity_date, organization_code, assembly_item_number,
                 item_num, component_item_number, component_quantity
         VALUES (1                                                   -- op_seq_num
                 ,SYSDATE, 1433
                 ,SYSDATE, 1433, 1                                  -- process_flag
                 ,'Create',
                 4 -- bom_item_type 1 Model; 2 Option class; 3 Planning; 4 Standard; 5 Product family
                 ,SYSDATE - 1, 'PUB', 'SSGPARENT1'          -- assembly_item_number
                 ,10                                                     --item_num
                 , 'SSGCOMP1'                           -- component_item_number
                 , 10                                          --qty
                )Sandeep Gandhi

  • Error: While downloading the concurrent program

    I am trying to download the concurrent program using FNDLOAD command and I getting the error.
    Can anyone help me to resolve this
    FNDLOAD Command >
    FNDLOAD apps/PASSWORD@RTCDV1 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct XXAR3006_PROCA_CP.ldt PROGRAM CONCURRENT_PROGRAM_NAME="XXAR3006_HOSTA"
    ERROR Message
    APP-FND-01564: ORACLE error 12154 in AFPCOA
    Cause: AFPCOA failed due to Error while trying to retrieve text for error ORA-12154
    The SQL statement being executed at the time of the error was: and was executed from the file .
    Thanks in advance..
    Regards
    BS

    Hi,
    FNDLOAD apps/PASSWORD@RTCDV1 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct XXAR3006_PROCA_CP.ldt PROGRAM CONCURRENT_PROGRAM_NAME="XXAR3006_HOSTA"Try this syntax and see if it helps.
    FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt PROGRAM APPLICATION_SHORT_NAME="<Application Short Name>" CONCURRENT_PROGRAM_NAME="<Concurrent Program Name>"
    Note: 602267.1 - How to Export a Concurrent Program and Executable Using Fndload ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=602267.1
    Regards,
    Hussein

  • Question related to Java Concurrent Program

    Hi Friends,
    I have a basic question related to Java Concurrent Program in the Oracle application. I would like to know the how Java concurrent program is executed in Oracle applications.Also, want to know where can I find the document for the AOL packages for Java concurrent program. Document for packages like oracle.apps.fnd.cp.request.* , oracle.apps.fnd.util.*.
    Please let me know.
    -Thanks,
    Satya

    You may also check:
    Note: 250964.1 - How to Register Sample Java Concurrent Program
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=250964.1
    Note: 186301.1 - How to register and execute Java Concurrent Program ?in Oracle Applications R11i?
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=186301.1

  • Concurrnet Program of Executable type Host

    Hi All,
    I am facing some problems with Oracle Concurrent Programs whose executable type is 'Host'.
    The program is completing normal but not processing anything, it not even printing proper logs and even going in to shell script written in .prog file.
    Is it because, i had modified the .prog file and recreated the soft link??
    Can you please help.
    Thanks,
    S

    Hi,
    Please mention the application release and the OS.
    Have you completed all the steps in these documents?
    Note: 156636.1 - How to Register a Host Concurrent Program in Applications
    Note: 266268.1 - How To Create A Custom Concurrent Program With Host Method and Pass Parameters To The Shell Script
    Note: 170878.1 - How to Register a Host Concurrent Program for NT
    Thanks,
    Hussein

  • On Demand Alert vs Concurrent Program

    Hi,
    I am new to the e-Business Suite of tools and was wondering what the difference is between an Alert that you would define as "on demand" to run whenever the need arises, versus creating a concurrent program that you could create a request for whenever you need to run it? In general, when would an "on demand" alert be used versus a concurrent program? I'm asking because I have some SQL that I need executed every now and then (like once every 2-3 months) to spot check some numbers. I don't know if I should set this up as an On Demand alert or as a concurrent program. Would it be over-kill to create a concurrent program for this? Seems like more steps are necessary for concurrent programs.
    Any help is greatly appreciated.

    Hi,
    Oracle Alert facilitates the flow of information within your organization by letting you create entities called alerts to monitor your business information and to notify you of the information you want.
    Concurrent programs are executable file which you choose to run (or schedule) at certain time/date, but it does not notify you as Oracle Alert does.
    You can find more details about Oracle Alert and Concurrent Programs in "Oracle Alert User's Guide" and "Oracle Applications System Administrator's Guide Documentation Set".
    Applications Releases 11i and 12
    http://www.oracle.com/technology/documentation/applications.html
    Thanks,
    Hussein

  • Issue with class loading -  Java concurrent Program

    Hi ,
    We are facing a strange issue for one of our customer.
    Scenario :
    We have a Java Concurrent Program (A.java ) which refers another Java class (B.java) , we modified the file B.java for a fix and created a patch. after applying the patch and bouncing the apache ,we found that B.java is loaded the old version of the class file.
    We asked them to restart the concurrent manager and related services, still we see that old version of B.java is loaded. (confirmed by adding code throwing exception - throw new Exception from a specific line and found that its not getting thrown at run-time)
    Any clue on this?.
    Thanks
    Joseph George

    Deployed this file both tier - Database server tier and Application server tier.
    I have face same issue, Concurrent program not picking file application server tier. its picking file from database server tier.
    Thanks, Avaneesh

  • Oracle 11i System Profile Option - Concurrent Define and Executable

    I'm looking for what I think is a System Profile Option within Oracle Financials that will allow me to open Concurrent Program Define at the same time as Concurrent Program Executables so that I can copy and paste from one to the other. I can do this in our Dev. Environment but we recently refreshed the Test environment and I lost this ability.
    I'm using the System Administrator responsibility within 11i and am referring to where you define your concurrent programs and executables.
    I'm assuming this is a system profile option but I am unable to find it.
    Our version is 11.5.10.2

    Hello.
    I think you have the Close Other Forms check box option checked. In the main menu, choose the Tools menu and see how is this checkbox status.If it is checked, just unchek it. You will be able to open both forms at same time.
    Octavio

  • Remove duplicate record with a concurrent program

    Hi
    I have two nearly simliar records. I will remove one of them. It should be a program to do this.
    Any suggestion.
    Thanks

    Hi,
    It shoul be a conc. prog. for deleting (removing) duülicate records. Currently i am searching to find this prog.What is the point of removing this duplicate record using a concurrent program (not manually or using an API)? I believe this is no standard concurrent program to achieve this.
    Thanks,
    Hussein

  • Using Application Name twice while registering a Concurrent Program

    Hi,
    When we create a Concurrent PRogram,
    1) We first create an executable. In the executable screen, we give the name of the Application like Receivables, Payables etc.
    2) Next we Define the Concurrent program and attach the executable. Here also we give the Application Name like Receivables, Payables etc.
    Question is, when the executable already has information about the Application Name, then why do we have to give it again in the Concurrent Program Define Screen.
    Looking for a prompt response.
    Thanks
    Saurabh

    Hello Helios,
    I dont have any problem in creating a concurrent program or executable.
    I am just trying to understand the concept that why do we need to give the Application Name twice, one while Creating the Executable and one while define the Concurrent Program.
    Because if you look at the executable, we already have give the Application Name and then we attach this Execiutable to the Concurrent PRogram Defintiiion, then why again we give the Application name in the Concurrent PRogram Def Screen.
    Thanks
    Saurabh

  • BI Publisher Charts not getting displayed in concurrent program output

    Hi,
    I am using BI Publisher version 11.1.1.3.0 on Windows 7 with word 2007. After creating the Bar chart in RTF template of BI publisher when I load sample XML data and check it in "Preview" is displays the output correctly.
    My requirement is to print the charts in concurrent program's output on EBS version 12.1.1. (preferably HTML but PDF will also do) However when I run the concurrent program which processes the data definition and the RTF template registered for this report, the output is just an image of the chart. The XML output generated by the program is not reflected in the chart display at all. (I have verified that XML is generated properly)
    Can someone please let me know if there is some setup required to make the charts display properly in concurrent program output?
    I have also tried BI publisher version 10.1.3.2.1 for this. With this the concurrent program output is just blank. Not even an image is displayed.
    p.s. The program uses standard executable XDODTEXE (which is normally used to run BI publisher reports)
    Thanks,
    Archana

    Hi,
    I have finally found solution to this issue....
    Two setups are required to display the charts in the concurrent program's PDF output:
    1. We need to edit the variables CLASSPATH and AF_CLASSPATH. These variables should have the complete path added for the xdoparser.zip file on the server.
    2. The DISPLAY variable should be correctly setup to direct the server output.
    Also as per my findings so far, the BI (XML) publisher version 11.1.1.3.0 (or any 11g) does not work with EBS (at least for charts). We need to use BI publisher version which is XML 5.6.3 compatible for EBS. This version is 10.1.3.2.1. (patch 12395372) Now this 10g version does not work on Windows 7 so you need to use Windows XP!
    With this... finally... your charts should be getting displayed in EBS output...
    Cheers!! :-)
    Archana

Maybe you are looking for

  • View for mseg database table

    I want to extract data from MSEG. Its becoming performance issue. Can anybody advice me regarding any view which i can use in place of MSEG

  • Slideshows don't work when published to .mac

    After upgrading to iLife '08, the slideshows on my photo pages published from iWeb to .mac no longer work. They worked fine before. When I post to my web gallery directly from iPhoto, the slideshow works fine. I have checked to make sure the slidesho

  • RF Pick and Pack delivery going by material rather than bin location

    Hi All, During picking and packing through RF we are entering the TO number and after that packaging barcode. Everything is working fine but transaction has some kind of logic where its taking the warehouse picker around different aisles based upon m

  • Flash Builder and AIR 3.3 for Mac App Store

    The new AIR 3.3 will bring "Improved Mac App Store Support": http://labs.adobe.com/technologies/flashplatformruntimes/air3-3/ But I have 2 questions: In what way will have be the improvement ? What do different from the past in this aspect ? Will be

  • Error in Posted document of Depreciation.

    Hi Before running the depreciation with no error in test run, after the deperciation run. when we are checking the same in  AFBP (Posted Log), it is showing error in some posted document. If anyone have some idea of it please share with me. thanks in