when i am trying to update a table having 1000 rows. the
program abends.how we will come to know the last successful
updated row was. we are not using any commit operations
Answers were Sorted based on User's Feedback
Answer / sesha
If there is no commit is mentioned,processed records are
lost when an abnormal end occurs.Rows are inserted,
updated,deleted in a table, those changes will be
lost in case of abend.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / girish kumar
if u want to update ur changes to the database, posible when the commit is executed or when the program successfully executed. none other any situation database will not update.
Is This Answer Correct ? | 1 Yes | 0 No |
Explain package in db2 and its advantages?
how 2 resolve the -311 sqlcode
we can code COPY DCLGEN or INCLUDE DCLGEN, At which stage of the precompilation , dclgen get expanded if we write 1) copy 2) include one question about dclgen.. Is it mandatory to use declare table in dclgen.. I think no...but it will be used by the precompiler to validate the table name,column name etc.., can one clear my doubt ..is it necessary to include declare table or not?
What is a Cartesian product?
What is a clustering index?
What is sqlca?
What are the three types of page locks that can be held?
Which component is used to execute the sql statements?
wht r the requirements for writing a cobol-db2 pgm ?
What is a dbrm in db2?
What is a predicate?
Explain the EXPLAIN statement?