There is a sequential file with 100 records.My pgm should read this file sequentially and update a KSDS file accordingly.
My question is if the pgm abends after 25 records are updated then how would i restatrt it or what should i take care in the code for such scenario.
In my opinion, if there is no checkpoint/restart logic implemented in your program, you can do a normal restart after fixing the abend.
Checkpoint/restart logic will be mostly project soecific. The basic idea behind this is to commit the changes at regular intervals (can be based on Time or Input record count or Output record count) called checkpoint frequency and keep track of the last successful committed record to be used during the restart.