Вы находитесь на странице: 1из 29

load status msg 0 S 25-Apr-09 08:33:31:

request_id 10981459

APPS_INITIALIZE begin fnd_global.apps_initialize(8854,20420,1,0); end;

APPLICATION PROGRAM FND FNDRSRSP

DESCRIPTION Responsibilities which access a Report or Set

START_TIME ARGUMENT1 ARGUMENT2 ARGUMENT3 ARGUMENT4 AR

ARGUMENT5 ARGUMENT6 ARGUMENT7 ARGUMENT8 ARGUMENT9 ARGUMENT10 ARGUMENT11 ARGUMENT12 ARGUMENT13

ARGUMENT14 ARGUMENT15 ARGUMENT16 ARGUMENT17 ARGUMENT18 ARGUMENT19 ARGUMENT20 ARGUMENT21 ARGUMENT22

ARGUMENT23 ARGUMENT24 ARGUMENT25 ARGUMENT26 ARGUMENT27 ARGUMENT28 ARGUMENT29 ARGUMENT30 ARGUMENT31

ARGUMENT32 ARGUMENT33 ARGUMENT34 ARGUMENT35 ARGUMENT36 ARGUMENT37 ARGUMENT38 ARGUMENT39 ARGUMENT40

ARGUMENT41 ARGUMENT42 ARGUMENT43 ARGUMENT44 ARGUMENT45 ARGUMENT46 ARGUMENT47 ARGUMENT48 ARGUMENT49

ARGUMENT50 ARGUMENT51 ARGUMENT52 ARGUMENT53 ARGUMENT54 ARGUMENT55 ARGUMENT56 ARGUMENT57 ARGUMENT58

ARGUMENT59 ARGUMENT60 ARGUMENT61 ARGUMENT62 ARGUMENT63 ARGUMENT64 ARGUMENT65 ARGUMENT66 ARGUMENT67

ARGUMENT68 ARGUMENT69 ARGUMENT70 ARGUMENT71 ARGUMENT72 ARGUMENT73 ARGUMENT74 ARGUMENT75 ARGUMENT76

ARGUMENT77 ARGUMENT78 ARGUMENT79 ARGUMENT80 ARGUMENT81 ARGUMENT82 ARGUMENT83 ARGUMENT84 ARGUMENT85

ARGUMENT86 ARGUMENT87 ARGUMENT88 ARGUMENT89 ARGUMENT90 ARGUMENT91 ARGUMENT92 ARGUMENT93 ARGUMENT94

ARGUMENT95 ARGUMENT96 ARGUMENT97 ARGUMENT98 ARGUMENT99 ARGUMENT100

column p_apps_initialize p_application p_program p_description p_start_time p_sub_request p_argument1 p_argument2 p_argument3 p_argument4 p_argument5 p_argument6 p_argument7 p_argument8 p_argument9 p_argument10 p_argument11 p_argument12 p_argument13 p_argument14 p_argument15 p_argument16 p_argument17 p_argument18 p_argument19 p_argument20 p_argument21 p_argument22 p_argument23 p_argument24 p_argument25 p_argument26 p_argument27 p_argument28 p_argument29 p_argument30 p_argument31 p_argument32 p_argument33 p_argument34 p_argument35 p_argument36 p_argument37 p_argument38 p_argument39 p_argument40 p_argument41 p_argument42 p_argument43 p_argument44 p_argument45 p_argument46 p_argument47 p_argument48 p_argument49 p_argument50 p_argument51 p_argument52

