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...

Why PS file called Physical seqential file?How to sore data
in sequential file and ESDS file?

What is the use of DBRM,PLAN,package and Collection.

Answer Posted / srini

What is the use of DBRM,PLAN,package and Collection.??

DBRM is just a SQL/DB2 part of a embeded COBOL and DB2
program,basically DB2 Precompiler creates this by just
commenting out all SQL/DB2 part.

PLAN is a collection of packages and its an executable for
DB2 system just like a loadmodule for Cobol.Plan stores all
the accee paths for table/database.

Package is a smaller version of package,we can say its a
bound DBRM or a plan for a single program,but its not
executable by itself,we can to bound it into plan,so that
plan can be executed.

We can directly have PLAN instead of going to package,but
we have many advantages of using package over the plan as
below.

1.We can have seperate versions(like same DBRM can be bound
into test package,model office package and production
package)

2.more granularity i.e when ever we change some sub
routine,we no need to bind all the calling/called chain and
block the entire transaction,we can just rebind the
perticular package so that the plan while executing
automatically picks it up the latest version of the package.

3.involves less cost,use the above said example.

4.easy maintanance.

COLLECTION

Collection is just a logical name given for a set of
packages that can be sed while creating the plan....there
is no physical existance of a collection...its a matter of
convenience to the user.

Hope this answers your query on DBRM,plan,package and
collection,if not let me know.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which component is responsible for processing sql statements and selecting access paths?

1175


What is the use of value function?

1203


before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?

2220


What is the reason behind not using select * in embedded sql programs?

1166


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

1130


What is db2?

1233


Explain the contention situations caused by locks?

1142


What is the difference between db2 and oracle?

1175


How does a cursor work?

1038


What is the physical storage length of the data types: date, time, timestamp in the db2 database?

1213


When do you specify the isolation level?

1070


What is the maximum size of a char data type in db2?

1050


What is a system catalog table in db2?

1240


What r the comman abends in db2, jcl and cobol???????

2309


How can you do the explain of a dynamic sql statement?

1107