See different perf. when run SQL within Weblogic or Pure JDBC call
Hi,
I am using weblogic 6.1sp2 with Weblogic JDriver for Oralce.When
I run the SQL within weblogic app server through stateless session bean,
it took 30s. But if I use Pure JDBC with same driver, it only took 10s,
it also took only 10s for SQLPlus.
Does anybody have the same problem? Is there any setting between
Weblogic App Server and Oracle DB?
Frank
Hi,
I am using weblogic 6.1sp2 with Weblogic JDriver for Oralce.When
I run the SQL within weblogic app server through stateless session bean,
it took 30s. But if I use Pure JDBC with same driver, it only took 10s,
it also took only 10s for SQLPlus.
Does anybody have the same problem? Is there any setting between
Weblogic App Server and Oracle DB?
Frank
Similar Messages
-
Ora-3113 when running sql in sqlplus mts. dedicated works fine
when i try to execute a simple query (return 1 row), from sqlplus (in the server database) by shared connection, i recive ora-3113. by dedicated conection it works fine. environment datas : server side (windows 2003 server; 10.2.0.1).
part of my trace file :
nsprecv: normal exit
nsrdr: got NSPTDA packet
nsrdr: NSPTDA flags: 0x40
nsrdr: normal exit
nsdo: entry
nsdo: cid=0, opcode=85, bl=2001, what=0, uflgs=0x0, cflgs=0x1
nsdo: nsctx: state=6, flg=0x620d, mvd=0
nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
nserror: entry
nsdo: error exit
nsdo: nsctxrnk=0
nsdo: error exit
nioqer: entry
nioqer: incoming err = 12151
nioqce: entry
nioqce: exit
nioqer: returning err = 3113
nioqer: exit
nioqrc: exit
nioqbr: entry
nioqbr: state = normal (0)
nioqsm: entry
nioqsm: Sending break packet (1)...
nsdo: entry
nsdo: cid=0, opcode=67, bl=1, what=17, uflgs=0x100, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=3, flg=0x420d, mvd=0
nsdo: nsctxrnk=0
nsdo: error exit
nioqsm: send-break: failed to send break...
nioqper: error from send-marker
nioqper: nr err code: 0
nioqper: ns main err code: 12583
nioqper: ns (2) err code: 0
nioqper: nt main err code: 0
nioqper: nt (2) err code: 0
nioqper: nt OS err code: 0
nioqsm: exit
nioqer: entry
nioqer: incoming err = 12152
nioqce: entry
nioqce: exit
nioqer: returning err = 3113
nioqer: exit
nioqbr: returning 3113
nioqbr: exit
nioqds: entry
nioqds: disconnecting...
thanksThread continued at -->
ora-3113 when running sql in sqlplus mts. dedicated works fine -
Screen message when run SQL / PLSQ script
Hi
Can anyone tell me how desactivate the message :
"Entry limited at xx caracters" ("Entree limitee a xx caracteres" in french) when running sql or plsql script ?
Thanks
it's like this:
EntrÃe limitÃe à 17 caractÃresI suppose you are talking about the message
"Input truncated to (number) characters."
This is caused by not having a carriage return at the end of the line. -
Strange issue when running sql with false condition
Hi,
I'm running this query from the application:
select 22
from DUAL
where ( to_number(0) <> 0 ) and exists (
select 'X'
from TABULA.macdent$FNCITEMS
where ( macdent$FNCITEMS.QIV = to_number(0) ) );
And it takes a long time because it is checking the second condition.
Even though the first one is False.
When running it through sqlplus it takes nothing. and of course no rows returns.
The 0 in to_number is a bind variable
it looks like this:
select :intvar
from DUAL
where ( to_number(:QIV$) <> 0 ) and exists ( select 'X'
from TABULA.macdent$FNCITEMS
where ( macdent$FNCITEMS.QIV = to_number(:QIV$) ) )
1 - filter predicate: ( IS NOT NULL AND 0<>TO_NUMBER(TO_CHAR(:QIV$)))
But in sqlplus the filter predicates is different.
1 - filter(NULL IS NOT NULL AND EXISTS (SELECT 0 FROM "TABULA"."MACDENT$FNCITEMS" "MACDENT$FNCITEMS" WHERE
SQL> select 22
from DUAL
where ( to_number(0) <> 0 ) and exists (
select 'X'
from TABULA.macdent$FNCITEMS
where ( macdent$FNCITEMS.QIV = to_number(0) ) );
2 3 4 5 6
no rows selected
Elapsed: 00:00:00.00
Execution Plan
Plan hash value: 883410849
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
Time | TQ |IN-OUT| PQ Distrib |
| 0 | SELECT STATEMENT | | 1 | | 0 (0)| | | | |
|* 1 | FILTER | | | | | | | | |
| 2 | FAST DUAL | | 1 | | 2 (0)|00:00:01 | | | |
| 3 | PX COORDINATOR | | | | | | | | |
| 4 | PX SEND QC (RANDOM)| :TQ10000 | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | P->S | QC (RAND) |
| 5 | PX BLOCK ITERATOR | | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | PCWC | |
|* 6 | TABLE ACCESS FULL| MACDENT$FNCITEMS | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | PCWP | |
Predicate Information (identified by operation id):
1 - filter(NULL IS NOT NULL AND EXISTS (SELECT 0 FROM "TABULA"."MACDENT$FNCITEMS" "MACDENT$FNCITEMS" WHERE
"MACDENT$FNCITEMS"."QIV"=0))
6 - filter("MACDENT$FNCITEMS"."QIV"=0)
ANY SUGGESTIONS?
Thanks,912294 wrote:
Hi,
I'm running this query from the application:
select 22
from DUAL
where ( to_number(0) <> 0 ) and exists (
select 'X'
from TABULA.macdent$FNCITEMS
where ( macdent$FNCITEMS.QIV = to_number(0) ) );
Why are you using "to_number(0)"? the zero is already seen by oracle as a number.
The to_number function expects to get a character string as the argument: to_number('0')
See the difference?
As you currently have it coded, you are forcing oracle to do an implicit conversion of the number zero to the character string '0' in order to pass it to to_number to convert it back to the number zero.
And what is the point of "where to_number(0) <> 0"
When would that EVER be true?
And it takes a long time because it is checking the second condition.
Even though the first one is False.
When running it through sqlplus it takes nothing. and of course no rows returns.
The 0 in to_number is a bind variable
it looks like this:
select :intvar
from DUAL
where ( to_number(:QIV$) <> 0 ) and exists ( select 'X'
from TABULA.macdent$FNCITEMS
where ( macdent$FNCITEMS.QIV = to_number(:QIV$) ) )
So the query you showed at the top is not the query we are really dealing with. What is the data type of QIV$? At least now we know that comparison to zero is not a fixed value.
1 - filter predicate: ( IS NOT NULL AND 0<>TO_NUMBER(TO_CHAR(:QIV$)))
This suggests QIV$ is already a number, else why would you pass it to to_char? And as I said above, if it is already a number, why pass it to to_number? Here you appear to be explicitly doing what I described oracle as implicitly doing in your first query above.
But in sqlplus the filter predicates is different.
1 - filter(NULL IS NOT NULL AND EXISTS (SELECT 0 FROM "TABULA"."MACDENT$FNCITEMS" "MACDENT$FNCITEMS" WHERE
SQL> select 22
from DUAL
where ( to_number(0) <> 0 ) and exists (
select 'X'
from TABULA.macdent$FNCITEMS
where ( macdent$FNCITEMS.QIV = to_number(0) ) );
2 3 4 5 6
no rows selected
Elapsed: 00:00:00.00
Execution Plan
Plan hash value: 883410849
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
Time | TQ |IN-OUT| PQ Distrib |
| 0 | SELECT STATEMENT | | 1 | | 0 (0)| | | | |
|* 1 | FILTER | | | | | | | | |
| 2 | FAST DUAL | | 1 | | 2 (0)|00:00:01 | | | |
| 3 | PX COORDINATOR | | | | | | | | |
| 4 | PX SEND QC (RANDOM)| :TQ10000 | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | P->S | QC (RAND) |
| 5 | PX BLOCK ITERATOR | | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | PCWC | |
|* 6 | TABLE ACCESS FULL| MACDENT$FNCITEMS | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | PCWP | |
Predicate Information (identified by operation id):
1 - filter(NULL IS NOT NULL AND EXISTS (SELECT 0 FROM "TABULA"."MACDENT$FNCITEMS" "MACDENT$FNCITEMS" WHERE
"MACDENT$FNCITEMS"."QIV"=0))
6 - filter("MACDENT$FNCITEMS"."QIV"=0)
ANY SUGGESTIONS?
Thanks, -
Compressor making MPEG/AC3 files of different lenghts when running 8 cores
Hey guys, first off I am running Compressor 3.0.2 on a MacPro 2.8 GHz 8 core machine. My problem is that my files come out to a different lenght when I use my qmaster cluster to access all 8 cores while encoding mov's to MPEG2 & AC3. The difference between MPEG and AC3's are normally between 3 and 12 frames.
What I have found is that if I use "My computer" instead of the cluster that files are exactly the same. It makes me think there is an error in the joining of the files at the end. Using my computer right now is an okay solution, but I rather use all 8 processors as it cuts compressing in half.
Matthewhi matthew,
seems a lot of people are having similar problems with compressor 3.02 (see the thread i started a couple days ago..) for me it's sending uncompressed mov's to compressor that are 23.98 fps. what is the framerate of your movies?
karl -
Winsock error when running SQL Server Stored Proc
I have a SQL Server stored procedure that is trying to read emails from an IMAP server (I am using mail.dll from www.limilabs.com).
The SP works fine on my local computer/db, and the code also runs fine when run from a console application on my remote server. When I try to run it from SQL Server however I get this error message:
Msg 6522, Level 16, State 1, Procedure GetEmails, Line 0A .NET Framework error occurred during execution of user-defined routine or aggregate "GetEmails": Limilabs.Client.ServerException: The requested name is valid, but no data of the requested type was found ---> System.Net.Sockets.SocketException: The requested name is valid, but no data of the requested type was foundSystem.Net.Sockets.SocketException: at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress) at System.Net.Sockets.Socket.Connect(String host, Int32 port) at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL)Limilabs.Client.ServerException: at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL) at StoredProcedures.GetEmails()
I suspect it is something to do with permissions (??) but it is beyond my knowledge of SQL Server. Anyone have some pointers? I am using the IP for the IMAP server, I have switched off the firewall.
ThanksReading emails in a stored procedure? Hm...
Unless you are impersonating the actual user in your CLR procedure, the access will be under the service account for SQL Server. If this is Local Servic or similar and may not have the permission or configuration to access whatever System.Net.Dns.InternalGetHostByName
is trying to access.
Try running SQL Server under a domain account to see what happens.
Erland Sommarskog, SQL Server MVP, [email protected] -
Hi
Creating an application to analyze .dmp files - all working well except this odd issue
If I open command prompt and enter this command:-
kd -z C:\Windows\MiniDump\042414-24632-01.dmp -c "!analyze -v"
Then it works and shows me all the output I need (shown at bottom of post)
If I run same command in VB.net using following code - then it doesn't give the same output - the bits I need at the end created by the !analyze -v switch don't appear
Any ideas why it is not seeing the switch correctly - setting a breakpoint and checking contents of startinfo seems to be showing correct cmd line i.e. "kd -z C:\windows\minidump\042414-24632-01.dmp -c "!analyze –v;q""
Dim myprocess As New Process()
myprocess.StartInfo.FileName = "C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\kd"
myprocess.StartInfo.Arguments = "-z C:\windows\minidump\042414-24632-01.dmp -c ""!analyze –v;q"""
myprocess.StartInfo.UseShellExecute = False
myprocess.StartInfo.RedirectStandardOutput = True
myprocess.StartInfo.CreateNoWindow = True
myprocess.Start()
TextBox1.AppendText(myprocess.StandardOutput.ReadToEnd())
Output when run from cmd prompt:-
C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86>kd -z C:\Windows\MiniDump\042414-24632-01.dmp -c "!analyze -v;q"
Microsoft (R) Windows Debugger Version 6.3.9600.17298 X86
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Windows\MiniDump\042414-24632-01.dmp]
Mini Kernel Dump File: Only registers and stack trace are available
Symbol search path is: *** Invalid ***
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
Executable search path is:
* Symbols can not be loaded because symbol path is not initialized. *
* The Symbol Path can be set by: *
* using the _NT_SYMBOL_PATH environment variable. *
* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2
*** WARNING: Unable to verify timestamp for ntkrnlpa.exe
*** ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe
Windows 7 Kernel Version 7601 (Service Pack 1) MP (4 procs) Free x86 compatible
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 7601.18205.x86fre.win7sp1_gdr.130708-1532
Machine Name:
Kernel base = 0x82e3e000 PsLoadedModuleList = 0x82f874d0
Debug session time: Thu Apr 24 13:36:18.672 2014 (UTC + 1:00)
System Uptime: 0 days 0:00:38.703
* Symbols can not be loaded because symbol path is not initialized. *
* The Symbol Path can be set by: *
* using the _NT_SYMBOL_PATH environment variable. *
* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2
*** WARNING: Unable to verify timestamp for ntkrnlpa.exe
*** ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe
Loading Kernel Symbols
Loading User Symbols
Loading unloaded module list
************* Symbol Loading Error Summary **************
Module name Error
ntkrnlpa The system cannot find the file specified
You can troubleshoot most symbol related issues by turning on symbol loading diagnostics (!sym noisy) and repeating the
command that caused symbols to be loaded.
You should also verify that your symbol search path (.sympath) is correct.
* Bugcheck Analysis *
Use !analyze -v to get detailed debugging information.
BugCheck 50, {afa99150, 0, 88c557d7, 0}
*** WARNING: Unable to verify timestamp for mssmbios.sys
*** ERROR: Module load completed but symbols could not be loaded for mssmbios.sys
*** WARNING: Unable to verify timestamp for mfehidk.sys
*** ERROR: Module load completed but symbols could not be loaded for mfehidk.sys
*** WARNING: Unable to verify timestamp for HipShieldK.sys
*** ERROR: Module load completed but symbols could not be loaded for HipShieldK.sys
***** Kernel symbols are WRONG. Please fix symbols to do analysis.
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** Type referenced: nt!_KPRCB ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** Type referenced: nt!_KPRCB ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** Type referenced: nt!_KPRCB ***
Probably caused by : mfehidk.sys ( mfehidk+377d7 )
Followup: MachineOwner
1: kd> kd: Reading initial command '!analyze -v;q'
* Bugcheck Analysis *
PAGE_FAULT_IN_NONPAGED_AREA (50)
Invalid system memory was referenced. This cannot be protected by try-except,
it must be protected by a Probe. Typically the address is just plain bad or it
is pointing at freed memory.
Arguments:
Arg1: afa99150, memory referenced.
Arg2: 00000000, value 0 = read operation, 1 = write operation.
Arg3: 88c557d7, If non-zero, the instruction address which referenced the bad memory
address.
Arg4: 00000000, (reserved)
Debugging Details:
***** Kernel symbols are WRONG. Please fix symbols to do analysis.
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** Type referenced: nt!_KPRCB ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** Type referenced: nt!_KPRCB ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** Type referenced: nt!_KPRCB ***
ADDITIONAL_DEBUG_TEXT:
You can run '.symfix; .reload' to try to fix the symbol path and load symbols.
MODULE_NAME: mfehidk
FAULTING_MODULE: 82e3e000 nt
DEBUG_FLR_IMAGE_TIMESTAMP: 4d2e1e3e
READ_ADDRESS: GetPointerFromAddress: unable to read from 00000000
GetPointerFromAddress: unable to read from 00000000
unable to get nt!MmSpecialPoolStart
unable to get nt!MmSpecialPoolEnd
unable to get nt!MmPagedPoolEnd
unable to get nt!MmNonPagedPoolStart
unable to get nt!MmSizeOfNonPagedPoolInBytes
afa99150
FAULTING_IP:
mfehidk+377d7
88c557d7 0fb70c06 movzx ecx,word ptr [esi+eax]
MM_INTERNAL_CODE: 0
CUSTOMER_CRASH_COUNT: 1
DEFAULT_BUCKET_ID: WIN7_DRIVER_FAULT
BUGCHECK_STR: 0x50
CURRENT_IRQL: 0
ANALYSIS_VERSION: 6.3.9600.17298 (debuggers(dbg).141024-1500) x86fre
LAST_CONTROL_TRANSFER: from 82e7eaa8 to 82ecb879
STACK_TEXT:
WARNING: Stack unwind information not available. Following frames may be wrong.
ad0baf90 82e7eaa8 00000000 afa99150 00000000 nt+0x8d879
ad0bafa8 88c557d7 badb0d00 00000000 88c4ceb0 nt+0x40aa8
ad0bb040 88c4f97d 001a99b0 afa91000 00000000 mfehidk+0x377d7
ad0bb090 88c52b16 00770220 ad0bb0fc 00000010 mfehidk+0x3197d
ad0bb0bc 98d5fb73 ae770220 ad0bb0fc 00000010 mfehidk+0x34b16
ad0bb140 98d5fc43 ae738c30 98d6b62a aace7220 HipShieldK+0xb73
ad0bb168 98d6b882 ad0bb19c 00000000 98d77b44 HipShieldK+0xc43
ad0bb1b8 98d631a9 00000bd4 0000102c ad0bb208 HipShieldK+0xc882
ad0bb330 88c47795 00000bd4 0000102c ad0bb401 HipShieldK+0x41a9
ad0bb400 88c22b57 0000102c ad0bb460 85b3dee0 mfehidk+0x29795
ad0bb41c 88c232c6 ad0bb430 0000000c 8c4b6ce0 mfehidk+0x4b57
ad0bb43c 830a5acb adb6b9b8 0000102c ad0bb460 mfehidk+0x52c6
ad0bb4f4 830adaf8 adb16030 01b6b9b8 ad0bb550 nt+0x267acb
ad0bbc00 82e7b8c6 038ae710 038ae6ec 02000000 nt+0x26faf8
ad0bbc34 77a470f4 badb0d00 038ae3dc 00000000 nt+0x3d8c6
ad0bbc38 badb0d00 038ae3dc 00000000 00000000 0x77a470f4
ad0bbc3c 038ae3dc 00000000 00000000 00000000 0xbadb0d00
ad0bbc40 00000000 00000000 00000000 00000000 0x38ae3dc
STACK_COMMAND: kb
FOLLOWUP_IP:
mfehidk+377d7
88c557d7 0fb70c06 movzx ecx,word ptr [esi+eax]
SYMBOL_STACK_INDEX: 2
SYMBOL_NAME: mfehidk+377d7
FOLLOWUP_NAME: MachineOwner
IMAGE_NAME: mfehidk.sys
BUCKET_ID: WRONG_SYMBOLS
FAILURE_BUCKET_ID: WRONG_SYMBOLS
ANALYSIS_SOURCE: KM
FAILURE_ID_HASH_STRING: km:wrong_symbols
FAILURE_ID_HASH: {70b057e8-2462-896f-28e7-ac72d4d365f8}
Followup: MachineOwner
quit:
output when run in my app:-
Microsoft (R) Windows Debugger Version 6.3.9600.17298 X86
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Windows\MiniDump\042414-24632-01.dmp]
Mini Kernel Dump File: Only registers and stack trace are available
Symbol search path is: *** Invalid ***
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
Executable search path is:
* Symbols can not be loaded because symbol path is not initialized. *
* The Symbol Path can be set by: *
* using the _NT_SYMBOL_PATH environment variable. *
* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2
*** WARNING: Unable to verify timestamp for ntkrnlpa.exe
*** ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe
Windows 7 Kernel Version 7601 (Service Pack 1) MP (4 procs) Free x86 compatible
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 7601.18205.x86fre.win7sp1_gdr.130708-1532
Machine Name:
Kernel base = 0x82e3e000 PsLoadedModuleList = 0x82f874d0
Debug session time: Thu Apr 24 13:36:18.672 2014 (UTC + 1:00)
System Uptime: 0 days 0:00:38.703
* Symbols can not be loaded because symbol path is not initialized. *
* The Symbol Path can be set by: *
* using the _NT_SYMBOL_PATH environment variable. *
* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2
*** WARNING: Unable to verify timestamp for ntkrnlpa.exe
*** ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe
Loading Kernel Symbols
Loading User Symbols
Loading unloaded module list
************* Symbol Loading Error Summary **************
Module name Error
ntkrnlpa The system cannot find the file specified
You can troubleshoot most symbol related issues by turning on symbol loading diagnostics (!sym noisy) and repeating the
command that caused symbols to be loaded.
You should also verify that your symbol search path (.sympath) is correct.
* Bugcheck Analysis *
Use !analyze -v to get detailed debugging information.
BugCheck 50, {afa99150, 0, 88c557d7, 0}
*** WARNING: Unable to verify timestamp for mssmbios.sys
*** ERROR: Module load completed but symbols could not be loaded for mssmbios.sys
*** WARNING: Unable to verify timestamp for mfehidk.sys
*** ERROR: Module load completed but symbols could not be loaded for mfehidk.sys
*** WARNING: Unable to verify timestamp for HipShieldK.sys
*** ERROR: Module load completed but symbols could not be loaded for HipShieldK.sys
***** Kernel symbols are WRONG. Please fix symbols to do analysis.
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** Type referenced: nt!_KPRCB ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** Type referenced: nt!_KPRCB ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** Type referenced: nt!_KPRCB ***
Probably caused by : mfehidk.sys ( mfehidk+377d7 )
Followup: MachineOwner
Darren RoseTry it by opening the Cmd prompt as the actual process and passing the Filename and its arguments as the arguments of the Cmd process. If you notice there is a "-C" before the Filename and Arguments in this example. The "-C"
tells the cmd to execute the commands and then close itself. You can also use a "-K" which tells the cmd to execute the commands and keep itself open. Being you are not showing the cmd window you don`t want to keep it opened because the
user can`t close it so, that is why i used "-C".
I don`t have the program so, you can just experiment to see what it does. Maybe you should try using "-K" and show the cmd window by commenting out the CreateNoWindow line so you can see what is in the cmd window while testing.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim filepath As String = """C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\kd"""
Dim args As String = " -z C:\windows\minidump\042414-24632-01.dmp -c ""!analyze –v;q"""
Dim p As New Process
With p.StartInfo
.FileName = "cmd.exe"
.Arguments = "-c " & filepath & args
.UseShellExecute = False
.CreateNoWindow = True
.RedirectStandardOutput = True
End With
p.Start()
TextBox1.Text = p.StandardOutput.ReadToEnd
End Sub
If you say it can`t be done then i`ll try it -
Getting Error when running sql from concurrent program in R12
Hi All,
I created concurrent program and attached EXECUTABLE which executable method as SQL plus .
Using this program I am running one SQL file in R12 when I am running I am getting below error .
Same king of program I have define in 11i and running it is running can anyone please help me if I need to do any set ups or security thing to resave this problem.
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[<password>][@<connect_identifier>] | /
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[<password>][@<connect_identifier>] | /
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 3162719.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Regrds,
Sridhar.user12000862 wrote:
Hi all,
Thanks a lot giving replay below simple code I have put in my SQL file for testing Eventhough it is giving error .
Table which i am using in Apps schema only.
declare
BEGIN
insert into BRCD_HZ_DNB_XTBL_TEST values (666,'Y','547','Y','12254','TESTING','N','Y');
commit;
END;
/Try this instead
WHENEVER SQLERROR EXIT FAILURE ROLLBACK;
WHENEVER OSERROR EXIT FAILURE ROLLBACK;
insert into BRCD_HZ_DNB_XTBL_TEST values (666,'Y','547','Y','12254','TESTING','N','Y');
commit;
exit;HTH
Srini -
Insufficient privilege when run SQL in PL/SQL Developer
Hi,
My developer had strange behavior when run below SQL from PL/SQL Developer. It will come out with "*Insufficient Privileges*" message.
SELECT Fiscal
FROM pmaps_fiscalweekonly
WHERE intend >= trunc(sysdate)
AND rownum < 5
ORDER BY intend ASC;
Same SQL run without any problem in SQLPLUS and SQL Developer.
But if we use small asc instead capital ASC, it run without problem also in PL/SQL Developer.
SELECT Fiscal
FROM pmaps_fiscalweekonly
WHERE intend >= trunc(sysdate)
AND rownum < 5
ORDER BY intend asc;
Kindly check if someone have any idea.
ZlTzhilongtan wrote:
But the privilege problem only happened when capital ASC keyword was used in ORDER BY clause. If small asc keyword was used, it run without problem.
It seems to me, it does not relate with privilege or role grant. Please advise. Thanks.
ZlT.I think you should sk this question in a support forum for PL/SQL Developer. The possible bug seems directly connected to this tool. If I remember rightly then this tool is from ALLAutomations. You should ask them. THis forum would be the wrong place to ask.
Edited by: Sven W. on Aug 30, 2010 5:24 PM -
Why Do I get different result when Run as Admin to Standard?
Why when Running this script to copy from the "config64" folder (if files exist)(if not copy from "config32") if works correctly when running Batch file normally (copies the config64), but using the exact same line when running
the Batch file as "Run as Administrator" it doesn't work correctly (copies the config32, even though Files do exist config64 folder as they did when I ran it normally and it worked)
>nul 2>nul dir /a-d "Folder\config64\*" /s && (XCOPY "%~dp0Folder\config64\File64.ini" "%ProgramFiles(x86)%\CompanyFolder\ProductFolder\" /y /d) || (XCOPY "%~dp0Folder\config32\File32.ini" "%ProgramFiles(x86)%\CompanyFolder\ProductFolder\" /y /d)
UAC is turned off and I'm the administrator (only user on a standalone PC) running windows 8.1.
Is there a reason or it is a strange bug with Windows 8.1?A LOT more intellectual than
Frederik Long Who just had no clue himself to not offer an answer. As I've only been looking at this for 2 weeks I think I've come far and you help is much appreciated. Thank you JRV!
You seem to miss the point. Assuming that your problem is caused by a bug can prevent you from finding the real cause. If you had dismissed the bug theory then you might have done some real debugging, e.g. by breaking up your single-line script (which is
hard to comprehend) into easily digestible pieces and adding some debugging code like so:
@echo off
set Target="%ProgramFiles(x86)%\ComapanyFolder\ProductFolder\"
dir /a-d "Folder\config64\*" /s 1>c:\Test.log 2>&1
if %ErrorLevel% EQU 0 (
XCOPY "%~dp0Folder\config64\File64.ini" %Target% /y /d /s 1>>c:\Test.log 2>>&1
) else (
XCOPY "%~dp0Folder\config32\File32.ini" %Target% /y /d /s 1>>c:\Test.log 2>>&1
The log file would have told you quickly what is going on. Furthermore - why should I offer my own solution to your problem when JRV gave you a perfect answer straight away? -
How to see DBMS_OUTPUT error when pl/sql proc runs in the EM job scheduler?
I have a pl/sql package that uses DBMS_OUTPUT to handle exceptions. When I run the package in sql*plus:
set serveroutput on;
begin
mypkg.myproc;
end;
and there is an exception, I see the output from my DBMS_OUTPUT.PUT_LINE.
However, when I use the job scheduler in Enterprise Manager... if there is an error, I do not see the output from my exception handling code (i.e., the output from DBMS_OUTPUT.PUT_LINE).Using DBMS_OUTPUT to handle exceptions is generally not considered good form. At a minimum, you would want to log the exception to a table (or a file). If you are catching an exception that you cannot handle, you would really want to let that propagate back up to the caller so that Oracle knows that the job failed and can take appropriate action (i.e. retrying, not running dependent jobs, notifying a DBA, etc).
Justin -
Connection error when running sql*plus from within a Makefile
As part of our build process the commands to install/update our database schema are executed from a Makefile (along with all the other build/test commands). We've been running our build under several system configurations, but have hit a hitch with one specific one. So far this has worked with Windows XP (cygwin) against a Express Edition DB and Red Hat ES 5 against Oracle 11g.
I am now trying to get the build running on a Ubuntu 8.04 workstation with the Oracle Express Edition installed. From the command line I can execute a simple command line such:
echo "SELECT 5 as foo from dual"|sqlplus user/password
Now if I put the same command in a Makefile, I receive the following error message:
ERROR:
ORA-01034: ORACLE not available
ORA-27123: unable to attach to shared memory segment
Linux Error: 22: Invalid argument
Additional information: 1
Additional information: 32769
This error seems to pop up a lot when a client is not properly configured (atleast the googling I've done has said as much), but my client is clearly working as I can connect outside of the Makefile. Is there possible some info that gets lost when make executes the process? Any ideas of what I could do to fix this?see 115753.1 note on metalink , it clearly explains why you are encountering this .
-
Not able to see full output when run in backgroun
This is a continuation of my question I previously asked:
I was trying to write a simple list with lot of headings.
For example:
WRITE: /6 'TitleA', 29 'TitleB', 55 'TitleC', 80 'TitleD', 106 'TitleE',
131 'TitleF', 157 'TitleG', 172 'TitleH', 198 'TitleI'.(it goes upto 400 characters)
I could not see the list titles after a particular length. So, I adjusted the settings to more than 255 in the report title and yes I can see the full output now. But I can not see the full output (and not able to print full) when I run the report in background.
So what can I do to see (and able to print) the full output even when I run in background or normal mode? I think there should be some solution for this.
Thanks.Hi,
Execute this report with spool number. this program will increase the width of the spool.it is SAP utility program.
Laxman
*& Report Y_SPOOL_WIDTH_INCRESE *
REPORT y_spool_width_increse LINE-SIZE 80. .
This is a SAP utility report to allow display of
spool request lists with more than 255 columns in
releases 4.6B and 4.6C (4.6D kernel must be used)
PARAMETERS: rqident LIKE tsp01-rqident,
firstl TYPE i DEFAULT 0,
lastl TYPE i DEFAULT 0.
global data from LSPOXTOP
DATA: rc(10) TYPE c,
errmsg(100) TYPE c,
status LIKE sy-subrc,
dsn_type(8) TYPE c.
DATA: BEGIN OF data_set_line,
data_length(5),
precol(1),
DATA_LINE(1000),
data_line(5000), "MODAB
END OF data_set_line,
data_set_length(5) TYPE c.
TABLES: tsp01, tst05, tspoptions.
DATA: temse_name LIKE tst01-dname,
temse_client LIKE tst01-dclient,
temse_handle LIKE rststype-handle,
temse_part LIKE tst01-dpart,
temse_objtyp LIKE tst01-dtype,
temse_rectyp LIKE rststype-rectyp,
temse_charco LIKE tst01-dcharcod.
DATA: is_otf.
global data from LSPOCTOP
DATA: BEGIN OF spoc
, escape
, prtctrl
, first_bytes(4) " collection of the first bytes of the
" escape sequences, which I am searching for.
, prtctrl_start_length TYPE i
, prtctrl_total_length TYPE i
, prtctrl_start(10)
, symbol_low_start(10)
, symbol_hgh_start(10)
, symbol_start_length TYPE i
, icon_start(10)
, icon_start_length TYPE i
, icon_sel TYPE i VALUE 1
, frame_start(10)
, frame_start_length TYPE i
, END OF spoc.
FIELD-SYMBOLS: TYPE c
copied from RSPO_DISPLAY_ABAP_SPOOLJOB
DATA: buffer LIKE data_set_line OCCURS 1000.
TABLES: tsp02l.
SELECT SINGLE * FROM tsp01 WHERE rqident = rqident.
IF sy-subrc <> 0.
WRITE: / 'Spool request does not exist:'(001), rqident.
EXIT.
ENDIF.
CALL FUNCTION 'RSPO_CHECK_JOB_PERMISSION'
EXPORTING
access = 'DISP'
spoolreq = tsp01
EXCEPTIONS
no_permission = 1
OTHERS = 2.
IF sy-subrc <> 0.
WRITE: / 'No authorization to display'(002).
EXIT.
ENDIF.
PERFORM read_data TABLES buffer
USING tsp01 firstl lastl.
IF sy-subrc <> 0.
WRITE: / 'Error reading spoolo request'(003).
EXIT.
ENDIF.
IF is_otf = 'X'.
WRITE: / 'This spool request is not an ABAP list'(004).
EXIT.
ENDIF.
PERFORM display_data TABLES buffer USING tsp01-rqpaper tsp01-rqident.
FORM get_spool_line.
DO.
IF temse_rectyp+1(1) = 'Y'.
CALL 'C_RSTS_READ'
ID 'HANDLE' FIELD temse_handle
ID 'BUFF' FIELD data_set_line
ID 'BUFFLG' FIELD 1006
ID 'BUFFLG' FIELD 5006 "MODAB
ID 'ALLINE' FIELD 'X'
ID 'BINARY' FIELD ' '
ID 'SHOWLG' FIELD 'X'
ID 'RC' FIELD rc
ID 'ERRMSG' FIELD errmsg.
status = sy-subrc.
ELSE.
CALL 'C_RSTS_READ'
ID 'HANDLE' FIELD temse_handle
ID 'BUFF' FIELD data_set_line+1
ID 'BUFFLG' FIELD 1005
ID 'BUFFLG' FIELD 5005 "MODAB
ID 'ALLINE' FIELD 'X'
ID 'BINARY' FIELD ' '
ID 'SHOWLG' FIELD 'X'
ID 'RC' FIELD rc
ID 'ERRMSG' FIELD errmsg.
status = sy-subrc.
data_set_line(5) = data_set_line+1(5).
data_set_line-precol = ' '.
ADD 1 TO data_set_line-data_length.
ENDIF.
status = sy-subrc.
IF status <> 6. " EOF, error condition, or got data
EXIT.
ENDIF.
end of this part, try to open next part
ADD 1 TO temse_part.
CALL 'C_RSTS_CLOSE'
ID 'HANDLE' FIELD temse_handle
ID 'RC' FIELD rc
ID 'ERRMSG' FIELD errmsg.
status = sy-subrc.
IF status = 0.
CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
EXPORTING
authority = 'SP01'
client = temse_client "hjl
name = temse_name
part = temse_part
IMPORTING
charco = temse_charco
CREATER =
CREDATE =
DELDATE =
MAX_CREDATE =
MAX_DELDATE =
NON_UNIQ =
NOOF_PARTS =
rectyp = temse_rectyp
SIZE =
STOTYP =
type =
objtype = temse_objtyp
EXCEPTIONS
fb_error = 1
fb_rsts_other = 2
no_object = 3
no_permission = 4
OTHERS = 5.
status = sy-subrc.
ENDIF.
IF status = 0.
CALL 'C_RSTS_OPEN_READ'
ID 'HANDLE' FIELD temse_handle
ID 'CLIENT' FIELD temse_client "hjl
ID 'NAME' FIELD temse_name
ID 'PART' FIELD temse_part
ID 'TYPE' FIELD temse_objtyp
ID 'CONV' FIELD ' '
ID 'ALLINE' FIELD 'X'
ID 'BINARY' FIELD ' '
ID 'RECTYP' FIELD temse_rectyp
ID 'CHARCO' FIELD temse_charco
ID 'PROM' FIELD 'I'
ID 'RC' FIELD rc
ID 'ERRMSG' FIELD errmsg.
status = sy-subrc.
ENDIF.
ENDDO.
IF status = 4.
status = 12. "EOF
ENDIF.
IF status = 8.
status = 40. "Line too long
ENDIF.
data_set_length = data_set_line-data_length.
ENDFORM. "GET_SPOOL_LINE
*& Form READ_DATA
text
-->BUFFER text
-->TSP01 text
-->VALUE(FIRSTtext
-->VALUE(LAST)text
FORM read_data TABLES buffer
USING tsp01 LIKE tsp01 value(first) TYPE i
value(last) TYPE i.
DATA: lines TYPE i.
REFRESH buffer.
CLEAR is_otf.
temse_client = tsp01-rqclient.
temse_name = tsp01-rqo1name.
temse_part = 1.
CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
EXPORTING
authority = 'SP01'
client = temse_client
name = temse_name
part = temse_part
IMPORTING
charco = temse_charco
CREATER =
CREDATE =
DELDATE =
MAX_CREDATE =
MAX_DELDATE =
NON_UNIQ =
NOOF_PARTS =
rectyp = temse_rectyp
SIZE =
STOTYP =
type =
objtype = temse_objtyp
EXCEPTIONS
fb_error = 1
fb_rsts_other = 2
no_object = 3
no_permission = 4
OTHERS = 5.
IF sy-subrc = 0.
IF temse_objtyp(3) = 'OTF'.
is_otf = 'X'.
ENDIF.
ELSE.
EXIT.
ENDIF.
CLEAR temse_handle.
CALL 'C_RSTS_OPEN_READ'
ID 'HANDLE' FIELD temse_handle
ID 'CLIENT' FIELD temse_client "hjl
ID 'NAME' FIELD temse_name
ID 'PART' FIELD temse_part
ID 'TYPE' FIELD temse_objtyp
ID 'CONV' FIELD ' '
ID 'ALLINE' FIELD 'X'
ID 'BINARY' FIELD ' '
ID 'RECTYP' FIELD temse_rectyp
ID 'CHARCO' FIELD temse_charco
ID 'PROM' FIELD 'I'
ID 'RC' FIELD rc
ID 'ERRMSG' FIELD errmsg.
status = sy-subrc.
IF status = 0.
DO.
PERFORM get_spool_line.
IF status <> 0 AND status <> 40 AND status <> 12.
PERFORM close_job.
EXIT.
ENDIF.
IF status <> 12. " 12 = End
IF NOT ( data_set_length IS INITIAL ).
data_set_line-data_length = data_set_length - 1.
ENDIF.
ADD 1 TO lines.
IF lines >= first.
APPEND data_set_line TO buffer.
ENDIF.
IF ( NOT last IS INITIAL ) AND ( lines >= last ).
EXIT.
ENDIF.
ELSE.
IF lines = 0.
PERFORM close_job.
EXIT.
ENDIF.
IF lines < first .
PERFORM close_job.
EXIT.
ENDIF.
EXIT.
ENDIF.
ENDDO.
PERFORM close_job.
ENDIF.
ENDFORM. "READ_DATA
FORM CLOSE_JOB *
FORM close_job.
IF status <> 0 AND status <> 12.
CALL 'C_RSTS_CLOSE'
ID 'HANDLE' FIELD temse_handle
ID 'RC' FIELD rc
ID 'ERRMSG' FIELD errmsg.
MESSAGE e112(po) WITH status rc errmsg RAISING read_error.
ENDIF.
CALL 'C_RSTS_CLOSE'
ID 'HANDLE' FIELD temse_handle
ID 'RC' FIELD rc
ID 'ERRMSG' FIELD errmsg.
status = sy-subrc.
IF status <> 0.
MESSAGE e112(po) WITH status rc errmsg RAISING read_error.
ENDIF.
ENDFORM. "CLOSE_JOB
*& Form DISPLAY_DATA
text
-->BUFFER text
-->RQPAPER text
-->RQID text
FORM display_data TABLES buffer USING rqpaper LIKE tsp01-rqpaper
rqid LIKE tsp01-rqident.
DATA: line_length TYPE i, gcol TYPE i, glines TYPE i,
line_length2 LIKE rststype-linelength,
v, v2.
CALL FUNCTION 'RSPO_SPOOLDATA_WRITE_INIT'.
PERFORM spooldata_write_init. "MODAB
select single * from tspoptions where spoption = 'REALWIDTH'.
if sy-subrc = 0.
v = 'X'.
endif.
select single * from tspoptions where spoption = 'REALHEIGHT'.
if sy-subrc = 0.
v2 = 'X'.
endif.
IF NOT v IS INITIAL OR NOT v2 IS INITIAL.
gcol = 0.
glines = 0.
SELECT SINGLE * FROM tsp02l WHERE pjident = rqid
AND pjnummer = 0.
IF sy-subrc = 0.
gcol = tsp02l-columns.
glines = tsp02l-lines.
ELSE.
CALL FUNCTION 'RSPO_GET_SIZE_OF_LAYOUT'
EXPORTING
layout = rqpaper
IMPORTING
ANSWER =
columns = gcol
lines = glines
PFORMAT =
ENDIF.
ENDIF.
IF gcol < 80 OR v IS INITIAL.
gcol = 255.
ENDIF.
IF glines < 5 OR v2 IS INITIAL.
glines = 0.
ENDIF.
IF gcol >= 1024. "MODAB
gcol = 1023.
ENDIF.
NEW-PAGE NO-HEADING NO-TITLE LINE-SIZE gcol
LINE-COUNT glines. " make a wide list
SET BLANK LINES ON.
LOOP AT buffer.
data_set_line = buffer.
IF data_set_line-precol = 'P'.
IF data_set_line(1) = ' '. " Echter Vorschub ?"
NEW-PAGE.
ENDIF.
CONTINUE.
ENDIF.
Zeilenlänge berechnen, falls unbekannt.
IF data_set_line-data_length IS INITIAL.
line_length = STRLEN( data_set_line-data_line ).
ELSE.
line_length = data_set_line-data_length.
ENDIF.
IF line_length > 0.
line_length2 = line_length.
PERFORM spooldata_write USING data_set_line-data_line "MODAB
line_length2
1.
ELSE.
" Leerzeile
SKIP.
ENDIF.
ENDLOOP.
ENDFORM. "DISPLAY_DATA
copied from RSPO_SPOOLDATA_WRITE
FORM spooldata_write USING value(spool_data)
value(data_length) LIKE rststype-linelength
value(start_pos) LIKE sy-colno.
function globals
DATA: lpos LIKE sy-colno
, rest_len TYPE i
, area_len TYPE i
, next_hot TYPE i " offset of next special character
, cols TYPE i " columns used by special character
, bytes TYPE i " bytes used by special character
, hot2
, hot3
, hot4
, hot5
, hot6
, hot7
, BEGIN OF escape_trick
, x1(1) TYPE x
, END OF escape_trick
, the_prtctrl(5) TYPE c
Because of a problem within the ABAP listprocessing, I shall
never output the same icon side by side with the same color
and without a gap.
As I don't know the data, I will use two different variables
alternatively.
, icon_id1 LIKE icons-l4
, icon_id2 LIKE icons-l4.
FIELD-SYMBOLS:
IF start_pos < 2.
write at / ' ' no-gap.
NEW-LINE.
lpos = 1.
ELSE.
lpos = start_pos.
ENDIF.
rest_len = STRLEN( spool_data ).
DESCRIBE FIELD spool_data LENGTH area_len IN CHARACTER MODE.
IF data_length = 0.
" fine.
ELSEIF data_length .
MODAB
PERFORM write_bigfield USING
next_hot
lpos.
WRITE AT LPOS <PLAIN_TEXT> NO-GAP.
ADD next_hot TO lpos.
SUBTRACT next_hot FROM rest_len.
ASSIGN +6(1).
ELSE.
hot7 = '?'.
ENDIF.
ELSE.
hot6 = '?'.
ENDIF.
ELSE.
hot5 = '?'.
ENDIF.
IF hot5 = space.
IF hot6 = space.
IF hot7 = space.
IF spoc-icon_sel = 1.
WRITE AT lpos(4) icon_id1 AS ICON.
write at lpos icon_id1 as icon no-gap.
ELSE.
WRITE AT lpos(4) icon_id2 AS ICON.
write at lpos icon_id2 as icon no-gap.
ENDIF.
cols = 4.
bytes = 7.
ELSE.
IF spoc-icon_sel = 1.
WRITE AT lpos(3) icon_id1 AS ICON.
write at lpos icon_id1 as icon no-gap.
ELSE.
WRITE AT lpos(3) icon_id2 AS ICON.
write at lpos icon_id2 as icon no-gap.
ENDIF.
cols = 3.
bytes = 6.
ENDIF.
ELSE.
IF spoc-icon_sel = 1.
WRITE AT lpos(2) icon_id1 AS ICON.
write at lpos icon_id1 as icon no-gap.
ELSE.
WRITE AT lpos(2) icon_id2 AS ICON.
write at lpos icon_id2 as icon no-gap.
ENDIF.
cols = 2.
bytes = 5.
ENDIF.
ELSE.
"rite at lpos(1) icon_id as icon.
WRITE AT lpos(1) '#' NO-GAP. " Not enough space for any icon.
cols = 1.
bytes = 4.
ENDIF.
ENDIF.
IF .
ELSE.
EXIT.
ENDIF.
ENDWHILE.
MODAB
IF rest_len > 0.
ASSIGN
rest_len
lpos.
ENDIF.
ENDFORM. "SPOOLDATA_WRITE
*& Form WRITE_BIGFIELD
text
-->VALUE(FIELDtext
-->VALUE(LEN) text
-->VALUE(POS) text
FORM write_bigfield USING value(field) TYPE c
value(len)
value(pos).
FIELD-SYMBOLS
DATA: chunk TYPE i.
WHILE len > 0.
IF len > 255.
chunk = 255.
ELSE.
chunk = len.
ENDIF.
WRITE AT pos field(chunk) NO-GAP.
ADD chunk TO pos.
len = len - chunk.
IF len >
0.
field = field+chunk.
ENDIF.
ENDWHILE.
ENDFORM. "WRITE_BIGFIELD
*& Form SPOOLDATA_WRITE_INIT
text
FORM spooldata_write_init.
DATA: BEGIN OF escape_trick
, x1(1) TYPE x
, END OF escape_trick
FIELD-SYMBOLS: .
spoc-first_bytes+0(1) = spoc-prtctrl_start(1).
spoc-first_bytes+1(1) = spoc-frame_start(1).
spoc-first_bytes+2(1) = spoc-icon_start(1).
spoc-first_bytes+3(1) = spoc-symbol_low_start(1).
ENDFORM. "SPOOLDATA_WRITE_INIT -
"ORA-00054 Resource Busy Error" when running SQL*Loader in Parallel
Hi all,
Please help me on an issue. We are using Datastage which uses sql*loader to load data into an Oracle Table. SQL*Loader invokes 8 parallel sessions for insert on the table. When doing so, we are facing the following error intermittently:
SQL*Loader-951: Error calling once/load initialization
ORA-00604: error occurred at recursive SQL level 1
ORA-00054: resource busy and acquire with NOWAIT specifiedSince the control file is generated automatically by datastage, we cannot modify/change the options and test. Control File for the same is:
OPTIONS(DIRECT=TRUE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=YES)
LOAD DATA INFILE 'ora.2958.371909.fifo.1' "FIX 1358"
APPEND INTO TABLE X
x1 POSITION(1:8) DECIMAL(15,0) NULLIF (1:8) = X'0000000000000000',
x2 POSITION(9:16) DECIMAL(15,0) NULLIF (9:16) = X'0000000000000000',
x3 POSITION(17:20) INTEGER NULLIF (17:20) = X'80000000',
IDNTFR POSITION(21:40) NULLIF (21:40) = BLANKS,
IDNTFR_DTLS POSITION(41:240) NULLIF (41:240) = BLANKS,
FROM_DATE POSITION(241:259) DATE "YYYY-MM-DD HH24:MI:SS" NULLIF (241:259) = BLANKS,
TO_DATE POSITION(260:278) DATE "YYYY-MM-DD HH24:MI:SS" NULLIF (260:278) = BLANKS,
DATA_SOURCE_LKPCD POSITION(279:283) NULLIF (279:283) = BLANKS,
EFFECTIVE_DATE POSITION(284:302) DATE "YYYY-MM-DD HH24:MI:SS" NULLIF (284:302) = BLANKS,
REMARK POSITION(303:1302) NULLIF (303:1302) = BLANKS,
OPRTNL_FLAG POSITION(1303:1303) NULLIF (1303:1303) = BLANKS,
CREATED_BY POSITION(1304:1311) DECIMAL(15,0) NULLIF (1304:1311) = X'0000000000000000',
CREATED_DATE POSITION(1312:1330) DATE "YYYY-MM-DD HH24:MI:SS" NULLIF (1312:1330) = BLANKS,
MODIFIED_BY POSITION(1331:1338) DECIMAL(15,0) NULLIF (1331:1338) = X'0000000000000000',
MODIFIED_DATE POSITION(1339:1357) DATE "YYYY-MM-DD HH24:MI:SS" NULLIF (1339:1357) = BLANKS
)- it occurs intermittently. When this job runs, no one will be accessing the database or the tables.
- When we do not run in parallel, then we are not facing the error but it is very slow (obviously).Just in case, I am also attaching the Datastage Logs:
Item #: 466
Event ID: 1467
Timestamp: 2009-06-02 23:03:19
Type: Info
User Name: dsadm
Message: main_program: APT configuration file: /clu01/datastage/Ascential/DataStage/Configurations/default.apt
node "node1"
fastname "machine_name"
pools ""
resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
node "node2"
fastname "machine_name"
pools ""
resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
node "node3"
fastname "machine_name"
pools ""
resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
node "node4"
fastname "machine_name"
pools ""
resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
node "node5"
fastname "machine_name"
pools ""
resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
node "node6"
fastname "machine_name"
pools ""
resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
node "node7"
fastname "machine_name"
pools ""
resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
node "node8"
fastname "machine_name"
pools ""
resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
Item #: 467
Event ID: 1468
Timestamp: 2009-06-02 23:03:20
Type: Warning
User Name: dsadm
Message: main_program: Warning: the value of the PWD environment variable (/clu01/datastage/Ascential/DataStage/DSEngine) does not appear to be a synonym for the current working directory (/clu01/datastage/Ascential/DataStage/Projects/Production). The current working directory will be used, but if your ORCHESTRATE job does not start up correctly, you should set your PWD environment variable to a value that will work on all nodes of your system.
Item #: 468
Event ID: 1469
Timestamp: 2009-06-02 23:03:32
Type: Warning
User Name: dsadm
Message: Lkp_1: Input dataset 1 has a partitioning method other than entire specified; disabling memory sharing.
Item #: 469
Event ID: 1470
Timestamp: 2009-06-02 23:04:22
Type: Warning
User Name: dsadm
Message: Lkp_2: Input dataset 1 has a partitioning method other than entire specified; disabling memory sharing.
Item #: 470
Event ID: 1471
Timestamp: 2009-06-02 23:04:30
Type: Warning
User Name: dsadm
Message: Xfmer1: Input dataset 0 has a partitioning method other than entire specified; disabling memory sharing.
Item #: 471
Event ID: 1472
Timestamp: 2009-06-02 23:04:30
Type: Warning
User Name: dsadm
Message: Lkp_2: When checking operator: Operator of type "APT_LUTProcessOp": will partition despite the
preserve-partitioning flag on the data set on input port 0.
Item #: 472
Event ID: 1473
Timestamp: 2009-06-02 23:04:30
Type: Warning
User Name: dsadm
Message: SKey_1: When checking operator: A sequential operator cannot preserve the partitioning
of the parallel data set on input port 0.
Item #: 473
Event ID: 1474
Timestamp: 2009-06-02 23:04:30
Type: Warning
User Name: dsadm
Message: SKey_2: When checking operator: Operator of type "APT_GeneratorOperator": will partition despite the
preserve-partitioning flag on the data set on input port 0.
Item #: 474
Event ID: 1475
Timestamp: 2009-06-02 23:04:30
Type: Warning
User Name: dsadm
Message: buffer(1): When checking operator: Operator of type "APT_BufferOperator": will partition despite the
preserve-partitioning flag on the data set on input port 0.
Item #: 475
Event ID: 1476
Timestamp: 2009-06-02 23:04:30
Type: Info
User Name: dsadm
Message: Tgt_member: When checking operator: The -index rebuild option has been included; in order for this option to be
applicable and to work properly, the environment variable APT_ORACLE_LOAD_OPTIONS should contain the options
DIRECT and PARALLEL set to TRUE, and the option SKIP_INDEX_MAINTENANCE set to YES;
this variable has been set by the user to `OPTIONS(DIRECT=TRUE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=YES)'.
Item #: 476
Event ID: 1477
Timestamp: 2009-06-02 23:04:35
Type: Info
User Name: dsadm
Message: Tgt_member_idtfr: When checking operator: The -index rebuild option has been included; in order for this option to be
applicable and to work properly, the environment variable APT_ORACLE_LOAD_OPTIONS should contain the options
DIRECT and PARALLEL set to TRUE, and the option SKIP_INDEX_MAINTENANCE set to YES;
this variable has been set by the user to `OPTIONS(DIRECT=TRUE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=YES)'.
Item #: 477
Event ID: 1478
Timestamp: 2009-06-02 23:04:41
Type: Warning
User Name: dsadm
Message: Lkp_2,6: Ignoring duplicate entry at table record 1; no further warnings will be issued for this table
Item #: 478
Event ID: 1479
Timestamp: 2009-06-02 23:04:41
Type: Warning
User Name: dsadm
Message: Tgt_member_idtfr,0: SQL*Loader-951: Error calling once/load initialization
Item #: 479
Event ID: 1480
Timestamp: 2009-06-02 23:04:41
Type: Warning
User Name: dsadm
Message: Tgt_member_idtfr,0: ORA-00604: error occurred at recursive SQL level 1
Item #: 480
Event ID: 1481
Timestamp: 2009-06-02 23:04:41
Type: Warning
User Name: dsadm
Message: Tgt_member_idtfr,0: ORA-00054: resource busy and acquire with NOWAIT specified
Item #: 481
Event ID: 1482
Timestamp: 2009-06-02 23:04:41
Type: Warning
User Name: dsadm
Message: Tgt_member_idtfr,6: SQL*Loader-951: Error calling once/load initialization
Item #: 482
Event ID: 1483
Timestamp: 2009-06-02 23:04:41
Type: Warning
User Name: dsadm
Message: Tgt_member_idtfr,6: ORA-00604: error occurred at recursive SQL level 1
Item #: 483
Event ID: 1484
Timestamp: 2009-06-02 23:04:41
Type: Warning
User Name: dsadm
Message: Tgt_member_idtfr,6: ORA-00054: resource busy and acquire with NOWAIT specified
Item #: 484
Event ID: 1485
Timestamp: 2009-06-02 23:04:41
Type: Fatal
User Name: dsadm
Message: Tgt_member_idtfr,6: The call to sqlldr failed; the return code = 256;
please see the loader logfile: /clu01/datastage/Ascential/DataStage/Scratch/ora.23335.478434.6.log for details.
Item #: 485
Event ID: 1486
Timestamp: 2009-06-02 23:04:41
Type: Fatal
User Name: dsadm
Message: Tgt_member_idtfr,0: The call to sqlldr failed; the return code = 256;
please see the loader logfile: /clu01/datastage/Ascential/DataStage/Scratch/ora.23335.478434.0.log for details. -
MS VC++ Runtime Library error when running SQL Server Profiler
Environment:
- Windows Server 2008 R2 Standard
- SQL Server 2008 R2 Enterprise with SP2 and CU11
When starting up the SQL Server Profiler tool, I faced the following issue
Event log:
Faulting application name: Profiler.exe, version: 2009.100.1600.1, time stamp: 0x4bb679f5
Faulting module name: MSVCR80.dll, version: 8.0.50727.6229, time stamp: 0x4ec352ab
Exception code: 0x40000015
Fault offset: 0x000046b4
Faulting process id: 0xb60
Faulting application start time: 0x01cfb084ee490685
Faulting application path: C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\Profiler.exe
Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6229_none_d089f796442de10e\MSVCR80.dll
Report Id: 311be94c-1c78-11e4-af71-463500000031
Any advises?
Thanks.Thanks Erland. Not sure what I am missing and need to apply. As said my environment was already applied SP2 and CU11. Please can you give me more information? A link to download or things like that would be much appreciated.
SQL Server engine might be patched but profiler may not be. Check the file properties of PROFILER.EXE.
The error which you are seeing an exception due to VC++
Can you please run .net verification tool and make sure they are consistent?
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
Balmukund Lakhani
Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog |
Team Blog | @Twitter
| Facebook
Author: SQL Server 2012 AlwaysOn -
Paperback, Kindle
Maybe you are looking for
-
This is a 500 GB G-Drive mobile external hard drive that I've been using since I got my MacBook Pro in '09. So I've had it from Leopard through Lion. Should I have been erasing it each time a new operating system comes out and starting over?
-
Actually got a display color problem with my new macbook pro - Late 2011 (OSX LION ) so i gave to authorised service center for changing the display . that time as per my instruction technition fully formatted my system . after getting my mac i upgra
-
Reg:RG 23 A Part ii Register
Hi Guru, Refer Enclosed word screenshot. I am testing a Import Procurement. Error has been encountered while testing RG23A Part II Register. The SHE. Cess Duty Component is getting debited (Subtracted) instead of getting Credited(Added). With referen
-
Sapgui640 partner not reached (host127.0.0.1service sapdp00)
hi everybody,I really need a help.I am a beginner on SAP world; my laptop settings: -microsoft Win XP Média center Edition ver2002-service Pack2 -packardbell centrino-intel 1.86ghz 1Go de Ram SAP LOGON640 designation:NSP application server:localhost
-
How to (zoom in\out) on nokia e5 on images/photos
how to (zoom in\out) on nokia e5 on images/photos ?? I cant find zoom or any key to zoom any idea ?? Solved! Go to Solution.