One program calling 5 subprograms, its a cobol db2 program,
after precompilation how many plans and packages will
created?

Answers were Sorted based on User's Feedback



One program calling 5 subprograms, its a cobol db2 program, after precompilation how many plans and..

Answer / sarath

when u precompile a Db2 program you will get (n+1) DBRMs
where n indicates no. of subprograms. So in our case you
will get 6 DBRMs. Through Binding process you can get
minimum of 1 package and maximum of 6 packages. But finally
you will get only one plan.

Is This Answer Correct ?    27 Yes 2 No

One program calling 5 subprograms, its a cobol db2 program, after precompilation how many plans and..

Answer / vat

Not trying to be cute, but, to the question "after
precompilation how many plans and packages will
created?" the answer would be zero.

You would have to do bind to even talk about packages/plans.

Is This Answer Correct ?    14 Yes 1 No

One program calling 5 subprograms, its a cobol db2 program, after precompilation how many plans and..

Answer / snehasis

If it generate 6 DBRM, then there is no possibility to have
1 package. The reason is one package can contain only one
DBRM. But yes for all these DBRM and Packages it will be
only one plan.

Is This Answer Correct ?    9 Yes 3 No

Post New Answer

More DB2 Interview Questions

AGGREGATE function support by DB2. A) SUM & AVG B) SUM, MIN & AVG C) SUM, MAX, AVG , MIN &COUNT D) NONE

2 Answers   Accenture,


Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.

0 Answers   IBM,


What is with ur in db2?

0 Answers  


When DB2 connection fails, will online program work or give errors.

1 Answers   Virtusa,


What do you do to keep the cursor from closing after a commit?

1 Answers  






What is cursor stability?

1 Answers  


Where are plans stored?

2 Answers  


What is an inner join, and an outer join ?

1 Answers   CTA,


What is the syntax for seeing the columns and data types of a table in the db2 database?

0 Answers  


How to run db2 command in windows?

0 Answers  


What is a page in db2?

0 Answers  


What is meant by repeatable read?

4 Answers  


Categories