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

COMPLETION CODE - SYSTEM=222


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Daphne

New User


Joined: 28 Aug 2006
Posts: 27
Location: NY, US

PostPosted: Thu Nov 16, 2006 8:49 pm
Reply with quote

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
View user's profile Send private message
hariavinash

New User


Joined: 04 Jan 2006
Posts: 64

PostPosted: Thu Nov 16, 2006 9:04 pm
Reply with quote

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
View user's profile Send private message
Daphne

New User


Joined: 28 Aug 2006
Posts: 27
Location: NY, US

PostPosted: Thu Nov 16, 2006 10:56 pm
Reply with quote

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
View user's profile Send private message
Botta Raja Pradeep

New User


Joined: 09 Jan 2008
Posts: 2
Location: India

PostPosted: Wed Jan 09, 2008 4:41 am
Reply with quote

hi,
im getting the similar error as mentioned above i.e.
COMPLETION CODE - SYSTEM=222

can someone plz elaborate on this...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jan 09, 2008 4:59 am
Reply with quote

S222 means that your job was cancelled - see above post.
Back to top
View user's profile Send private message
Botta Raja Pradeep

New User


Joined: 09 Jan 2008
Posts: 2
Location: India

PostPosted: Wed Jan 09, 2008 5:15 am
Reply with quote

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
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top