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



when i am trying to update a table having 1000 rows. the program abends.how we will come to know t..

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

when i am trying to update a table having 1000 rows. the program abends.how we will come to know t..

Answer / guest

check SQLERRD(3) from SQLCA copybook.

Is This Answer Correct ?    4 Yes 2 No

when i am trying to update a table having 1000 rows. the program abends.how we will come to know t..

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

Post New Answer

More DB2 Interview Questions

I am having n number of records in a table which consists of emp-name is one of the field among them. Now i want to change the first letter of every name with capital.

1 Answers   Cap Gemini,


What is meant by explain?

0 Answers  


How many types of page locks can be held in db2?

0 Answers  


Explain about rct in db2?

0 Answers  


Is the primary key a clustered index?

0 Answers  






If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2

0 Answers  


Why do we need reorg in db2?

0 Answers  


What is meant by concurrency?

1 Answers  


When DB2 connection fails, will online program work or give errors.

1 Answers   Virtusa,


What are some characteristics of columns that benefit from indexes?

1 Answers  


Explain transactions, commits and rollbacks in DB2.

3 Answers  


How to execute stored procedure in db2 command editor?

0 Answers  


Categories