Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Restart the program without submitting the jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Restart the program without submitting the jcl
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us