DB2 bind with different Versions.



IBM's flagship relational database management system

Re: DB2 bind with different Versions.

Postby GuyC » Tue Feb 01, 2011 2:15 pm

fairly smple, in a "normal" setup:
- each time you precompile your source into a dbrm and a precompiled source, DB2 puts a string in it both. It looks like a timestamp but isn't. That is the version of the package.
- bind turns your dbrm into a package, compile turns your pre-compiled source into a load
- at run time this "version" out of the load module is used (together with the name,...) to find the corresponding package in DB2. The key of a package inside DB2 is location.collection.name.version . location and collection are found via the plan you specify at run time, name and version are found in the loadmodule.

Because version is part of the key, multiple versions can co-exist. run with one loadmodule => use one package, run with another => use another package.
I can explain it to you, but i can not understand it for you.
GuyC
 
Posts: 315
Joined: Tue Aug 11, 2009 3:23 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Re: DB2 bind with different Versions.

 

Re: DB2 bind with different Versions.

Postby GuyC » Tue Feb 01, 2011 2:19 pm

And it's packageversion or dbrmversion. DB2 versions are something else.
Clear questions get clear answers.
Dubious questions get answers depending on the psychic powers available on that day.
I can explain it to you, but i can not understand it for you.
GuyC
 
Posts: 315
Joined: Tue Aug 11, 2009 3:23 pm
Has thanked: 1 time
Been thanked: 4 times

Re: DB2 bind with different Versions.

Postby dick scherrer » Wed Feb 02, 2011 1:16 am

Hello,

But if you want one group of people to use one and other people to use another and they try to use the same program load module name in the same cics region, it will still not do what you want. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Previous

Return to DB2

 


  • Related topics
    Replies
    Views
    Last post