IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Standard procedures to reduce the CPU time of Job


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sathyajes

New User


Joined: 02 Mar 2006
Posts: 35
Location: Chennai

PostPosted: Thu Mar 16, 2006 9:42 pm
Reply with quote

Hi Guys,

I am in the analysis phase to reduce the CPU time of a program which is coded in C with DB2.

This program on an average takes 10 hrs to run. It has 44 Cursor being declared on different DB2 tables.

As an initial step, can anybody advise me on the steps or tips to find out where the problem exists(i.e., why this program runs for a longer time than expected)

What are the things that needs to be seen on a DB2 perspective to reduce the CPU time.

Hope I have explained the problem in a better way.

Thanks,
Back to top
View user's profile Send private message
nandakumar
Warnings : 2

New User


Joined: 05 May 2005
Posts: 50

PostPosted: Thu Mar 16, 2006 9:54 pm
Reply with quote

sathyajes,

Do u use jcl for running the program or 'REXX', 'CLIST', some thing else ?







Thanks,
Nandakumar
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Thu Mar 16, 2006 11:38 pm
Reply with quote

hy Sathya,

can you find out, which packages your program has?
if yes, make an EXPLAIN on those packages to find out,
if the db access path has best performance.
check also, whenever to make RUNSTATS on your
db2 objects, the packages take their best way on
accessing the data upon that statistical data.
if you are not able to do this, (because it is to technical
for you to interpret any EXPLAIN output), contact
your db2 dba, he is able to do this. (for he is dba...).

martin9
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
Search our Forums:

Back to Top