Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at
the time of compilation should plan and package will be
created for both A and B or only B? What is the concept?

Answers were Sorted based on User's Feedback



Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and..

Answer / srikant

Package needs to be created for B only. Because we need to
bind those programs where we use any SQL statement. And
there only we need package...

Is This Answer Correct ?    14 Yes 0 No

Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and..

Answer / pawan

First thing need to know is whenever we compile any module
only package gets created for particular module. And more
than 1 package can be bounded to single Plan. Here package
will be created for pgm b only and need to bind it to plan
thats it.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More DB2 Interview Questions

How can you count the number of rows from a table tab?

0 Answers  


How can you find out which query is taking lot of time to execute in cobol-db2 program ?

1 Answers   Danske,


What does runstats do in db2?

0 Answers  


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

0 Answers  


Can DASD types assigned to storage groups be intermixed (i.e., 3350s and 3380s)?

1 Answers  


What is db2 optimizer?

0 Answers  


Suppose we have a query for update update table1 set col1 = 'val1' where col2=(select .... from ...) suppose the subquery does not return any record, what will happen to update?

1 Answers   IBM,


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

0 Answers  


What is an intent lock?

3 Answers  


What is deadlock in db2?

0 Answers  


How to find schema of a table in db2?

0 Answers  


What is the maximum length of sqlca?

0 Answers  


Categories