Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the advantages of using a PACKAGE?

Answers were Sorted based on User's Feedback



What are the advantages of using a PACKAGE?..

Answer / s

Packages are single bound DBRMs which contains SQL
statements of a single application program or subroutine.
Before the application program can be executed, you need to
bind a plan. The plan can be bound with DBRM members and/or
Package list. Without the use of packages, if there is any
change made to the program, even if there are no changes to
the SQL, the whole plan need to bound which cause
unavailabilty of the plan and it is resource intensive
since all the unrelated DBRMs are also need to be bound.
With the use of packages, only the package need to be bound
without the need to bind the plan. Also bind parameters can
be specified at package level rather than plan level

Is This Answer Correct ?    6 Yes 2 No

What are the advantages of using a PACKAGE?..

Answer / guest

First u need to know the concept precompliation and
compliation process of db2 cobol program...

the maina dvange of pakage is, supose u have cobol db2
program, this prgoram is using 4 sub programs. if any one
of the sub programs undergoes changes u need to precompile
the main program. this can avoided by using the pakage
concept.

so u need to create one pakage for on sub program. if any
sub programs undergoes any change, u need to compile only
sub program.

Filnally one program will have one pakage and one DBRM lib.

Is This Answer Correct ?    9 Yes 6 No

Post New Answer

More DB2 Interview Questions

What is a lock?

1 Answers  


How do I add a column to an existing table in db2?

0 Answers  


In a DB2-CICS program which is acts as co-ordinator and which is participant?

1 Answers   IBM,


When would you prefer to use VARCHAR?

3 Answers  


I have a table which has thousand of records i want to fetch only record num 100 to record num 200. Write a query that satisfies this criteria.(Cant use any keys) Anyone please reply ASAP!

17 Answers   KNIT, Tech Mahindra,


How to find last record before record through SQLRPGLE?

1 Answers   IBM,


What are the levels of isolation available with DB2V4

2 Answers   IBM,


what is db2 restart?

0 Answers  


What are some characteristics of columns that benefit from indexes?

1 Answers  


What techniques are used to retrieve data from more than one table in a single SQL statement?

2 Answers  


What does a deadlock mean in DB2?

0 Answers  


What is usage pointer in cobol?

3 Answers   IBM,


Categories