View previous topic :: View next topic |
Author |
Message |
TexasRanger Beginner
Joined: 05 Feb 2004 Posts: 10 Topics: 4
|
Posted: Thu Feb 05, 2004 4:27 am Post subject: PROTECTION EXCEPTION IN LEGACY ROUTINE WITH ABEND CODE 0C4 |
|
|
Hello,
I am compiling in an OS/390 with COBOL. When I submit a JOB that calls a program A in which there is an external call to a routine B I get a protection exception in that routine B with an ABEND code 0C4.
The program A is in Development enviroment.
The routine B is in Production Enviroment, whereby I can not modify it, and is a legacy routine.
I can not even use the EXPEDITER because program B is in production and has not been compiled with CMPUWARE.
Dos anoybody has an idea why I am getting this error? Is it possible to block a call to a program that belongs to Production from a program that is executed in Development????
Thanks.. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12369 Topics: 75 Location: San Jose
|
Posted: Thu Feb 05, 2004 6:43 am Post subject: |
|
|
Texas ranger,
SOC4 abend can occur when requesting an unavailable area (be it virtual storage or even opening a non-existing non-optional file).
Quote: |
The program A is in Development enviroment. The routine B is in Production Enviroment, whereby I can not modify it, and is a legacy routine.
|
How are you making sure that you are picking the production module? Is the call a static call or a dynamic call?
Did you concatenate the prod loadlib to the test loadlib in your steplib?
Quote: |
Is it possible to block a call to a program that belongs to Production from a program that is executed in Development????
|
Just remove the prod loadlib dsn from your steplib concatenation and your pgm will abend with s806 abend which for the requested load module not found.
If you really don't care about the calling program why not simply comment out the call to the program b?
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|