View previous topic :: View next topic
|
Author |
Message |
Daphne
New User
Joined: 28 Aug 2006 Posts: 27 Location: NY, US
|
|
|
|
Hi all,
I am getting this message when I execute my COBOL program. My program inputs 2 sequential files and inserts into 2 tables. It also has restart logic.
I have to run the program for 2 different products and for one product I am getting this message.
Each time the program abends in a different place. For example, once it abended when it inserted the 3267th record and once it abended after the whole execution and commit.
I guess it is not related to program but if not what is the problem.
I thought system 222 means that my job exceeds a resource limit for the job class. I changed the job class and ran it again. But getting the same message.
Any suggestion on this is appreciated.
Thanks in advance,
Daphne |
|
Back to top |
|
|
hariavinash
New User
Joined: 04 Jan 2006 Posts: 64
|
|
|
|
Can you check the following...
how many records are in the input files.
is your restart logic creating the last committed record, and
on restart does the program actually starts from the last committed point? |
|
Back to top |
|
|
Daphne
New User
Joined: 28 Aug 2006 Posts: 27 Location: NY, US
|
|
|
|
Hi Hariavinash,
Thanks for the reply. As you said I checked the restart commit points etc.
The number of records in the file is 113483. I had put some displays for each record process.
I think because of that "Operator Cancel" has been effected (system 222).
Now I removed all the unnecessary displays and the program works fine.
Thanks,
Daphne |
|
Back to top |
|
|
Botta Raja Pradeep
New User
Joined: 09 Jan 2008 Posts: 2 Location: India
|
|
|
|
hi,
im getting the similar error as mentioned above i.e.
COMPLETION CODE - SYSTEM=222
can someone plz elaborate on this... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
S222 means that your job was cancelled - see above post. |
|
Back to top |
|
|
Botta Raja Pradeep
New User
Joined: 09 Jan 2008 Posts: 2 Location: India
|
|
|
|
hi all,
the reason for my job getting cancelled is that, there are some cartages used in my job for which a separate JOB CLASS should be used.
I changed my Job Class ans th eJOb is runnign fime now.
Cheers,Raja Pradeep |
|
Back to top |
|
|
|