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?
Answer / harsha
I feel yes, we can fetch the same cursor in the same
program.
Cursor can be closed in three ways.
1 When you explicitely close trhe cursor.
2 Issuing commit systement.
3 After execution of an application program.
In our situation, none of the above mentioned case is
getting true.
| Is This Answer Correct ? | 11 Yes | 2 No |
What is a predicate?
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
When is the results table for the query in a DECLARE CURSOR statement created?
What is a composite index and how does it differ from a multiple index?
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?
What's the maximum number of characters that a tablename can have?
What is correlation names?
Where could you look if you had a question about whether a column has been defined as an index?
What is the difference between primary key & unique index ?
How do you eliminate duplicate values in db2?
How is a typical db2 batch pgm executed?
what is the soft code for deadlock ?