View previous topic :: View next topic
|
Author |
Message |
stly Warnings : 1 New User
Joined: 25 Jul 2005 Posts: 93
|
|
|
|
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. |
|
Back to top |
|
|
dileep.james Warnings : 1 New User
Joined: 22 Apr 2005 Posts: 4 Location: mumbai
|
|
|
|
hi,
Give one counter before the updation and forcefully abend the program when it reaches 7th or 8th record.
Then restart the program from the abended step then it will start from the 6th record .... |
|
Back to top |
|
|
vijayamadhuri
Active User
Joined: 06 Apr 2005 Posts: 180
|
|
|
|
Hello stly,
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. |
|
Back to top |
|
|
|