hi i m doing cobol db2 program which has updation in the program.restart logic is not writen in the program.but i was handled in BMC.now how to test the program for the restart part.let us assume taht i hav 20 records im my input file n i have set checkpoint as 5.
first check how many checkpoints u get during the normal run of the pgm
Then forcefully abend the pgm
Then check for restart .suppose u have 10 records and the checkpoint limit is 2 u should have 5 checkpoints taken.
The number of checkpoints u get for normal run should match the checkpoints for a restart run i.e for a normal run u have 5 checkpoints and suppose in the abend run the abend occurred after taking the 2nd checkpoint and when u restart only 3 checkpoints should have been taken since the last i.e checkpoint number should start from 3..4.5.