Unable to kill the concurrent program

Hi
I have two cocnurrent programs say TEST_PROG1, TEST_PROG2.
if i am submitting TEST_PROG1 then oracle session id and oracle process id are popluating in fnd_concurrent_requests table
where as if iam doing the same with TEST_PROG2 then oracle session id and oracle process id are populating as null.
Is there any configuration problem with the second problem?
And if i amtrying to kill the request of TEST_PROG2, Using the below query
SELECT s.SID,
s.serial#,s.audsid,r.oracle_session_id
FROM fnd_concurrent_requests r,
gv$session s
WHERE 1 =1
AND r.request_id = 2998345;
AND r.oracle_session_id = s.audsid(+);
AND r.request_date > TRUNC(SYSDATE-1)
AND r.status_code NOT IN ('C','E','D','X');
which is returning null .But iam using serial#, audsid to kill the session
using
l_sql := 'alter system kill session '''|| l_sid || ','||l_serial_number||'''';
but iam unable to kill the session as thwy are getting null from the above sql.
Please help me to resolve this.
Thanks
Satya

HI
Followed the link shared and in one of your replied i found the below
I am not sure why there are no values stored in FND_CONCURRENT_REQUESTS table (for some columns) when you submit such reports, and I believe if this is resolved you will be able to see the trace files generated. So, is it possible to register any of these custom reports in one of the standard responsibilities and see if the values in the table are populated and/or the trace file get generated then?
I have added my concurrent program to US HRMS Reports & Processes request group. But still the same problem
Thanks
Satya

Similar Messages

  • How to select multiple values from the Parameters in the concurrent program

    How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?

    I think there's no way to do that using standard feature.
    Some workaround I use :
    1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
    Selection1 : <choose first selection>
    Selection2: <choose 2nd selection>
    ..etc.
    If you don't use it then leave it empty.
    2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc.

  • 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

  • Output of the concurrent program in PDF - Reg

    Hi All,
    I have a requirement wherein i have to get the output of the concurrent program as a pdf file.
    I'm using the report file (.rdf) as the executable.
    When I'm giving the output as PDF in program definition, it errors out.
    The report is very complex and using XML publisher for getting a PDF output will be tedious one.
    Any pointers or tutorials will be of great help.
    Regards,
    Mohan

    Hi,
    "Program was terminated by signal 11
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request ********.
    Review your concurrent request log and/or report output file for more detailed information."
    The error message was not specific and i could not make out what it is.Please make sure that the DISPLAY is set properly as per (Note: 377748.1 - Postscript And PDF Reports Complete With 'Program Was Terminated By Signal 11'). Also, verify the value of Tk2Motif*fontMapCs as per (Note: 396336.1 - PDF Reports Fail With Program Was Terminated By Signal 11). Make sure you bounce the CM each time you do any modification.
    And regarding XML, can i get the PDF output from the concurrent program itself without using the XML publisher,by setting the output style as PDF??????Yes you can, create the concurrent program using reports builder and register it in the application with a PDF output format. If your database characterset is UTF8, then I believe you need to use XML publisher.
    Regards,
    Hussein

  • Error while registering the Concurrent Program

    Hi,
    I am getting the following error while registering the concurrent program.
    The executable is registered as shell script and this executable sends a mail with attachment. can any one of you tell me the cause of the error?
    ORA-20160: ORACLE error -4091 in SUBMIT: others
    Cause: SUBMIT: others failed due to ORA-04091: table APPLSYS.FND_CONCURRENT_PROGRAMS is mutating, trigger/function may not see it.
    The SQL statement being executed at the time of the error was: &SQLSTMT and was executed from the file &ERRFILE.
    ORA-06512: at "APPS.ALR_FND_CONCURRENT_PROGRAM_IAR", line 1
    ORA-04088: error during execution of trigger 'APPS.ALR_FND_CONCURRENT_PROGRAM_IAR'
    ORA-06512: at "APPS.FND_CONCURRENT_PROGRAMS_PKG", line 63
    FRM-40735: ON-INSERT trigger raised unhandled exception ORA-20160.
    Thanks in advance

    Check Note: 391795.1 - Frm-40735: On-Insert Trigger Raised Unhandled Exception Ora-04062 in APPS.FND_CONCURRENT_PROGRAMS_PKG
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=391795.1

  • Error while copying the concurrent program

    Hi Experts,
    I am working on EBS 11i and database 9i. When i am trying to copy the existing concurrent program,it's giving below error.
    Error: Please enter a unique segment name, the segment name is already defined for other segment.
    Could you somebody help me to get rid off this error.
    Thanks.

    While copying the concurrent program, what is the short name and name for the new concurrent program?
    Hope you are not giving the same name as the old CP.
    By
    Vamsi

  • Format changing after running the concurrent program for indentation

    Hi
    I have got an issue regarding indentation in rtf template. Actually in the template I have indentation or numbering in one format like david but after running the concurrent program in the temlate output I am getting the numbering in Latin letters. like
    I
    II
    III
    etc.
    can anyone please send me the resolution for this issue.
    Thanks and regards
    kk

    What is the application release?
    If you are on 11i, please make sure you have (Patch 8198363: INDENTATION PROBLEM WHILE GENERATING RTF OUTPUT USING RTF TEMPLATE) applied and check then.
    Thanks,
    Hussein

  • The Concurrent Program Error (Report)

    Hi,
    I am new to apps.
    Here i have created the sample report,
    the query is very simple
    select
    h.Segment1,
    h.creation_date,
    h.vendor_id,
    h.currency_code,
    s.vendor_name,
    l.line_num,
    l.item_id ,
    l.item_description,
    l.unit_meas_lookup_code,
    l.quantity,
    l.unit_price,
    Nvl(l.quantity,0)* Nvl(l.unit_price ,0) total
    from po_headers_all h,
         po_lines_all l,
         Ap_suppliers S
    where h.PO_HEADER_ID = l.PO_HEADER_ID
      and h.VENDOR_ID = s.VENDOR_ID
      and h.org_id = fnd_profile.value('ORG_ID')
      and H.Segment1 = :P_po_numberThe above query in report is call 'G-Segment1'. In which i add a formula column called CF_net_value,
    The reason to add the formula column is that i need to format currency using fnd format_currency
    so i add the following code in the formula column .
    function CF_Net_valueFormula return Number is
    begin
      srw.reference(:Currency);
      srw.reference(:total);
      srw.user_exit('FND FORMAT_CURRENCY
                   CODE=":Currency"
                   DISPLAY_WIDTH="15"
                   AMOUNT=":TOTAL"
                   DISPLAY=":Cf_net_value"
      Return(:cf_net_value);              
    end;In RTF template i am using the CF_net_value to display the Total (i think that will be formatted one).
    After the report deployment and run the concurrent program i am receive the following error.
    REP-1416: '': User exit 'G_Segment1'. .
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1416: '': User exit 'G_Segment1'. Please help me in this struggle.
    Thanks & Regards,
    Kanish

    Please post the details of the application release, database version and OS along with the developer version you are using.
    Please see if old threads help -- https://forums.oracle.com/forums/search.jspa?threadID=&q=REP-57054&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Date lov in the concurrent program parameter field

    Hi,
    I have a date parameter in the concurrent program. I need to have a date calendar for the parameter, can I have the data calendar? I am not sure if we can do that.
    Can anybody throw some light on this.
    Thanks a million
    Regards
    Ruma

    Hi swati
    u cannt create a multi select LOV for Apps concurrent program.
    Some of the options:
    -> Create different parameters. Also u cannt create parameters dynamically depending upon the number of options u want to give for that parameter, better fix the maximum no. of options say 5 .. ORG1, ORG2, ORG3, ORG4, ORG5
    -> If multi select LOV are of high priority, go for Discoverer if it is a Report.
    cheers
    chakoo

  • Plsql query to find out the concurrent programs attaching a plsql package

    I want to find all the concurrent programs attaching a particular package. Please provide me with the appropriate query to get that.

    Hello,
    1- First thing: we are talking about a SQL query (and not a PL/SQL query).
    2- I would like to add an additional filter to the query of shazi as the query should show only PL/SQL packages
    SELECT
    fcp.CONCURRENT_PROGRAM_ID
    ,fcp.concurrent_program_name
    , fcpt.user_concurrent_program_name
    , DECODE(fe.execution_method_code
    , 'I', 'PL/SQL'
    ,'P', 'Reports'
    ,'C', 'SQL Loader'
    ,'Q', 'SQL Plus'
    ,'K', 'Java'
    ,'H', 'OS executable'
    ,'B' , 'Req. Set Stage'
    ) EXECUTION_METHOD
    ,UPPER(EXECUTION_FILE_NAME) PACKAGE_BODY
    from
    fnd_concurrent_programs_tl fcpt
    , fnd_executables fe
    ,fnd_concurrent_programs fcp
    where 1=1
    --and fcpt.concurrent_program_id = fcr.concurrent_program_id
    and fe.executable_id = fcp.executable_id
    and fcpt.concurrent_program_id = fcp.concurrent_program_id
    and fe.execution_method_code = 'I' /* here's the additional filter */
    --and fcpt.user_concurrent_program_name = :P_USER_CONC_PROGRAM_NAME
    --fcp.concurrent_program_name = :P_CONC_PROGRAM_NAME /* using this filter would use an index */
    Lalaina

  • Unable to Kill the Consolidation task for HFM application

    User is unable to kill the Consolidation task in HFM application. Consolidation process which usually takes 2 mins has been showing status as running @79% since 4-6 hrs. User ID is has the provisioning manager, lock Data and unlock data provisions in Shared Services. The stop task button in the Running Tasks list is not enabled . Our Support team has advanced user access which is not also able to stop the task. Please note Admin access is restricted and not allowed for such tasks.

    I would check the HFM Log to see if you find anything referring to locked / blocked records.
    If your HFM app is killed in the middle of consolidating or performing other activities that requires it to 'lock' a segment of memory in the database, that 'lock' is still held on those data points when the application restarts.
    If you then try to perform another consolidation and it hits one of those locked data points, it will sit there for a very long amount of time waiting for the 'lock' to clear.
    I forget the exact error message that you will find in the log AND I forget the timeout period; however, it sucks having to wait through that.
    The other possibility that comes to mind is that the consolidation really aborted and the status didn't update. (once again check the logs)
    Charles

  • Cannot view the concurrent program.

    After the user schedule for the concurrent program, there is nothing appear in the concurrent program window. Actually, the concurrent program is running, but just the users cannot see it. How to solve this problem?

    I believe you can access reports run by other user if you set the profile option Concurrent:Report Access Level, and set by responsibility so that if the user has the same responsibility he/she maybe able to view all request run by user who has the same responsibility.
    HTH.

  • Show a message box after the concurrent program completes normal

    Hi,
    I have a requirement to show a message box with some message once the concurrent program is COMPLETED NORMAL.
    Can we do this through form customization or is there any other way??
    Thanks in advance
    Thanks,
    Venkat

    This will be difficult since concurrent program is running in the background, not from the form. So there's no event where you can capture this concurrent program status, well unless you refresh the view request every time, but that's very a manual way.
    The most possible way is to send an email rather than put up a message box.

  • DVR Message: Error: Unable to play the selected program. Please try again later.

    I just watched a recorded show in a series from my DVR (located in the living room) fine in my bedroom (non-DVR).  When I went to watch the next show, I get this error:  "DVR Message:  Error:  Unable to play the selected program.  Please try again later."
    However, if I go into my living room and try to watch that show from my DVR, I can watch it.  
    Any suggestions on what is happening?

    Hi there, I am very sorry about the trouble you are having with your DVR playback.  Here are a few things that you can try to get this issue resolved.  First try to unplug the DVR from the power for a full minute and restore power to the unit.  If that does not work try unplugging the power from your FIOS router for 30 seconds and restore power to the unit.  The light that is critical is the Coax LAN light if that light is not lit the DVR will not be able to communicate with the other set-top boxes.
    Hope this helps!
    --James
    --James
    Verizon Support
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • We can attach the concurrent program outuput to the mailID

    Hai to all !!!!
    While submitting the concurrent program its give any output for report/interface. thease output can we attach directly to the our mail-ID.it is possible? if yes , how?
    please tell me.....
    thanks
    subbu...

    echo "----------------------------------------------"
    echo "TEST iExpense Mail Sending Script"
    echo "----------------------------------------------"
    ##Run Environment File
    #. /u8/applprd/prdappl/APPSORA.env
    . /u8/applpred/preprdappl/APPSORA.env
    ##End of running environment file
    pi=$1
    echo
    #echo 'Input....: ' $pi
    V_FCP_LOGIN=`echo $pi | cut -f3 -d' ' | cut -f2 -d'"'`
    V_REQUEST_ID=`echo $pi | cut -f9 -d' ' | cut -f2 -d'"'`
    V_EMAIL_DIS_LIST=`echo $pi | cut -f10 -d' ' | cut -f2 -d'"'`
    V_OUTPUT_FILE_NAME=`echo $pi | cut -f11 -d' ' | cut -f2 -d'"'`
    #echo "FCP LOGIN ....: $V_FCP_LOGIN"
    echo "Request ID....: $V_REQUEST_ID"
    echo "Mail ID....: $V_EMAIL_DIS_LIST"
    echo "Output File Name....: $V_OUTPUT_FILE_NAME"
    #Changes done for oracle database login/password security purpose
    WHODB=$V_FCP_LOGIN
    #End of changes done for oracle database login/password security purpose
    ####----Getting the OutFile Details----####
    #Getting the OutFile Name
    #VALUE='sqlplus -silent apps/[email protected] <<END
    OUT_FILE_NAME=`sqlplus -silent $WHODB <<END
    set pagesize 0 feedback off verify off heading off echo off
    SELECT SUBSTR(FCR.OUTFILE_NAME,INSTR(FCR.OUTFILE_NAME,'/',-1)+1,(LENGTH(FCR.OUTFILE_NAME)-INSTR(FCR.OUTFILE_NAME,'/',-1)))
    FROM FND_CONCURRENT_REQUESTS FCR,FND_CONCURRENT_PROGRAMS FCP
    WHERE FCR.CONCURRENT_PROGRAM_ID=FCP.CONCURRENT_PROGRAM_ID
    AND REQUEST_ID=$V_REQUEST_ID;
    exit;
    END`
    echo
    #Check successful execution of procedure and outfile details
    echo
    if [ -z "$OUT_FILE_NAME" ]; then
    echo "No rows returned from database"
    exit 0
    else
    echo "OutFile Name....: $OUT_FILE_NAME"
    fi
    #Output File Path
    OUT_FILE_PATH=`sqlplus -silent $WHODB <<END
    set pagesize 0 feedback off verify off heading off echo off
    SELECT SUBSTR(FCR.OUTFILE_NAME,1,(INSTR(FCR.OUTFILE_NAME,'/',-1)-1))
    FROM FND_CONCURRENT_REQUESTS FCR,FND_CONCURRENT_PROGRAMS FCP
    WHERE FCR.CONCURRENT_PROGRAM_ID=FCP.CONCURRENT_PROGRAM_ID
    AND REQUEST_ID=$V_REQUEST_ID;
    exit;
    END`
    #Check successful execution of procedure and outfile details
    if [ -z "$OUT_FILE_PATH" ]; then
    echo "No rows returned from database"
    exit 0
    else
    echo "OutFile File Path....: $OUT_FILE_PATH"
    fi
    cd $OUT_FILE_PATH
    cp $OUT_FILE_NAME $V_OUTPUT_FILE_NAME.txt
    #cp *$V_REQUEST_ID*.PDF $V_OUTPUT_FILE_NAME.txt
    #echo "iExpense Report file name which sent to user"
    V_REPORT_NM=$OUT_FILE_PATH/$V_OUTPUT_FILE_NAME.txt
    echo "XML Report file name mail to user for reference : $V_REPORT_NM"
    echo
    echo
    echo "Mail ID checking and sending mail to that ID"
    echo
    if test -z "$V_EMAIL_DIS_LIST"; then
    echo
    echo "Email List Empty....No maill to be sent."
    else
    echo
    echo "Sending Mail...."
    uuencode "$V_REPORT_NM" "$V_REPORT_NM"| mailx -s "iExpense Report" "$V_EMAIL_DIS_LIST"
    echo
    echo "Mail has been sent successfully...."
    echo
    fi
    ##------------------------------------------------------------------------------------End--------------------------
    Use this script for sending any output.
    Thanks,
    Ajit

Maybe you are looking for