How to read trace file content
Hi,
DB :11.2
How to read trace file content.It's only for ORACLE SUPPORT?
calling
call
entry
argument values in hex
location
type
point
(? means dubious value)
ksedst()+31
call
ksedst1()
000000000 ? 000000001 ?
7FFF19B98CA0 ? 7FFF19B98D00 ?
7FFF19B98C40 ? 000000000 ?
ksedmp()+610
call
ksedst()
000000000 ? 000000001 ?
7FFF19B98CA0 ? 7FFF19B98D00 ?
7FFF19B98C40 ? 000000000 ?
ksfdmp()+21
call
ksedmp()
000000003 ? 000000001 ?
7FFF19B98CA0 ? 7FFF19B98D00 ?
7FFF19B98C40 ? 000000000 ?
kgerinv()+161
call
ksfdmp()
000000003 ? 000000001 ?
7FFF19B98CA0 ? 7FFF19B98D00 ?
7FFF19B98C40 ? 000000000 ?
kgeasnmierr()+163
call
kgerinv()
0069107E0 ? 011F80370 ?
7FFF19B98D00 ? 7FFF19B98C40 ?
000000000 ? 000000000 ?
kssmov()+502
call
kgeasnmierr()
0069107E0 ? 011F80370 ?
7FFF19B98D00 ? 7FFF19B98C40 ?
000000029 ? 0D3F1C600 ?
kfncInitSlavePool() call
kssmov()
0D3F1C5D0 ? 000000000 ?
+203
7FFF19B98D00 ? 7FFF19B98C40 ?
000000029 ? 0D3F1C600 ?
kfncWorkMsgAlloc()+ call
kfncInitSlavePool() 0D3F1C5D0 ? 000000000 ?
83
7FFF19B98D00 ? 7FFF19B98C40 ?
000000029 ? 0D3F1C600 ?
kfncFileUnidentify( call
kfncWorkMsgAlloc() 0D3F1C5D0 ? 7FFF19B99AD0 ?
)+635
7FFF19B98D00 ? 7FFF19B98C40 ?
000000029 ? 0D3F1C600 ?
kffmRequestFree()+1 call
kfncFileUnidentify( 7FFF19B99BC8 ? 7FFF19B99BC0 ?
Br,
Raj
One needs to know the meaning of the kernel functions and their working within the oracle database. I guess, oracle support can do the analysis more easily as they have access to the software code as well necessary tools to interpret these internal routines.
Aman....
Similar Messages
-
How to read text file content in portal application?
Hi,
How do we read text file content in portal application?
Can anyone forward the code to do do?
Regards,
AnaghaCheck the code below. This help you to know how to read the text file content line by line. You can display as you require.
IUser user = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
IResourceContext resourceContext = new ResourceContext(user);
String filePath = "/documents/....";
RID rid = RID.getRID(filePath);
IResource resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
InputStream inputStream = resource.getContent().getInputStream();
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
String line = reader.readLine();
while(line!=null) {
line = reader.readLine();
//You can append in string buffer to get file content as string object//
Regards,
Yoga -
How to read entire file content in one XML tag?
Hi,
How can I read entire file content in one XML tag?
What specifications do I need to specify in Sender adapter?
regards,
Anirudh.Hi Chirag,
I am reading a flat file for File to Idoc scenario.
Target Idoc is nested which can not be populated with graphical mapping.
see below post for more detail.
[Mapping flat XML to nested IDOC using node functions |Mapping flat XML to nested IDOC using node functions;
The problem here is I'm not able to identify when to insert context change for child which is repeating for a repeating parent.
Solution therefore, I think is reading entire flat structure in one node and then use UDF to populated intermediate target with proper nesting.
Thats why I need to read entire XML.
regards,
Anirudh. -
How to read a file content from portal
Hi experts,
I have a file (xml or xlsx), which i have kept in D drive.
then using GUI_UPLOAD, i have read file content into internal table. then i am proceeding furthur.
but in real, my file will be in portal (means https:\\in.xyz.com\........\TEST.XML
in this case i can not use GUI_UPLOAD.
can any one suggest how can i achieve above. Thanks.
Regards,
Venkata PrasadHi venkata
try this code below
tables: znks_exceldb.
types: begin of wa_input,
emp_id type string,
name type string,
middle type string,
last_name type string,
address type string,
acc_num type string,
mobile type string,
end of wa_input.
data: gt_intern type kcde_intern.
data:gwa_intern type kcde_intern_struc.
data gt_input type table of wa_input.
data gwa_input like line of gt_input.
data it_tab type table of znks_exceldb.
data it_wa like line of it_tab.
constants c_seprator type c value ','.
parameters ex_file type localfile obligatory.
at selection-screen on value-request for ex_file.
call function 'F4_FILENAME'
* EXPORTING
* PROGRAM_NAME = SYST-CPROG
* DYNPRO_NUMBER = SYST-DYNNR
* FIELD_NAME = ' '
importing
file_name = ex_file.
start-of-selection.
perform readfile using ex_file.
perform insert.
perform display.
form readfile using ex_file type localfile.
data:lv_filename type rlgrap-filename.
data: lv_index type i.
field-symbols: <> type any.
lv_filename = ex_file.
call function 'KCD_CSV_FILE_TO_INTERN_CONVERT'
exporting
i_filename = lv_filename
i_separator = c_seprator
tables
e_intern = gt_intern
exceptions
upload_csv = 1
upload_filetype = 2
others = 3.
if sy-subrc <> 0.
* Implement suitable error handling here
endif.
loop at gt_intern into gwa_intern.
move gwa_intern-col to lv_index.
assign component lv_index of structure gwa_input to <>.
move:gwa_intern-value to <>.
at end of row.
append gwa_input to gt_input.
clear gwa_input.
endat.
endloop.
endform.
form insert.
loop at gt_input into gwa_input.
it_wa-emp_id = gwa_input-emp_id.
it_wa-name = gwa_input-name.
it_wa-middle = gwa_input-middle.
it_wa-last_name = gwa_input-last_name.
it_wa-address = gwa_input-address.
it_wa-mobile = gwa_input-mobile.
it_wa-acc_num = gwa_input-acc_num.
append it_wa to it_tab.
endloop.
insert znks_exceldb from table it_tab accepting duplicate keys.
endform.
form display.
loop at gt_input into gwa_input.
write :/ gwa_input-emp_id,
gwa_input-name,
gwa_input-middle,
gwa_input-last_name,
gwa_input-address,
gwa_input-mobile,
gwa_input-acc_num .
endloop.
endform.
Regards
Niraj Sinha -
How to read trace files alerted in the alert.log file
Hello,
My alert.log file indicated multiple trace files to review. How to read these trace files to understand the cause of errors. Do I open the trace files with vi and do a search for 'ORA-' error. Are there tools to read and understand trace files. Thank you.It depends what kind of trace file it is.
You can use vi or other text editing tool to open the trace file. The trace file usually provides more detailed information when you have ORA- errors in alert.log. It's also very helpful for Oracle support when troubleshooting. -
How to read a file content for editing?
Now i am using FileInputStream to read its content by bytes. How do i read the content line by line as string so that i am able to do some editing using replace().
public String load() throws FileNotFoundException, IOException {
BufferedReader r = new BufferedReader(new FileReader(new File(this.getClass().getResource(filename).getPath())));
String s = r.readLine();
StringBuffer result = new StringBuffer();
while (s != null) {
result.append(s + "\n");
s = r.readLine();
r.close();
return result.toString(); -
Deadlock occur how to read trace file session info
i got a dead lock & here is the part of trace from the call stack here i know one process but how i can get the inofrmation of
process 237 session 126 , i want to know which two process are involved in dead lock , i know table and rowid but i want to know the secod call stack or procedure if any one can help please reply .
*** 2010-08-16 17:32:48.038
*** SESSION ID:(126.255) 2010-08-16 17:32:47.880
DEADLOCK DETECTED ( ORA-00060 )
The following deadlock is not an ORACLE error. It is a
deadlock due to user error in the design of an application
or from issuing incorrect ad-hoc SQL. The following
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-001a0026-0002969f 237 126 X 253 147 X
TX-00010014-00020a0a 253 147 X 237 126 X
session 126: DID 0001-00ED-00000028 session 147: DID 0001-00FD-000000A0
session 147: DID 0001-00FD-000000A0 session 126: DID 0001-00ED-00000028
Rows waited on:
Session 147: obj - rowid = 00001209 - AAAEiHAA0AAACCzABA
(dictionary objn - 4617, file - 52, block - 8371, slot - 64)
Session 126: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
Session 147:
pid=253 serial=316 audsid=21499288 user: 77/<none>
O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
program:
client info: BPEL_MESSAGING 1.00 SHIPMENT_ACTUALS_SYNC MSG_INTF_BATCH
Current SQL Statement:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
----- PL/SQL Call Stack -----
object line object
handle number name
373209A0 74 package body GA_APPLICATION.DATALESS_KEY_PROCESSING_PKG
373209A0 156 package body GA_APPLICATION.DATALESS_KEY_PROCESSING_PKG
407DC818 247 package body GA_APPLICATION.MESSAGE_AND_HISTORY_PKG
407DC818 358 package body GA_APPLICATION.MESSAGE_AND_HISTORY_PKG
41502DC8 9705 package body GA_APPLICATION.BPEL_ORDER_PKG
41502DC8 5520 package body GA_APPLICATION.BPEL_ORDER_PKG
416091D0 1286 package body MSG_INTF_APPLICATION.ORDER_PKG
42C2C638 1 anonymous block
===================================================
PROCESS STATE
Process global information:
process: 31853F30, call: 36FF8998, xact: 3471B720, curses: 31B53BD8, usrses: 31B53BD8
SO: 31853F30, type: 2, owner: 0, flag: INIT/-/-/0x00
(process) Oracle pid=237, calls cur/top: 36FF8998/36FF8930, flag: (0) -
int error: 0, call error: 0, sess error: 0, txn error 0
(post info) last post received: 0 0 4
last post received-location: kslpsr
last process to post me: 3181e400 1 6
last post sent: 0 0 16
last post sent-location: ksasnd
last process posted by me: 3181e400 1 6
(latch info) wait_event=0 bits=0
Process Group: DEFAULT, pseudo proc: 31B01F50
O/S info: user: , term: , ospid: 000700E6
OSD pid info: OSDI process pid: 000700E6, image: MINBNDS
SO: 350BD728, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa6d60 incno=0 pending i/o cnt=0
SO: 350C2A98, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa62f0 incno=0 pending i/o cnt=0
SO: 350C28B8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9d0d0 incno=0 pending i/o cnt=0
SO: 350C25E8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa7fa8 incno=0 pending i/o cnt=0
SO: 350C0EC0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aaa438 incno=0 pending i/o cnt=0
SO: 350BB0A0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aaa190 incno=0 pending i/o cnt=0
SO: 350BB028, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa2c28 incno=0 pending i/o cnt=0
SO: 350BAF38, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9db40 incno=0 pending i/o cnt=0
SO: 350E12A8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa2990 incno=0 pending i/o cnt=0
SO: 350C8B88, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa07a8 incno=0 pending i/o cnt=0
SO: 350CB2D0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa14b0 incno=0 pending i/o cnt=0
SO: 350CB258, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa50b8 incno=0 pending i/o cnt=0
SO: 350DA3F0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aac620 incno=0 pending i/o cnt=0
SO: 35146570, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9e858 incno=0 pending i/o cnt=0
SO: 3516B278, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa4b78 incno=0 pending i/o cnt=0
SO: 35110D50, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa4e10 incno=0 pending i/o cnt=0
SO: 3510E380, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa8240 incno=0 pending i/o cnt=0
SO: 35109CB8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa19e0 incno=0 pending i/o cnt=0
SO: 35104030, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa48e0 incno=0 pending i/o cnt=0
SO: 350FFFB0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9f7f8 incno=0 pending i/o cnt=0
SO: 350FCD70, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa3400 incno=0 pending i/o cnt=0
SO: 350EF0A8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aab918 incno=0 pending i/o cnt=0
SO: 350E4650, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa6058 incno=0 pending i/o cnt=0
SO: 350D7930, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa84e8 incno=0 pending i/o cnt=0
SO: 35109E20, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa8cb0 incno=0 pending i/o cnt=0
SO: 350D6A00, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9cba0 incno=0 pending i/o cnt=0
SO: 350FAE98, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa1218 incno=0 pending i/o cnt=0
SO: 350FA5F8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9f560 incno=0 pending i/o cnt=0
SO: 350FA238, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9d8a8 incno=0 pending i/o cnt=0
SO: 350EDAE8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9c3c8 incno=0 pending i/o cnt=0
SO: 350EBF58, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aab140 incno=0 pending i/o cnt=0
SO: 350EBD00, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aacb50 incno=0 pending i/o cnt=0
SO: 350EBC88, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa21b8 incno=0 pending i/o cnt=0
SO: 350EBC10, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aaaea8 incno=0 pending i/o cnt=0
SO: 350D0238, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aac388 incno=0 pending i/o cnt=0
SO: 350CDF70, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aabbb0 incno=0 pending i/o cnt=0
SO: 350CDEF8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa1748 incno=0 pending i/o cnt=0
SO: 350CDE80, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa72a0 incno=0 pending i/o cnt=0
SO: 350CDE08, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa7538 incno=0 pending i/o cnt=0
SO: 350CDD90, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa6ac8 incno=0 pending i/o cnt=0
SO: 350CDD18, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9fd38 incno=0 pending i/o cnt=0
SO: 350CDB38, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa0a40 incno=0 pending i/o cnt=0
SO: 350CBEB8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aabe48 incno=0 pending i/o cnt=0
SO: 350CBA08, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9e080 incno=0 pending i/o cnt=0
SO: 350CB828, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa5350 incno=0 pending i/o cnt=0
SO: 350CB168, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa4108 incno=0 pending i/o cnt=0
SO: 350CB078, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa9720 incno=0 pending i/o cnt=0
SO: 350CB000, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9ce38 incno=0 pending i/o cnt=0
SO: 31B53BD8, type: 4, owner: 31853F30, flag: INIT/-/-/0x00
(session) trans: 3471B720, creator: 31853F30, flag: (100045) USR/- BSY/-/-/-/-/-
DID: 0001-00ED-00000028, short-term DID: 0000-0000-00000000
txn branch: 0
oct: 3, prv: 0, sql: 3731E1A8, psql: 3731E1A8, user: 77/<none>
O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
program:
client info: BPEL_Messaging 1.00 SO_SYNC MSG_INTF_BATCH
last wait for 'enqueue' blocking sess=0x31b60208 seq=11337 wait_time=3333245
name|mode=e3e70006, id1=10014, id2=20a0a
temporary object counter: 0
SO: 36D06490, type: 52, owner: 31B53BD8, flag: INIT/-/-/0x00
LIBRARY OBJECT PIN: pin=36d06490 handle=3731f318 mode=S lock=53af8dc8
user=31b53bd8 session=31b53bd8 count=1 mask=0041 savepoint=63373 flags=[00]
SO: 4C1AEF38, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=4c1aef38 handle=3eb115d8 mode=N
call pin=0 session pin=439995E8
htl=4C1AEF74[3403195C,510B35B8] htb=510B35B8
user=31b53bd8 session=31b53bd8 count=1 flags=[00] savepoint=63228
LIBRARY OBJECT HANDLE: handle=3eb115d8
namespace=CRSR flags=RON/KGHP/PN0/[10010000]
kkkk-dddd-llll=0000-0041-0041 lock=N pin=0 latch#=2
lwt=3EB115F0[3EB115F0,3EB115F0] ltm=3EB115F8[3EB115F8,3EB115F8]
pwt=3EB11608[3EB11608,3EB11608] ptm=3EB11660[3EB11660,3EB11660]
ref=3EB115E0[3EB11820, 3EB11820] lnd=3EB1166C[3EB1166C,3EB1166C]
LIBRARY OBJECT: object=3eb10850
type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
DEPENDENCIES: count=6 size=16
AUTHORIZATIONS: count=1 size=16 minimum entrysize=28
ACCESSES: count=2 size=16
TRANSLATIONS: count=2 size=16
DATA BLOCKS:
data# heap pointer status pins change
0 3eb10a60 3eb10608 I/P/A 0 NONE
6 3eb108f8 3eb0f3a8 I/-/A 0 NONE
SO: 4C1AF910, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=4c1af910 handle=3eb1e3b8 mode=N
call pin=46E24C60 session pin=0
htl=4C1AF94C[3502B6B4,510B3680] htb=510B3680
user=31b53bd8 session=31b53bd8 count=1 flags=[00] savepoint=63227
LIBRARY OBJECT HANDLE: handle=3eb1e3b8
name=
INSERT INTO PO_MSG ( PO_MSG_ID ,PO_ID ,PO_NBR ,PO_DT ,LOC_ACCT_ID ,PO_FORMAT ,DS_ID ,QGRD_TABLE_PROD_ID ,TRANS_MODE ,TRA
NS_TYPE_ID ,SPLIT_WHEN ,LEAD_CAR_NBR ,PO_STATUS ,ENABLE_EXTEND_AMT ,CONTROL_NBR ,SHIP_WHEN ,PO_TYPE ,PRINT_COPIES ,PRINT
PRICE ,GENERATESO ,RETURN_AUTHORIZE ,ASSESS_STATE_ID ,REPEAT_ORDER ,REPEAT_NBR_DAYS ,REPEAT_DAY ,REPEAT_DAYS ,REPEAT_U
NTIL_DT ,CURRENCY_ID ,CURR_RATE_TYPE_ID ,EXCH_RATE_AVG ,COMMENTS_EXIST ,CREATE_USER_ID ,CREATE_DT_TIME ,UPDATE_USER_ID ,
UPDATE_DT_TIME ,REPEAT_TRIGGER ,
hash=e58fc51 timestamp=08-15-2010 08:22:27
namespace=CRSR flags=RON/KGHP/TIM/PN0/[10010000]
kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=2
lwt=3EB1E3D0[3EB1E3D0,3EB1E3D0] ltm=3EB1E3D8[3EB1E3D8,3EB1E3D8]
pwt=3EB1E3E8[3EB1E3E8,3EB1E3E8] ptm=3EB1E440[3EB1E440,3EB1E440]
ref=3EB1E3C0[3EB1E3C0, 3EB1E3C0] lnd=3EB1E44C[3EAECA24,3EB20044]
LIBRARY OBJECT: object=3eb118f0
type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
CHILDREN: size=16
child# table reference handle
0 3eb11a98 3eb11820 3eb115d8
DATA BLOCKS:
data# heap pointer status pins change
0 3eb25b40 3eb11980 I/P/A 0 NONE
SO: 4C752940, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=4c752940 handle=3eb20cf8 mode=N
call pin=3B503AF8 session pin=0
htl=4C75297C[36856DD4,510B3628] htb=510B3628
user=31b53bd8 session=31b53bd8 count=2 flags=[00] savepoint=63218
LIBRARY OBJECT HANDLE: handle=3eb20cf8
name=GA_APPLICATION.PO_AUR
hash=92b14a46 timestamp=06-29-2010 21:08:46
namespace=TRGR flags=KGHP/TIM/SML/[02000000]
kkkk-dddd-llll=0000-0059-0059 lock=N pin=0 latch#=5
lwt=3EB20D10[3EB20D10,3EB20D10] ltm=3EB20D18[3EB20D18,3EB20D18]
pwt=3EB20D28[3EB20D28,3EB20D28] ptm=3EB20D80[3EB20D80,3EB20D80]
ref=3EB20D00[3EB20D00, 3EB20D00] lnd=3EB20D8C[3EAB046C,3EB79DFC]
LIBRARY OBJECT: object=3eb20c10
type=TRGR flags=EXS/LOC[0005] pflags=NST [01] status=VALD load=0
DEPENDENCIES: count=17 size=32
READ ONLY DEPENDENCIES: count=2 size=16
ACCESSES: count=5 size=16
DATA BLOCKS:
data# heap pointer status pins change
0 3eb25ba8 3eb208f0 I/-/A 0 NONE
3 3eb207d0 0 -/P/- 0 NONE
4 3eb20838 3eb1f558 I/-/A 0 NONE
6 3eb208a0 3eb1dd60 I/-/A 0 NONE
----------------------------------------Hi,
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-001a0026-0002969f 237 *126* X 253 *147* X
TX-00010014-00020a0a 253 *147* X 237 *126* X
session 126: DID 0001-00ED-00000028 session 147: DID 0001-00FD-000000A0
session 147: DID 0001-00FD-000000A0 session 126: DID 0001-00ED-00000028
Rows waited on:
Session 147: obj - rowid = 00001209 - AAAEiHAA0AAACCzABA
*(dictionary objn - 4617, file - 52, block - 8371, slot - 64)*
Session 126: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
*(dictionary objn - 4617, file - 52, block - 8370, slot - 29)*
Information on the OTHER waiting sessions:
Session 147:
pid=253 serial=316 audsid=21499288 user: 77/<none>
O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
program:
client info: BPEL_MESSAGING 1.00 SHIPMENT_ACTUALS_SYNC MSG_INTF_BATCH
Current SQL Statement:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
Has most of the information.
You have to check what session 126 and 147 were doing. It also gives you information on object_id and rowid where you had the lock by two sessions.
The culprit is FOR UPDATE OF NEXT_ID.
Regards
Edited by: skvaish1 on Aug 18, 2010 5:26 PM -
How to read a file content in a ordinary java program
Please help me is there is any method is available to read the content of the file.I am asking in pure java not in the servlets.Guys please help me.I got structed here
Reading a text file in the systems character encoding: use the class java.io.FileReader. You can wrap a BufferedReader around it to get better performance (and a simple way to read lines)
Reading a text file in another character encoding: use FileInputStream and convert it to a reader with:
InputStreamReader reader = new InputStreamReader(fileStream, encoding);
where encoding is the character encoding as a String (like "Cp850" or "UTF-16LE"). Again, you can wrap a BufferedReader around that reader.
Reading a binary file: open a FileInputStream to the file and just read the bytes from it. You can use BufferedInputStream for better performance and DataInputStream to get a simple way to read primitive types like double and char.
Please help me is there is any method is available to
read the content of the file.I am asking in pure java
not in the servlets.Guys please help me.I got structed
hereAren't servlets pure Java? -
Hi,
I have a package under which there are some procedures and functions.
I am supposed to generate the trace files for each run of the procedures in the package.
How to generate trace files? Pls help me out.
Thanks in advance
Regards,
VijayI dont have access to production server to see the
trace file. Is there a way to see the content of the
trace file from client machine?No. At least there isn't one without additional work from your administrator. I remember I've seen somewhere some kind of solution when user_dump_dest is used as oracle directory (specific oracle object) in your db and then use either external tables or utl_file or something like that to read the trace file. Of course this assumes your DBA should do some work before.
However I'd say that simply getting trace file from server is much easier :)
Consider, Autotrace option in sqlplus. With the help
of Autotrace set option, we can see the trace output
on the sqlplus screen for the anonymous blocks. Different tool, different behaviour.
Is there a way to see the trace for the stored
procedures?Explained above.
Gints Plivna
http://www.gplivna.eu -
Need to read text file content and have to display it in multiline text box
dear all,
Need to read text file content and have to display it in multiline text box.
actually im new to file handling. i have tried up to get_line and put_line.
in_file := TEXT_IO.FOPEN ('D:\SAMPLE.txt', 'r');
TEXT_IO.GET_LINE (in_file,linebuf);
i dont know how to assign this get_line function to text item
pls help me in this regards,Simply write:
in_file := TEXT_IO.FOPEN ('D:\SAMPLE.txt', 'r');
TEXT_IO.GET_LINE (in_file,linebuf);
:block2.t1 := chr(10)||:block2.t1||chr(10)||linebuf;
chr(10) --> is for new line character -
How to disable trace files in oracle version 11g
Senario : trace file are growing
How to disable trace files in oracle version 11g
pls guide with best practiceSHANOJ wrote:
Senario : trace file are growing
How to disable trace files in oracle version 11g
pls guide with best practiceIn 11g, there is an extensive tracing that happens for the reasons best known to Oracle only. But if you want to disable it, Coskan had published a small post mentioning an undocumented parameter(which means you must think twice before using it) to disable it- disablehealth_check* . You may want to read the complete post here,
http://coskan.wordpress.com/2009/06/03/too-many-trace_file-on-11g/
Aman.... -
How to read pmd files on mac?
How to read pmd files on mac?
There is no native support to open PageMaker documents on the Mac. I would check to see what PageMaker document versions that InDesign CS6 can open, ether on Mac or PC.
Adobe still has the trial of PageMaker 7 for Windows (Adobe link) and PM7 PDF, which you could install in Boot Camp, or Mac Virtual Machine in Windows 7.
I just checked the latest release of LibreOffice, and there is no support for PageMaker anything.
zamzar dot com does not support .pmd content. -
How to send the file contents in the application server to ftp server
Hi,
how to send the file contents in the application server to ftp server.
regards,
sreeTest SAP FTP functions
DATA: BEGIN OF MTAB_DATA OCCURS 0,
LINE(132) TYPE C,
END OF MTAB_DATA.
DATA: MC_PASSWORD(20) TYPE C,
MI_KEY TYPE I VALUE 26101957,
MI_PWD_LEN TYPE I,
MI_HANDLE TYPE I.
START-OF-SELECTION.
MC_PASSWORD = 'password'.
DESCRIBE FIELD MC_PASSWORD LENGTH MI_PWD_LEN.
*-- FTP_CONNECT requires an encrypted password to work
CALL 'AB_RFC_X_SCRAMBLE_STRING'
ID 'SOURCE' FIELD MC_PASSWORD ID 'KEY' FIELD MI_KEY
ID 'SCR' FIELD 'X' ID 'DESTINATION' FIELD MC_PASSWORD
ID 'DSTLEN' FIELD MI_PWD_LEN.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
USER = 'userid'
PASSWORD = MC_PASSWORD
HOST = 'servername'
RFC_DESTINATION = 'SAPFTP'
IMPORTING
HANDLE = MI_HANDLE
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2.
CHECK SY-SUBRC = 0.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
HANDLE = MI_HANDLE
COMMAND = 'dir'
TABLES
DATA = MTAB_DATA
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC = 0.
LOOP AT MTAB_DATA.
WRITE: / MTAB_DATA.
ENDLOOP.
ELSE.
do some error checking.
ENDIF.
CALL FUNCTION 'FTP_DISCONNECT'
EXPORTING
HANDLE = MI_HANDLE
EXCEPTIONS
OTHERS = 1.
Execute external commands (FTP Scripts)
The following code shows the syntax of the FM 'SXPG_COMMAND_EXECUTE'. You pass it the external command created within transaction SM69 and it will execute it.
DATA: ld_comline
LIKE sxpgcolist-name,
ld_param LIKE sxpgcolist-parameters,
ld_status LIKE extcmdexex-status,
ld_output LIKE btcxpm OCCURS 0 WITH HEADER LINE,
ld_subrc LIKE sy-subrc.
REFRESH ld_output.
MOVE 'FTP_DATA_IN' to ld_comline. "Maintained using trans SM69
Execute external command, contained in 'ld_comline'
CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
EXPORTING
commandname = ld_comline
additional_parameters = ld_param "Params passed to script
operatingsystem
= 'UNIX'
IMPORTING
status = ld_status
TABLES
exec_protocol = ld_output
EXCEPTIONS
no_permission
= 1
command_not_found
= 2
parameters_too_long
= 3
security_risk
= 4
wrong_check_call_interface = 5
program_start_error = 6
program_termination_error = 7
x_error = 8
parameter_expected = 9
too_many_parameters = 10
illegal_command = 11
wrong_asynchronous_parameters = 12
cant_enq_tbtco_entry
= 13
jobcount_generation_error
= 14
OTHERS
= 15.
IF sy-subrc NE 0.
ENDIF. -
How to read the file from a folder.
Hi All,
How to read the file from a folder or directory from the non sap server / remote server.
Regards
Sathisopen dataset filename for input in text mode
encoding default.
filename is character type variable with the destination filename.
Edited by: Jino Augustine on Apr 19, 2010 1:31 PM -
Reading trace file on the fly.
I came across one cool trick mentioned by Tanel Poder, but it doesn't seem to work for me. Could anyone please help in reading trace file on the fly.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL> !uname -a
Linux abc 2.6.16.60-0.34-smp #1 SMP Fri Jan 16 14:59:01 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
SQL> select value ||'/'||(select instance_name from v$instance) ||'_ora_'||
2 (select spid||case when traceid is not null then '_'||traceid else null end
from v$process where addr = (select paddr from v$session
3 4 where sid = (select sid from v$mystat
5 where rownum = 1
6 )
7 )
8 ) || '.trc' tracefile
9 from v$parameter where name = 'user_dump_dest'
10 /
TRACEFILE
/n01/oraadmin1/diag/rdbms/abc/inst1/trace/inst11_ora_28754.trc
SQL> host mknod /n01/oraadmin1/diag/rdbms/abc/inst1/trace/inst11_ora_28754.trc p
SQL> set define off
SQL> host grep "WAIT" /n01/oraadmin1/diag/rdbms/abc/inst1/trace/inst11_ora_28754.trc &
SQL> set define on
SQL> alter session set events '10046 trace name context forever, level 8';
Session altered.
SQL> select * from dual;
D
X
SQL>
SQL> select * from dual;
D
X
{code}
I dont get any WAIT printed into the pipe file created before tracing.
Am i doing something wrong here ?
Edited by: Yasu on Nov 12, 2012 10:14 AMI tried manual method and yes i am able to find WAIT lines in trace file.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL> select value ||'/'||(select instance_name from v$instance) ||'_ora_'||
(select spid||case when traceid is not null then '_'||traceid else null end
2 3 from v$process where addr = (select paddr from v$session
4 where sid = (select sid from v$mystat
5 where rownum = 1
6 )
7 )
8 ) || '.trc' tracefile
9 from v$parameter where name = 'user_dump_dest'
10 /
TRACEFILE
/n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
SQL> alter session set events '10046 trace name context forever, level 8';
Session altered.
SQL> select * from dual;
D
X
SQL> alter session set events '10046 trace name context off';
Session altered.
SQL> !ls -lrt /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
-rw-r----- 1 oracle oinstall 2738 2012-11-12 01:13 /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
SQL> !grep "WAIT" /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
WAIT #1: nam='SQL*Net message to client' ela= 6 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704368368424
WAIT #1: nam='SQL*Net message from client' ela= 4057810 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428142
WAIT #1: nam='SQL*Net message to client' ela= 6 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428492
WAIT #1: nam='SQL*Net message from client' ela= 195 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428892
WAIT #1: nam='SQL*Net message to client' ela= 3 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428939
WAIT #1: nam='SQL*Net message from client' ela= 46319788 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704418748740Not sure why using mknod fails in my case.
Edited by: Yasu on Nov 12, 2012 12:48 PM
Maybe you are looking for
-
First space on each monitor gets merged together on external monitor disconnect
I work on two displays and noticed that spaces act strangely when my external display gets disconnected. My setup might look something like: Laptop: Space 1 | Space 2 External Monitor: Space 3 | Space 4 | Space 5 What I would expect when disconnectin
-
Field Symbols and Dynamic references
Hello, I have Two internal tables Itab1 and Itab2 which are containing MATNR as field. Itab1-matnr contains the value as 123;456;789. I have two more Field-symbols Var1 and var2 which contains the values as <Var1> = itab1-matnr
-
Problem using "Create Business Rule Design Definition" utility
Hi everyone, I tried to create a business rule with Headstart Utilities - Create Business Rule Design Definition (Revision 6.0.0.20) and I got the following errors : Errors Message Combination of Message Prefix and Message Number (SGM-ENG) does not m
-
What is undo statement in oracle
hi, i`m not clear idea about undo statement,
-
Where to download Airport Utility 5.x
Hi, I'm trying to get my airport system up to date but when I try to install an update it says I need Airport Utility 5.0. I just surf apple support for an Hour at the least and can't find the **** program. If it's there it's certainly well hidden! M