I have a COBOL program which accesses a DB2 table.The High Level Functionality is as follows...
> I read a full table into a cursor.
> Process the data (all rows) top to bottom one-by-one
> If the data from a row satisfies a particular condition, I need to delete that row from the table.
> Continue the above three steps until we reach end of cursor.
My concern is that what will happen if
> ...my program abends.Will it have to start looking into the table right from the beginning? ( Is there any sort of checkpointing in DB2 as it is in IMS )
> What will happen if there is any conflict for table usage with any other program? (Do we have any provisions for Hold on table as we have in IMS)
I will be thankful if I get some help with the above questions of mine.