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

How to restart COBOL-DB2 prgram from particular checkpoint


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bijjaragi
Warnings : 2

New User


Joined: 08 Sep 2006
Posts: 7
Location: Bangalore

PostPosted: Wed Sep 02, 2009 6:16 pm
Reply with quote

If a cobol-db2 program is processing 1 million records and if program gets abend after 200,000 records. How to restart from the 200001st record?

Regards
Vivek
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Sep 02, 2009 6:28 pm
Reply with quote

you need some type of restart logic in your program.

many discussions in this forum.

But, you should start by inquiring at your site. How does your site
perform restart.

ask your peers, your boss, your site support.

some sites use the IBM supplied Checkpoint Restart service,
many sites have their own checkpoint Restart 'subsystem'
some sites do not have checkpoint restart. no commits during batch run, just start over.

so, you have to find out how your site handles checkpoint restart -
that means ask someone there, not in the forum.
Back to top
View user's profile Send private message
bijjaragi
Warnings : 2

New User


Joined: 08 Sep 2006
Posts: 7
Location: Bangalore

PostPosted: Wed Sep 02, 2009 6:31 pm
Reply with quote

Yes, will do that
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top