datatype default mapping V APPS_INITIALIZE V APPLICATION V PROGRAM V DESCRIPTION V START_TIME B SUB_REQUEST V ARGUMENT1 V ARGUMENT2 V ARGUMENT3 V ARGUMENT4 V ARGUMENT5 V ARGUMENT6 V ARGUMENT7 V ARGUMENT8 V ARGUMENT9 V ARGUMENT10 V ARGUMENT11 V ARGUMENT12 V ARGUMENT13 V ARGUMENT14 V ARGUMENT15 V ARGUMENT16 V ARGUMENT17 V ARGUMENT18 V ARGUMENT19 V ARGUMENT20 V ARGUMENT21 V ARGUMENT22 V ARGUMENT23 V ARGUMENT24 V ARGUMENT25 V ARGUMENT26 V ARGUMENT27 V ARGUMENT28 V ARGUMENT29 V ARGUMENT30 V ARGUMENT31 V ARGUMENT32 V ARGUMENT33 V ARGUMENT34 V ARGUMENT35 V ARGUMENT36 V ARGUMENT37 V ARGUMENT38 V ARGUMENT39 V ARGUMENT40 V ARGUMENT41 V ARGUMENT42 V ARGUMENT43 V ARGUMENT44 V ARGUMENT45 V ARGUMENT46 V ARGUMENT47 V ARGUMENT48 V ARGUMENT49 V ARGUMENT50 V ARGUMENT51 V ARGUMENT52

p_argument53 p_argument54 p_argument55 p_argument56 p_argument57 p_argument58 p_argument59 p_argument60 p_argument61 p_argument62 p_argument63 p_argument64 p_argument65 p_argument66 p_argument67 p_argument68 p_argument69 p_argument70 p_argument71 p_argument72 p_argument73 p_argument74 p_argument75 p_argument76 p_argument77 p_argument78 p_argument79 p_argument80 p_argument81 p_argument82 p_argument83 p_argument84 p_argument85 p_argument86 p_argument87 p_argument88 p_argument89 p_argument90 p_argument91 p_argument92 p_argument93 p_argument94 p_argument95 p_argument96 p_argument97 p_argument98 p_argument99 p_argument100

V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V

ARGUMENT53 ARGUMENT54 ARGUMENT55 ARGUMENT56 ARGUMENT57 ARGUMENT58 ARGUMENT59 ARGUMENT60 ARGUMENT61 ARGUMENT62 ARGUMENT63 ARGUMENT64 ARGUMENT65 ARGUMENT66 ARGUMENT67 ARGUMENT68 ARGUMENT69 ARGUMENT70 ARGUMENT71 ARGUMENT72 ARGUMENT73 ARGUMENT74 ARGUMENT75 ARGUMENT76 ARGUMENT77 ARGUMENT78 ARGUMENT79 ARGUMENT80 ARGUMENT81 ARGUMENT82 ARGUMENT83 ARGUMENT84 ARGUMENT85 ARGUMENT86 ARGUMENT87 ARGUMENT88 ARGUMENT89 ARGUMENT90 ARGUMENT91 ARGUMENT92 ARGUMENT93 ARGUMENT94 ARGUMENT95 ARGUMENT96 ARGUMENT97 ARGUMENT98 ARGUMENT99 ARGUMENT100

execute data mapping adaptor database username password appl username appl password logon plsql load method number of spoolfiles spool filename trace level trace filename date format commit resp name pause sec pause rows pause errors plsql

1 data mapping dev apps -148029-192454-210505-165484-213674

