Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Difference bw bind Package & Plan

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Difference bw bind Package & Plan
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    Post subject: Bind package & Plan
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    Post subject: I know the basic difference between bind package & plan
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us