View previous topic :: View next topic |
Author |
Message |
maverick Beginner

Joined: 05 Jun 2003 Posts: 7 Topics: 3
|
Posted: Mon Jul 14, 2003 1:59 am Post subject: Problem - varying results with first run vs rerun of job |
|
|
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!)
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
Posted: Mon Jul 14, 2003 5:41 am Post subject: |
|
|
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 |
|
 |
maverick Beginner

Joined: 05 Jun 2003 Posts: 7 Topics: 3
|
Posted: Mon Jul 14, 2003 11:56 pm Post subject: |
|
|
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 |
|
 |
|
|