MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Skipping records after abend

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
saijai
Beginner


Joined: 06 Sep 2006
Posts: 14
Topics: 6

PostPosted: Fri Dec 08, 2006 4:40 am    Post subject: Skipping records after abend Reply with quote

Hi,

My requirement :
There are 10 records in a Fixed byte file LRECL = 10(Containing only numbers)The job abended while processing the 5 th record.
I would like to restart the job after copying the rest of the unprocessed records onto a separate file.
The record which was the cause for the abend should be passed as a parm value in JCL while restarting. Can this be done efficiently and simply using Sort?
_________________
Thanks,
Jai
Back to top
View user's profile Send private message
ash_sudp
Beginner


Joined: 17 May 2006
Posts: 12
Topics: 0

PostPosted: Tue May 13, 2008 10:23 pm    Post subject: Reply with quote

* Use a checkpoint file that captures the count of the records processed.
* In your COBOL program, you would always read the checkpoint file and start processing the record from where you left in case of abends.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group