Page 1 of 1

CEE3204S The system detected a protection exception

PostPosted: Thu Oct 29, 2009 7:19 pm
by rickyzeng
Hello guys,

We faced a problem, our job failed for few days with return code 1000, but the output has been generated successfully and sent out. We can not find out the root cause. it's strange because this job is correct before and we did not make any change on it.

Can some one help me to analyze below information?

Thanks in advance!

JOB00523 GSDMV21I JGRED410 RUN405 RTP020 1000 00:00:54

Snap dump was unsuccessful


CEE3204S The system detected a protection exception (System Completion Code=0C4)
Location:
Program Unit: Entry: C_EXTRACTION
Statement: Offset: +00000104


Storage dump near condition, beginning at location: 000681EC
+000000 000681EC A74AFFFF A74C000A 412011D0 41141264 D2091000 200C5810
GPREG STORAGE:
Storage around GPR0 (000000F0)
-0020 000000D0 Inaccessible storage.
+0000 000000F0 Inaccessible storage.
+0020 00000110 Inaccessible storage.
Storage around GPR1 (497BF9DC)
-0020 497BF9BC Inaccessible storage.
+0000 497BF9DC Inaccessible storage.
+0020 497BF9FC Inaccessible storage.

Re: CEE3204S The system detected a protection exception

PostPosted: Fri Oct 30, 2009 1:16 am
by dick scherrer
Hello,

Something is different in the abended run. . . Hopefully, if the same inputs are used, the abend will repeat.

Possibly some bad code that is just now discovered - an array gone wild perhaps.

Suggest you insert a bit of diagnostic code and determine where the abend happens.

Re: CEE3204S The system detected a protection exception

PostPosted: Fri Oct 30, 2009 5:11 pm
by rickyzeng
Thank you very much, dick scherrer.

Following your guidance, i have found the bad code in the program.

it is due to the array go wild.

Thank you very much!

Re: CEE3204S The system detected a protection exception

PostPosted: Fri Oct 30, 2009 11:25 pm
by dick scherrer
You're welcome - good to hear it is working :)

Thanks for letting us know,

d

Re: CEE3204S The system detected a protection exception

PostPosted: Thu Apr 14, 2011 8:30 pm
by Ajaytyagi
i am having same problem. can you please tell me how to resolve this problem.

Re: CEE3204S The system detected a protection exception

PostPosted: Thu Apr 14, 2011 8:39 pm
by prino
Ajaytyagi wrote:i am having same problem. can you please tell me how to resolve this problem.

Don't reopen a thread that has been dead for 18 months...

Recompile your program with the SUBSCRIPTRANGE prefix, i.e.

 (subrg):
 myprog: options(main) reorder;
 .
 .
 .
 end myprog;