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 Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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