View previous topic :: View next topic
|
Author |
Message |
chandrasekhar
New User
Joined: 29 Sep 2004 Posts: 35 Location: bangalore
|
|
|
|
The problem i am going to write is actually not mine.I want to help him thats why i bring this problem in this forum.I got in my mail.
The problem is like this........
My client condition is
1 My program reading records from a table and i have
to update the record as per business logic.
2. The sql query retrieving more than one rec. So I am
updating it using cursors.
3. Here my problem is in the mid of updation if i got
abend I have to restart the prgm without submitting the jcl.(restart the pgm manually from the beginning itself.)
how to handle the situation.
It is urgent for me
I strucked up in the mid of the program. |
|
Back to top |
|
|
anuradha
Active User
Joined: 06 Jan 2004 Posts: 247 Location: Hyderabad
|
|
|
|
Hi Chandra,
Generally in our shop in that kind of programs we use restart logic in the program itself. we will have a restart file and after fetch we will be writing it to a restart file. So Incase if the program abends after updating certain records then read the restart file and can find out at which point abend has occured. Then fetch the record until restart file date equals to fetched data. now continue the normal process. Am I confusing you???
If it is a one time program then we use restart logic alone and if it is standard program then we use check point restart logic. |
|
Back to top |
|
|
|