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

what is difference betwen plan and package??


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mamta.mf

New User


Joined: 09 Sep 2006
Posts: 1

PostPosted: Sat Sep 09, 2006 11:57 am
Reply with quote

i am having doubts regarding the difference between plan and package in sql..
where exactly the difference occurs and what is the significant aplication of both,,,,
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Sat Sep 09, 2006 3:35 pm
Reply with quote

First the concept of plan has come

Plan:-
Plan is a concept where the programs are placed (DBRM's) in other sence, Plan is a collection of DBRM's

Package:-
Each DBRM constitute a Package, and no of packages constitute a plan.

So the modified definetion of the plan is "Collection of DBRM's"

Advantage of Packages over the plan,

I have program A and Program B (subprogram called by program A)
I precomile and place theirs DBRM's in plan. Now a need is their to change the program B. So I need to precompile both Program A and Program B, after chaning the code of Program B

So a concept of Package, Package make only the location like to mainprogram.
If I want to change Program B, I need to Precompile only it. So their is no need to precompile Program A
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Sun Sep 10, 2006 10:41 am
Reply with quote

Check it discussed...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Rebind issue - Package DB2 2
No new posts Difference between VALIDPROC and CHEC... DB2 3
Search our Forums:

Back to Top