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


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

How to resolve -805 error in DB2?

1 Answers   Cap Gemini,


what is the Foreign key? explain?

2 Answers  


Is it Possible to declare or create a cursor for UPDATE of table? If yes tell me how? If no Tell me why?

1 Answers   IBM, scintel,


How to update more then one record using update?

5 Answers   IBM,


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

0 Answers  


What is plan in cobol db2?

0 Answers  


what is cursor stability?

2 Answers   IBM,


what is datacom db?

2 Answers   CSC,


How to check sequence on a table in db2?

0 Answers  


What is a collection?

3 Answers  


Hi All, In a Cobol-DB2 program, I am fetching rows from 4 tables using cursor and then based on the a field present in that table, It processes the information accordingly..for example stat-c is one digit field..if stat-c is 'D' then the a row is deleted from table and written those details in to a file. If the stat-c is 'U' then a row is updated (hardcoded what to update)in a table and written those details in to a file. If the stat-c is 'I' then a row is inserted in a table and written those details in to two files. The issue is i have to include the intermediate commits. When an abend occurs, due to commit statement db2 tables will be saved, But there will be lose of file contents. When we resubmitting the job associated with this program there will be insert ,update and delete anomolies to avoid that what measures could be taken?. The intermediate commit is nothing but issuing commit after massive inserts, updates and deletes(sum of 500actions)

1 Answers  


What is the purpose of using commit?

0 Answers  


Categories