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 

Problem - varying results with first run vs rerun of job

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
maverick
Beginner


Joined: 05 Jun 2003
Posts: 7
Topics: 3

PostPosted: Mon Jul 14, 2003 1:59 am    Post subject: Problem - varying results with first run vs rerun of job Reply with quote

This is a problem which has been baffling me for a while now (not that it takes much to do so in the mainframe world!) Shocked
There's a job that creates a back-up of input file, sorts the input file, processes (thru COBOL/IMS program) the sorted input file and creates output file, and finally deletes the original input file. However, every once in a while in production, it creates an incomplete output file i.e. it does not process all the input records, but ends without any abend/error. When the job is run again using the back-up of the input file, all input records are processed. It's the same input records and the same job, so why do I get varying results?
Would appreciate it if anyone could through some light on this.
Cheers
M
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Mon Jul 14, 2003 5:41 am    Post subject: Reply with quote

maverick,

what is the return code of the job when it process only partial records?? There are situations when the file runs out of space allocation , the system issues a return code of 12 but does not abend. In this case the job will only process partial records.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
maverick
Beginner


Joined: 05 Jun 2003
Posts: 7
Topics: 3

PostPosted: Mon Jul 14, 2003 11:56 pm    Post subject: Reply with quote

kolusu,

All steps are performed and RC=0 all through. It's only after checking the output file that we realise that processing was incomplete.

cheers
maverick
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 -> Job Control Language(JCL) 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