direct 1 c:\xls4oracle\sql\$filename\$datetime 0 C:\xls4oracle\dataload\trace\$filename_$datetime.log dd-MM-yyyy row commit 10 1000 3 declare p_apps_initialize varchar2(150); p_application varchar2(150); p_program varchar2(150); p_description varchar2(150); p_start_time varchar2(150); p_sub_request boolean := FALSE; p_argument1 varchar2(150) := ''; p_argument2 varchar2(150) := ''; p_argument3 varchar2(150) := ''; p_argument4 varchar2(150) := ''; p_argument5 varchar2(150) := ''; p_argument6 varchar2(150) := ''; p_argument7 varchar2(150) := ''; p_argument8 varchar2(150) := ''; p_argument9 varchar2(150) := ''; p_argument10 varchar2(150) := ''; p_argument11 varchar2(150) := ''; p_argument12 varchar2(150) := ''; p_argument13 varchar2(150) := ''; p_argument14 varchar2(150) := ''; p_argument15 varchar2(150) := ''; p_argument16 varchar2(150) := ''; p_argument17 varchar2(150) := ''; p_argument18 varchar2(150) := ''; p_argument19 varchar2(150) := ''; p_argument20 varchar2(150) := ''; p_argument21 varchar2(150) := ''; p_argument22 varchar2(150) := ''; p_argument23 varchar2(150) := ''; p_argument24 varchar2(150) := ''; p_argument25 varchar2(150) := ''; p_argument26 varchar2(150) := ''; p_argument27 varchar2(150) := ''; p_argument28 varchar2(150) := ''; p_argument29 varchar2(150) := ''; p_argument30 varchar2(150) := ''; p_argument31 varchar2(150) := ''; p_argument32 varchar2(150) := ''; p_argument33 varchar2(150) := ''; p_argument34 varchar2(150) := ''; p_argument35 varchar2(150) := '';

p_argument36 p_argument37 p_argument38 p_argument39 p_argument40 p_argument41 p_argument42 p_argument43 p_argument44 p_argument45 p_argument46 p_argument47 p_argument48 p_argument49 p_argument50 p_argument51 p_argument52 p_argument53 p_argument54 p_argument55 p_argument56 p_argument57 p_argument58 p_argument59 p_argument60 p_argument61 p_argument62 p_argument63 p_argument64 p_argument65 p_argument66 p_argument67 p_argument68 p_argument69 p_argument70 p_argument71 p_argument72 p_argument73 p_argument74 p_argument75 p_argument76 p_argument77 p_argument78 p_argument79 p_argument80 p_argument81 p_argument82 p_argument83 p_argument84 p_argument85 p_argument86 p_argument87 p_argument88 p_argument89 p_argument90 p_argument91 p_argument92 p_argument93 p_argument94 p_argument95 p_argument96 p_argument97 p_argument98

varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150) varchar2(150)

:= := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := := :=

''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; '';

