If the main program has only cobol statements and subprogram
has the db2 statements what is the procedure for
precompilation. for which program we need to do the
precompilation



If the main program has only cobol statements and subprogram has the db2 statements what is the pro..

Answer / giri12

You can precompile only the sub program.

Is This Answer Correct ?    15 Yes 1 No

Post New Answer

More DB2 Interview Questions

can I alter a table (e.g. adding a column) when other user is selecting some columns or updating some columns from the same table?

1 Answers  


Mention the various locks that are available in db2.

0 Answers  


I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

1 Answers   HeadStrong,


How many Buffer pools are there in DB2 and what are they?

1 Answers   IBM,


query to just fetch first matching row and stop execution. once one matching row is found ..no more records should be checked.. if the first record is matching.. the query must stop

2 Answers   IBM,


is it possible to get -811 error when you use cursors. why?

2 Answers   IBM,


Do we have any optinon to search part of integer in DB2 as we have for character Like,SUBSTR optins?

1 Answers  


What is runstats utility in db2?

0 Answers  


Which command is used to remove all rows from a table?

0 Answers  


What will happen, while trying to close the closed cursor.

1 Answers  


In a single table,How to retrieve a employee-id of an employee who works in more than one department?

15 Answers   Cap Gemini,


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

0 Answers  


Categories