View previous topic :: View next topic
|
Author |
Message |
baljinders
New User
Joined: 21 Aug 2006 Posts: 72
|
|
|
|
Hi Everyone,
Any suggestions for the below issue,
My program is getting s222 abend after writing 500 records. The input file has close to 3 million records. The program reads the input file , perform some matching process with another file and produces an output file. The job is running for more than 2 hours before it abends.
I have tried giving TIME=1440 in the job card, but to no avail. I have also ran the job using different job classes. result is still the same. It abends after writing 500 records to the ouput file. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
S222 Explanation: The operator, or an authorized time sharing option extensions (TSO/E) user, canceled the job without requesting a dump.
In other words, your job was cancelled.
Check the log to see who issued the cancel command.
This could be site specific, ie. an exit might be in place because you are violating some local rule and hence the job is cancelled.
Check with your support people.
Gerry |
|
Back to top |
|
|
baljinders
New User
Joined: 21 Aug 2006 Posts: 72
|
|
|
|
Thanks Gcicchet,
I Knew the job got cancelled but why it was getting cancelled was not clear to me. So i tried different options to get it work but nothing worked. As per your advice, i'll check with the support people and get back to you. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I have tried giving TIME=1440 in the job card, but to no avail. |
NEVER specify TIME=1440. . .
When testing, this is not appropriate. In the few cases where this is used (CICS regions, database, etc) this is used but not for some developer. . .
As Gerry mentioned, you need to check with your support people. Suggest you not continue to flail away until you have learned why the job was canceled and corrected the problem. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
why it was getting cancelled was not clear to me |
the cancel operation is done by :
1) a human being
2) some automation as consequence of ...
so ..
1) find the human being and ask him/her
2) ask Your support for clarification
unlikely You will get any answer from people outside Your organization |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
It abends after writing 500 records to the ouput file |
sounds as if the program has a loop / bug that is encountered at or around the 500th output record and then loops until the 222 is issued.
what is the basis of an output record? at what point do you output at record? |
|
Back to top |
|
|
baljinders
New User
Joined: 21 Aug 2006 Posts: 72
|
|
|
|
Thanks everyone. The program ran fine. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Quote: |
Thanks everyone. The program ran fine. |
Well, ahh, uhh you're welcome. . . Good to hear it is working
What was changed to get the program to "run fine"?
d |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
What was changed to get the program to "run fine"? |
nobody canceled it |
|
Back to top |
|
|
|