p_argument99 varchar2(150) := ''; p_argument100 varchar2(150) := ''; v_req_id number; begin --$MAPPING if p_apps_initialize is not null then execute immediate p_apps_initialize ; end if; v_req_id := fnd_request.submit_request( APPLICATION => p_application, PROGRAM => p_program, DESCRIPTION => p_description, START_TIME => p_start_time, SUB_REQUEST => p_sub_request, ARGUMENT1 => p_argument1, ARGUMENT2 => p_argument2, ARGUMENT3 => p_argument3, ARGUMENT4 => p_argument4, ARGUMENT5 => p_argument5, ARGUMENT6 => p_argument6, ARGUMENT7 => p_argument7, ARGUMENT8 => p_argument8, ARGUMENT9 => p_argument9, ARGUMENT10 => p_argument10, ARGUMENT11 => p_argument11, ARGUMENT12 => p_argument12, ARGUMENT13 => p_argument13, ARGUMENT14 => p_argument14, ARGUMENT15 => p_argument15, ARGUMENT16 => p_argument16, ARGUMENT17 => p_argument17, ARGUMENT18 => p_argument18, ARGUMENT19 => p_argument19, ARGUMENT20 => p_argument20, ARGUMENT21 => p_argument21, ARGUMENT22 => p_argument22, ARGUMENT23 => p_argument23, ARGUMENT24 => p_argument24, ARGUMENT25 => p_argument25, ARGUMENT26 => p_argument26, ARGUMENT27 => p_argument27, ARGUMENT28 => p_argument28, ARGUMENT29 => p_argument29, ARGUMENT30 => p_argument30, ARGUMENT31 => p_argument31, ARGUMENT32 => p_argument32, ARGUMENT33 => p_argument33, ARGUMENT34 => p_argument34, ARGUMENT35 => p_argument35, ARGUMENT36 => p_argument36, ARGUMENT37 => p_argument37, ARGUMENT38 => p_argument38, ARGUMENT39 => p_argument39, ARGUMENT40 => p_argument40, ARGUMENT41 => p_argument41, ARGUMENT42 => p_argument42, ARGUMENT43 => p_argument43, ARGUMENT44 => p_argument44, ARGUMENT45 => p_argument45, ARGUMENT46 => p_argument46, ARGUMENT47 => p_argument47, ARGUMENT48 => p_argument48,

ARGUMENT49 => p_argument49, ARGUMENT50 => p_argument50, ARGUMENT51 => p_argument51, ARGUMENT52 => p_argument52, ARGUMENT53 => p_argument53, ARGUMENT54 => p_argument54, ARGUMENT55 => p_argument55, ARGUMENT56 => p_argument56, ARGUMENT57 => p_argument57, ARGUMENT58 => p_argument58, ARGUMENT59 => p_argument59, ARGUMENT60 => p_argument60, ARGUMENT61 => p_argument61, ARGUMENT62 => p_argument62, ARGUMENT63 => p_argument63, ARGUMENT64 => p_argument64, ARGUMENT65 => p_argument65, ARGUMENT66 => p_argument66, ARGUMENT67 => p_argument67, ARGUMENT68 => p_argument68, ARGUMENT69 => p_argument69, ARGUMENT70 => p_argument70, ARGUMENT71 => p_argument71, ARGUMENT72 => p_argument72, ARGUMENT73 => p_argument73, ARGUMENT74 => p_argument74, ARGUMENT75 => p_argument75, ARGUMENT76 => p_argument76, ARGUMENT77 => p_argument77, ARGUMENT78 => p_argument78, ARGUMENT79 => p_argument79, ARGUMENT80 => p_argument80, ARGUMENT81 => p_argument81, ARGUMENT82 => p_argument82, ARGUMENT83 => p_argument83, ARGUMENT84 => p_argument84, ARGUMENT85 => p_argument85, ARGUMENT86 => p_argument86, ARGUMENT87 => p_argument87, ARGUMENT88 => p_argument88, ARGUMENT89 => p_argument89, ARGUMENT90 => p_argument90, ARGUMENT91 => p_argument91, ARGUMENT92 => p_argument92, ARGUMENT93 => p_argument93, ARGUMENT94 => p_argument94, ARGUMENT95 => p_argument95, ARGUMENT96 => p_argument96, ARGUMENT97 => p_argument97, ARGUMENT98 => p_argument98, ARGUMENT99 => p_argument99, ARGUMENT100 => p_argument100 ); :x_status := 'S'; :x_msg_data1 := 'request_id ' || v_req_id; --$COMMIT exception when others then :x_status := 'E'; :x_msg_data1 := 'ERROR ' || v_req_id; end; /

if p_apps_initialise is not null then execute immediate p_apps_initialise ; end if;

execute database username password logon date format maxlines layout sheet pause rows pause sec email sql

0 dev apps

dd-MM-yyyy 100 Horisontal $conc request

