Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

COMPLETION CODE - SYSTEM=222

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: COMPLETION CODE - SYSTEM=222
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    Post subject:
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    Post subject: Re: COMPLETION CODE - SYSTEM=222
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    Post subject: COMPLETION CODE - SYSTEM=222
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jan 09, 2008 4:59 am    Post subject:
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    Post subject: COMPLETION CODE - SYSTEM=222
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 5 Sat May 06, 2017 12:59 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us