MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PROTECTION EXCEPTION IN LEGACY ROUTINE WITH ABEND CODE 0C4

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination
View previous topic :: View next topic  
Author Message
TexasRanger
Beginner


Joined: 05 Feb 2004
Posts: 10
Topics: 4

PostPosted: Thu Feb 05, 2004 4:27 am    Post subject: PROTECTION EXCEPTION IN LEGACY ROUTINE WITH ABEND CODE 0C4 Reply with quote

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


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Thu Feb 05, 2004 6:43 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group