IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Restart the program without submitting the jcl


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chandrasekhar

New User


Joined: 29 Sep 2004
Posts: 35
Location: bangalore

PostPosted: Fri Nov 05, 2004 8:02 pm
Reply with quote

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
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Fri Nov 05, 2004 9:51 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts Using API Gateway from CICS program CICS 0
No new posts submitting feedback for manuals All Other Mainframe Topics 3
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top