select REQUEST_ID, REQUESTOR, USER_CONCURRENT_PROGRAM_NAME || decode(DESCRIPTION,null,'',' (' || DESCRIPTION || ')') name, PARENT_REQUEST_ID, decode(PHASE_CODE, 'I','Inactive', 'C','Completed', 'R','Running', 'P','Pending', PHASE_CODE) PHASE_CODE, decode(STATUS_CODE, 'C','Normal / C', 'W','Waiting / W', 'G','Warning / G', 'E','Error', 'I','Normal / I', 'R','Normal / R', 'Q','Standby / Q', 'D','Cancelled', 'X','Terminated', STATUS_CODE) STATUS_CODE, decode(ACTUAL_COMPLETION_DATE, null,null, round((ACTUAL_COMPLETION_DATE - ACTUAL_start_DATE)*24*60*60,3)) exec_time, COMPLETION_TEXT, ARGUMENT_TEXT, PRIORITY, REQUEST_DATE, REQUESTED_START_DATE, ACTUAL_START_DATE, ACTUAL_COMPLETION_DATE, PRINTER, PRINT_STYLE, USER_PRINT_STYLE, PROGRAM_SHORT_NAME, CONCURRENT_PROGRAM_ID, RESPONSIBILITY_APPLICATION_ID, PROGRAM_APPLICATION_ID, RESPONSIBILITY_ID, PRIORITY_REQUEST_ID, HOLD_FLAG, HAS_SUB_REQUEST, IS_SUB_REQUEST, UPDATE_PROTECTED, QUEUE_METHOD_CODE, SAVE_OUTPUT_FLAG, IMPLICIT_CODE, REQUEST_TYPE,

EXECUTION_METHOD_CODE, ENABLED from apps.FND_CONC_REQ_SUMMARY_V -- where requestor = fnd_global.USER_NAME where REQUEST_DATE >= sysdate - 1 --and PROGRAM_SHORT_NAME like ':short_name' --and request_id = 11560621 order by 1 desc

fcra.ARGUMENT57, fcra.ARGUMENT58, fcra.ARGUMENT59, fcra.ARGUMENT60, fcra.ARGUMENT61, fcra.ARGUMENT62, fcra.ARGUMENT63, fcra.ARGUMENT64, fcra.ARGUMENT65, fcra.ARGUMENT66, fcra.ARGUMENT67, fcra.ARGUMENT68, fcra.ARGUMENT69, fcra.ARGUMENT70, fcra.ARGUMENT71, fcra.ARGUMENT72, fcra.ARGUMENT73, fcra.ARGUMENT74, fcra.ARGUMENT75, fcra.ARGUMENT76, fcra.ARGUMENT77, fcra.ARGUMENT78, fcra.ARGUMENT79, fcra.ARGUMENT80, fcra.ARGUMENT81, fcra.ARGUMENT82, fcra.ARGUMENT83, fcra.ARGUMENT84, fcra.ARGUMENT85, fcra.ARGUMENT86, fcra.ARGUMENT87, fcra.ARGUMENT88, fcra.ARGUMENT89, fcra.ARGUMENT90, fcra.ARGUMENT91, fcra.ARGUMENT92, fcra.ARGUMENT93, fcra.ARGUMENT94, fcra.ARGUMENT95, fcra.ARGUMENT96, fcra.ARGUMENT97, fcra.ARGUMENT98, fcra.ARGUMENT99, fcra.ARGUMENT100 --select count(1) from apps.FND_CONC_REQ_SUMMARY_V fcrs,

apps.FND_CONCURRENT_REQUESTS fcr, apps.FND_CONC_REQUEST_ARGUMENTS fcra where fcrs.REQUEST_DATE > sysdate -2 --betwee and fcr.request_id = fcrs.request_id and fcra.request_id (+) = fcrs.request_id --and PROGRAM_SHORT_NAME like ':short_name' --and request_id = 11560621 order by fcrs.request_id

