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

reg abend while udating ksds


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ambili S

Active User


Joined: 06 Sep 2007
Posts: 112
Location: India

PostPosted: Wed Sep 22, 2010 9:19 am
Reply with quote

There is a sequential file with 100 records.My pgm should read this file sequentially and update a KSDS file accordingly.
My question is if the pgm abends after 25 records are updated then how would i restatrt it or what should i take care in the code for such scenario.



Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Sep 22, 2010 9:49 am
Reply with quote

Hello,

Backup the file before the run and if there is an abend, fix the problem, reload the data and rerun.
Back to top
View user's profile Send private message
nareshkp

New User


Joined: 26 Sep 2007
Posts: 28
Location: Bangalore

PostPosted: Wed Sep 22, 2010 11:44 am
Reply with quote

In my opinion, if there is no checkpoint/restart logic implemented in your program, you can do a normal restart after fixing the abend.

Checkpoint/restart logic will be mostly project soecific. The basic idea behind this is to commit the changes at regular intervals (can be based on Time or Input record count or Output record count) called checkpoint frequency and keep track of the last successful committed record to be used during the restart.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
Search our Forums:

Back to Top