Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Control-M restart instruction sonaliingle CA Products 2 Tue Nov 28, 2017 5:05 pm
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us