I am new to DB2 on main frames. Soi asked that question. More over the job completed. I dont know from where i can gather the information. The batch job ran yesterday and is there a possibility of analyzing it today.
Krishrad,
Sorry, in your previous post you said that you were a DBA, I'm guessing from your comments in this post that you accidently left out the word 'not'.
It depends on the tools you have available at your site, how much information you are going to be able to gather after the job has run.
You need to speak to somebody, possibly your DBAs or you mainframe support to discover whether you have any DB2 tools. BMC are a company (amongst others) that market a tool that stores thread history. Ask at your site if you have any tools like this.
Other than that, you are looking at whether the program(s) that ran had been compiled to generate entries to a plan table. This will give you an breakdown of every SQL statement within a plan, and by examining this, you should be able to determine if any of the SQL is inefficient (doing table space scans for instance). You can also look at the cost analysis table for the plan and this will give you an estimate at the cost of SQL.
These last two suggestions are generic to your plan rather than specific to the actual job that ran. Without the threads you cannot really analyse the run. The plan table though should be able to point you in the right direction if there is a problem.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.