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

How to obtain bind statistics for a particular DB2 region


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

New User


Joined: 07 Dec 2011
Posts: 19
Location: India

PostPosted: Fri Jun 15, 2012 3:39 pm
Reply with quote

Is it possible to obtain the bind information such as the total number of binds and rebinds that has happened in a particular DB2 region ?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Jun 15, 2012 7:09 pm
Reply with quote

Did you mean -- number of PACKAGEs/PLANs for a given DB2 sub-system?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 15, 2012 8:29 pm
Reply with quote

Hi Anuj,

I believe the question is "how many times does this happen?" as opposed to "how many are there?".

d
Back to top
View user's profile Send private message
Balaji Canabady

New User


Joined: 07 Dec 2011
Posts: 19
Location: India

PostPosted: Sat Jun 16, 2012 12:29 pm
Reply with quote

Yes Dick you are correct.
I would like to know the total number of binds
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sat Jun 16, 2012 4:23 pm
Reply with quote

Balaji Canabady wrote:
Yes Dick you are correct.
I would like to know the total number of binds


my, that is a useful statistic.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jun 16, 2012 8:23 pm
Reply with quote

Hello,

How might this statistic be used? Just curious.

I don't know if there is a way to find what has already happened, but the standard compile/link/bind process(es) could be modified to capture this info going forward - if the value of the nfo would be worth the effort to get it.
Back to top
View user's profile Send private message
Balaji Canabady

New User


Joined: 07 Dec 2011
Posts: 19
Location: India

PostPosted: Sat Jun 16, 2012 10:11 pm
Reply with quote

I have developed a REXX tool that can be easily invoked to do binds of single or multiple programs. I would like to know the bind statistics in our DB2 region in order to validate the tool's efficacy.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sun Jun 17, 2012 12:05 am
Reply with quote

i think you have things a little backwards.

you can bind all day, and if the binds are incorrect,
the plans will not work.

so the tool can have 100% efficacy, yet generate garbage.

so, you need to test the modules to insure that your production continues to function.

hopefully your 'rexx tool' submits jobs to generate the binds.
in which case, it is just a matter of using the same control cards
as a normal compile/link/BIND job.
(if not, why not????)

one of the appendices to every DB2 VSN SQL Reference,
is a discussion of SYSIBM... tables,
info about plans/packages (binds, when they were done, etc....) is contained.
there are also examples of sql to access data from all these tables.

oh! and i imagine your dba's already have such 'tools',
so instead of wasting time, use theirs.
Back to top
View user's profile Send private message
Balaji Canabady

New User


Joined: 07 Dec 2011
Posts: 19
Location: India

PostPosted: Fri Jun 22, 2012 3:39 pm
Reply with quote

Thanks Dick(s) for the replies.

Quote:

(if not, why not????)


As suggested, I have modified the JCL to do compile/link/bind of programs for component testing ...

Now exploring the AUTOBIND option in Endevor for integration testing...
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 How to 'Ping' a CICS region in JCL CICS 2
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
No new posts CICS region is terminated abnormally ... CICS 2
No new posts Extracting Compression Statistics fro... PL/I & Assembler 2
Search our Forums:

Back to Top