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.



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

Answer / 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

More DB2 Interview Questions

How to find primary key of a table in db2?

0 Answers  


what is db2 restart?

0 Answers  


Is it possible to precompile if db2 goes down?

4 Answers   Target,


how can you access index

4 Answers   IBM, Tech Mahindra,


What if we try to insert the base table through updatable view , but failed to give a column value which is defined as NOT NULL.

1 Answers   Cap Gemini,






Which one allows duplicate values Union or Union All ?

3 Answers  


pls tell me abt the normalization five types....

2 Answers  


What's the difference between DB2 active log and archive log? Thanks a lot...

2 Answers   IBM,


I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?

2 Answers  


What is usage pointer in cobol?

3 Answers   IBM,


What are db2 tables?

0 Answers  


How can we read records for specific member in CL? AND rpg?

0 Answers  


Categories