62: return TRUE;
63:
64: exception
65: when no_data_found then
66: FND_DCP.get_lk_handle(apid, cqid, cpid, lkhn, result);
67: if ( result = 1 ) then
68: CmLKHandles(cpid) := lkhn;
69: return TRUE;
70: else
529: TargetP := 1;
530: gothandle := get_handle(0, 0, 1, lkh);
531: if ( gothandle ) then
532: /*---------------------------------------------------------+
533: | Bug 2093806: Use FND_DCP.Check_Process_Status_By_Handle |
534: +---------------------------------------------------------*/
535: FND_DCP.check_process_status_by_handle(lkh, result, alive);
536: if (alive = 1) then
537: ActiveP := 1;
531: if ( gothandle ) then
532: /*---------------------------------------------------------+
533: | Bug 2093806: Use FND_DCP.Check_Process_Status_By_Handle |
534: +---------------------------------------------------------*/
535: FND_DCP.check_process_status_by_handle(lkh, result, alive);
536: if (alive = 1) then
537: ActiveP := 1;
538: elsif ((alive = 0) and ( result <> 0 )) then
539: /*-------------------------------------------------------+
536: if (alive = 1) then
537: ActiveP := 1;
538: elsif ((alive = 0) and ( result <> 0 )) then
539: /*-------------------------------------------------------+
540: | Message set by FND_DCP.Check_Process_Status_By_Handle |
541: | available for retreival. |
542: +-------------------------------------------------------*/
543: callstat := result;
544: end if;
572: gothandle := get_handle(C1REC.CONCURRENT_PROCESS_ID,
573: applid, managerid, lkh);
574: if ( gothandle ) then
575: /*---------------------------------------------------------+
576: | Bug 2093806: Use FND_DCP.Check_Process_Status_By_Handle |
577: +---------------------------------------------------------*/
578: FND_DCP.check_process_status_by_handle(lkh, result, alive);
579: if (alive = 1) then
580: i := i + 1;
574: if ( gothandle ) then
575: /*---------------------------------------------------------+
576: | Bug 2093806: Use FND_DCP.Check_Process_Status_By_Handle |
577: +---------------------------------------------------------*/
578: FND_DCP.check_process_status_by_handle(lkh, result, alive);
579: if (alive = 1) then
580: i := i + 1;
581: elsif ((alive = 0) and ( result <> 0 )) then
582: /*-------------------------------------------------------+
579: if (alive = 1) then
580: i := i + 1;
581: elsif ((alive = 0) and ( result <> 0 )) then
582: /*-------------------------------------------------------+
583: | Message set by FND_DCP.Check_Process_Status_By_Handle |
584: | available for retrieval. |
585: +-------------------------------------------------------*/
586: callstat := result;
587: end if;