6 dev apps -148029-192454-210505-165484-213674 dd-MM-yyyy 1000 Horisontal $conc request 100 10 select 'begin fnd_global.apps_initialize(' || fcrs.REQUESTED_BY || ',' || fcrs.RESPONSIBILITY_ID || ',' || fcrs.RESPONSIBILITY_APPLICATION_ID || ',' || fcr.SECURITY_GROUP_ID || '); end;' apps_init, (select APPLICATION_SHORT_NAME from apps.FND_APPLICATION where APPLICATION_ID = fcrs.PROGRAM_APPLICATION_ID) appl_name, fcrs.PROGRAM_SHORT_NAME , fcrs.request_id description , '' start_time, fcr.ARGUMENT1, fcr.ARGUMENT2, fcr.ARGUMENT3, fcr.ARGUMENT4, fcr.ARGUMENT5, fcr.ARGUMENT6, fcr.ARGUMENT7, fcr.ARGUMENT8, fcr.ARGUMENT9, fcr.ARGUMENT10, fcr.ARGUMENT11, fcr.ARGUMENT12, fcr.ARGUMENT13, fcr.ARGUMENT14, fcr.ARGUMENT15, fcr.ARGUMENT16, fcr.ARGUMENT17, fcr.ARGUMENT18, fcr.ARGUMENT19, fcr.ARGUMENT20, fcr.ARGUMENT21, fcr.ARGUMENT22, fcr.ARGUMENT23, fcr.ARGUMENT24, fcr.ARGUMENT25, fcra.ARGUMENT26, fcra.ARGUMENT27, fcra.ARGUMENT28, fcra.ARGUMENT29, fcra.ARGUMENT30, fcra.ARGUMENT31, fcra.ARGUMENT32, fcra.ARGUMENT33, fcra.ARGUMENT34, fcra.ARGUMENT35, fcra.ARGUMENT36, fcra.ARGUMENT37, fcra.ARGUMENT38, fcra.ARGUMENT39,

fcra.ARGUMENT40, fcra.ARGUMENT41, fcra.ARGUMENT42, fcra.ARGUMENT43, fcra.ARGUMENT44, fcra.ARGUMENT45, fcra.ARGUMENT46, fcra.ARGUMENT47, fcra.ARGUMENT48, fcra.ARGUMENT49, fcra.ARGUMENT50, fcra.ARGUMENT51, fcra.ARGUMENT52, fcra.ARGUMENT53, fcra.ARGUMENT54, fcra.ARGUMENT55, fcra.ARGUMENT56, fcra.ARGUMENT57, fcra.ARGUMENT58, fcra.ARGUMENT59, fcra.ARGUMENT60, fcra.ARGUMENT61, fcra.ARGUMENT62, fcra.ARGUMENT63, fcra.ARGUMENT64, fcra.ARGUMENT65, fcra.ARGUMENT66, fcra.ARGUMENT67, fcra.ARGUMENT68, fcra.ARGUMENT69, fcra.ARGUMENT70, fcra.ARGUMENT71, fcra.ARGUMENT72, fcra.ARGUMENT73, fcra.ARGUMENT74, fcra.ARGUMENT75, fcra.ARGUMENT76, fcra.ARGUMENT77, fcra.ARGUMENT78, fcra.ARGUMENT79, fcra.ARGUMENT80, fcra.ARGUMENT81, fcra.ARGUMENT82, fcra.ARGUMENT83, fcra.ARGUMENT84, fcra.ARGUMENT85, fcra.ARGUMENT86, fcra.ARGUMENT87, fcra.ARGUMENT88, fcra.ARGUMENT89, fcra.ARGUMENT90, fcra.ARGUMENT91, fcra.ARGUMENT92, fcra.ARGUMENT93, fcra.ARGUMENT94, fcra.ARGUMENT95, fcra.ARGUMENT96, fcra.ARGUMENT97, fcra.ARGUMENT98, fcra.ARGUMENT99, fcra.ARGUMENT100 --select count(1) from apps.FND_CONC_REQ_SUMMARY_V fcrs,

apps.FND_CONCURRENT_REQUESTS fcr, apps.FND_CONC_REQUEST_ARGUMENTS fcra where fcrs.REQUEST_DATE > sysdate -2 --between sysdate - 100 and sysdate -20 and fcr.request_id = fcrs.request_id and fcra.request_id (+) = fcrs.request_id --and PROGRAM_SHORT_NAME like ':short_name' --and request_id = 11560621 order by fcrs.request_id