Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 5 Sat Apr 14, 2018 1:58 am
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts VALIDATE option in BIND jcl Poha Eater DB2 2 Mon Feb 26, 2018 7:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us