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


If I have 5 Queries in a DB2 Cobol program , while
precompiling how many DBRMs will get created and How many
Plans and Packages will get created while Bind Process?

Answers were Sorted based on User's Feedback



If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created an..

Answer / lu

when u bind , 5 queries has 5 sql statements in 1 DBRM, its
regroup into 1 package, 1 plan...Plan is a collection of
packages..
correct me if i'm wrong..

Is This Answer Correct ?    23 Yes 0 No

If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created an..

Answer / shailesh

1 DBRM only.
Correct me if I am wrong !

Is This Answer Correct ?    15 Yes 0 No

If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created an..

Answer / sampath

1 DBRM, 1 Package & 1 plan

Is This Answer Correct ?    13 Yes 0 No

If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created an..

Answer / satish k

One correction to the above. DBRM is DataBase Request
Module and not DataBase Replacement Module.

Is This Answer Correct ?    10 Yes 0 No

If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created an..

Answer / satish

yes only 1 DBRM will create

Is This Answer Correct ?    8 Yes 0 No

If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created an..

Answer / ankur bhalla

1 DBRM(DATABASE REQUEST MODULE), 1 PACKAGE AND 1 PLAN.

Is This Answer Correct ?    5 Yes 0 No

If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created an..

Answer / srinivas chennareddy

As the name indicates DBRM(Data Base Replacement Module) is
for one module...irrespective of the number of SQL's in a
module/program...one DBRM will be created and it will be
bound to one package,and collection of all calling/called
module packages forms an application PLAN,which will be
loaded into main memory and executed during run time.

Is This Answer Correct ?    4 Yes 2 No

If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created an..

Answer / sunil a

1 DBRM , 1 PACKAGE and 1 PLAN

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More DB2 Interview Questions

SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

0 Answers  


What else is there in the PLAN apart from the access path?

1 Answers  


select distinct(empid),distinct(dept),name from EMP will the above query work?

2 Answers   CTS,


List down the types of triggers in the db2 database?

0 Answers  


What is db2 catalog database?

0 Answers  


What types of tables are there in the db2 database?

0 Answers  


What is coalesce in db2?

0 Answers  


wht happens if we close cursor with cursor with hold option?

3 Answers   Valtech,


Mention data types used in db2 ?

0 Answers  


What is the difference between group by and order by?

2 Answers   IBM, TCS,


what is the soft code for deadlock ?

2 Answers   Logica CMG,


What is the maximum number of columns in a db2 table?

0 Answers   IBM,


Categories