Home > Ask the Data management / BI Experts > Questions & Answers > Binding to the proper subsystem
Ask The Data Management Expert: Questions & Answers
EMAIL THIS

Binding to the proper subsystem

Craig Mullins, Years 2005-2006 EXPERT RESPONSE FROM: Craig Mullins, Years 2005-2006

Pose a Question
Other Data Management Categories
Meet all Data Management Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 07 June 2004
I have a question regarding DB2 systems and the use of subsystems. We currently have the following set up with our DB2 databases.

                 DB2T
        TEST01  TEST0B TEST0M
We recently developed a new database in the TEST0B subsystem. I noticed that the TEST01 subsystem was looking at the TEST0B. I was told the bind dictates the subsystem you are looking at, but that it is stored at the system level.

If I want to test the same program in both TEST01 and TEST0B, does the last bind of the program dictate where it is pointing? Will there need to be two separate DB2 systems to accomplish this?


>
The subsystem that a plan/package is bound in determines where it will run. With the information you have provided, I'm not sure I can give you a clear answer, but I'll try.

If you are set up with one subsystem named DB2T, and then multiple versions of the test tables using with TEST01, TEST0B, and TEST0M as the owner, then you'd have to BIND the plan/package specifying the appropriate value in the QUALIFIER (or OWNER) parameter. For example, to BIND accessing the TEST0B tables, you would bind specifying something like this:

BIND PLAN(SAMPLE) ... QUALIFIER(TEST0B) ...

If you are actually set up with multiple subsystems, where TEST01, TEST0B, and TEST0M are each a separate subsystem, then you'd have to run the BIND against that particular DB2. I don't know how you do your BINDs. They can be done using the DB2I panels, using a standard DB2 program preparation procedure, or using a DB2 program preparation CLIST or REXX EXEC.

If you are using the DB2I panels, then just make sure in your ISPF session that you are getting to the correct DB2 subsystem before binding. If you are using a procedure, CLIST, or REXX EXEC, there are likely to be options that allow you to choose the subsystem or perhaps different versions of the code for each subsystem.

After reading my response here, perhaps the best approach is to talk to your DBA or system programmer for guidance in using your shop's particular methods and standards for binding to the proper subsystem or set of tables.

Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our discussion forums.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
IBM DB2 management
How to select an MPP database: DB2 vs. Teradata
What are the top database management systems (DBMS)?
Are there benefits to using both Teradata and a DB2 database?
Tips for evaluating top database management systems and choosing a small DBMS
Exec explains IBM's Information On Demand (IOD) initiative
IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 7
IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 6
IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 5
DB2 basics
IBM DB2 basics

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts