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

Difference bw bind Package & Plan


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

New User


Joined: 08 Jul 2005
Posts: 31

PostPosted: Thu Jul 21, 2005 11:28 am
Reply with quote

Hello,

I know the basic difference between bind package & plan but Can someone tell me the exact difference between bind package & plan in terms of the options.


Thanks....
Back to top
View user's profile Send private message
baru

New User


Joined: 08 Sep 2005
Posts: 4
Location: Mumbai

PostPosted: Tue Sep 13, 2005 10:28 am
Reply with quote

BIND reads SQL statements from DBRMs and produces a code to access data as directed by SQL statements.


There are two types of BINDs ? BIND PLAN & BIND PACKAGE

BIND PLAN ? Accepts one or more DBRMs produced from previous DB2 pre-compilations, one or more packages produced from previous BIND PACKAGE commands or a combination of DBRMs and Package lists as input. The output of BIND PLAN is application plan

An application plan is executable only with the corresponding load module. Before running a DB2 program, an application plan must be specified.

BIND PACKAGE ? Accepts DBRM as input and produces a single package containing the optimized access path logic. The package then can be bound into application plan using BIND PLAN command. A package is not executable and cannot be specified when DB2 program is being run, the package must be bound into a plan before using it.
Back to top
View user's profile Send private message
amalli

New User


Joined: 06 Sep 2005
Posts: 17

PostPosted: Tue Sep 13, 2005 11:59 am
Reply with quote

plan is executable
package is not executable
Back to top
View user's profile Send private message
Anbudan

New User


Joined: 07 Sep 2005
Posts: 26
Location: Germany

PostPosted: Tue Sep 13, 2005 6:08 pm
Reply with quote

Hi t1nT1n

Packages have a one-to-one relationship to source modules. A plan is a group of packages; it will correspond to one or more load modules.


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

 


Similar Topics
Topic Forum Replies
No new posts Difference between joblib and steplib JCL & VSAM 2
No new posts Pull data using date difference betwe... DB2 6
No new posts Difference between PLT txn and schedu... CICS 3
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
Search our Forums:


Back to Top