473,386 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

db2 9.4 fix 4, delay between call of procedure inside of a procedure?

10
Hello everyone,

I have a problem with a procedure that is calling another procedure.

Pasting some code:
Expand|Select|Wrap|Line Numbers
  1. INSERT INTO LOGGING.POTRDITEV_FAKTURE(A,B,C) VALUES(4, 'POTRDITEV_FAKTURE_DODATEK ZA FAKT_ID = '||TRIM(CHAR(NFAKT_ID)), CURRENT TIMESTAMP);
  2.         CALL POTRDITEV_FAKTURE_DODATEK(NFAKT_ID, XPODR_ID, XVRDO_ID, XFAKT_FAKTURA, XTBLA_ID, XDELA_ID, XPART_ID, XPART_ID_KUPEC, XPATI_ID, XFAKT_FINSTFAKTURE);
  3. INSERT INTO LOGGING.POTRDITEV_FAKTURE(A,B,C) VALUES(5, 'VEZAPOSGFAKTVPRIPRAVI ZA FAKT_ID = '||TRIM(CHAR(NFAKT_ID)), CURRENT TIMESTAMP);
  4.  
The logs of both procedures show an interesting thing:
Log of procedure 1 shows start time of call to procedure:
20.4.2010 13:30:02.343000
end time:
20.4.2010 13:30:03.062000
Procedure 2 shows it's start time:20.4.2010 13:30:02.468000
end time:
20.4.2010 13:30:02.484000

I am wandering if there is a db parameter like (package size ) or anything that could help me minimize the time between call of procedure b inside of procedure a.

Hope i made my question clear.

I tryed with rebinding packages, did reorgs, runstats....

thanks for any information you might share.

LP
Marko
Apr 20 '10 #1
0 1431

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: Des L. Davis | last post by:
System: Dell PowerEdge Server with 3 GB RAM, 2.4 GHz Celeron Software: Microsoft SQL Server 2000 Enterprise running on Windows 2003 Server Software: Microsoft SQL Server 2000 Enterprise running on...
3
by: Mariusz | last post by:
I want to write function to call another function which name is parameter to first function. Other parameters should be passed to called function. If I call it function('f1',10) it should call...
7
by: John | last post by:
Thanks. I am writing a C++ code on Linux and Sun OS platform. How to make a procedure sleep or delay? Thanks again. "John Carson" <donaldquixote@datafast.net.au> wrote in message...
7
by: yoyo | last post by:
Is there anyway to delay a trigger from firing for a few seconds? I have an after insert trigger on table1, which selects information from table2 and table3. Obviously it cannot fire unless the...
20
by: Doug Thews | last post by:
I ran into an interesting re-pain delay after calling the Abort() method on a thread, but it only happens the very first time I call it. Every time afterward, there is no delay. I've got a...
7
by: mfeingold | last post by:
I am working on a system, which among other things includes a server and a ..net control sitting in an html page and connected to the server. I ran into a couple of problems, you guys might have...
4
by: D. Shane Fowlkes | last post by:
I've decided to send weekly emails to registered users ("members") on one of my sites. This will be the first time I attempted anything like this. Now I know I could use some 3rd party list...
6
by: Woody Splawn | last post by:
Is there a way in vb.net to delay the firing of certain code till after everything else has run? That is, I have an event with some code in it that needs to run AFTER everything else has run...
37
by: ales | last post by:
Hello, I have a problem with creation of new thread. The method .Start() of newly created thread delays current thread for 0 - 1 second. Cpu while delay occurs is about 5%. Any idea? Here...
3
by: mandible | last post by:
I'm trying to call one stored procedure inside another. I was wondering if this is possible Some ideas I was toying with is putting the first stored procedure inside of a temp table but haven't...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.