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 

s0c4 in db2 pgm

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


Joined: 05 Apr 2005
Posts: 131
Topics: 64
Location: chennai

PostPosted: Fri Feb 17, 2006 3:58 am    Post subject: s0c4 in db2 pgm Reply with quote

II have a db2 pgm calling another DB2 pgm

CALLING PGM
address mode=any,residency mode=24

Called pgm address mode=24,residency mode=24

It fails with S0C4 in TEST ENVIRONMENT with the above compiler option
It works only if we compile with below options
calling am=24,rm=24
called am=24,rm=24

ACTUALLY IT GETS A S0C4 when the called pgm accesses a db2 table

Pls tell explain the reason for the same

I feel it is something to do with the location of db2 address space. i.e whether it is above the 16mb line or below
_________________
deepa
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Feb 17, 2006 4:57 am    Post subject: Reply with quote

deepa12,

what is the reason code ? check this link for detailed explanation of the error

http://mvsforums.com/helpboards/viewtopic.php?p=23225#23225

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 -> Database 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