IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SOC4 error with AMODE(31) & DATA(31)


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dinguduse

New User


Joined: 24 Jun 2005
Posts: 8

PostPosted: Wed Aug 17, 2005 1:15 am
Reply with quote

Hi all,

I am facing a problem now. One of my mainframe job fails with SOC4 error. Apparently, the job goes through fine when I restart the job after some time.

I got this error 5-6 times in last 3 months and every time the job will go to good EOJ when I restart.

Do any of you guys know /guess what could be the problem

The program is compiled with the below options. Will this could be the error?

AMODE(31) ,===>,N
DATA(31) ,===>,N

Thanks in advance for your help.
Regards,
Back to top
View user's profile Send private message
dinguduse

New User


Joined: 24 Jun 2005
Posts: 8

PostPosted: Wed Aug 17, 2005 1:23 am
Reply with quote

The SOC4 error, came with the reason code 11.

The manual says :

Page-translation exception. This error is caused by
one of the following:

o A program that was running disabled attempted to
reference storage while that storage was paged
out. To correct the error, page-fix the storage
before a program running disabled attempts to
reference it.

etc...etc

If any one can decently decode the above, it would be great !!

Thanks !
Back to top
View user's profile Send private message
HIRAKI81

New User


Joined: 17 Aug 2005
Posts: 5

PostPosted: Wed Aug 17, 2005 5:22 pm
Reply with quote

Hi,

Pls add REGION = 4M or REGION = 8M in your job statement and try running it.

Regards,
Back to top
View user's profile Send private message
dinguduse

New User


Joined: 24 Jun 2005
Posts: 8

PostPosted: Thu Aug 18, 2005 12:57 am
Reply with quote

Hi Ram,

Thanks for looking into.

My JCL is already coded with the parameter REGION=4096K.

The strange issue is, I was not able to simulate the error in test at all..
and in production, every time, yup, each and every time the job goes through fine when i restart !


Regards,
Aravind (Alias Dinguduse)
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Aug 21, 2005 5:56 am
Reply with quote

Showing the JCL and the sysmsg re. the abend might help.
Back to top
View user's profile Send private message
solid_18

New User


Joined: 11 Oct 2005
Posts: 2
Location: Manila, Philippines

PostPosted: Tue Oct 11, 2005 10:41 pm
Reply with quote

try with REGION=0M
Back to top
View user's profile Send private message
mvanandkumar

New User


Joined: 01 Sep 2005
Posts: 11

PostPosted: Wed Oct 12, 2005 7:23 am
Reply with quote

Hi dinguduse

My 2 cents of advice....

If you are calling a program...then check the COMMAREA length....

If you calling program is RMODE/AMODE 24.....then it cannot call RMODE/AMODE 31 programs.....

What do you mean by - when you restart the program ? it works ?...restart from where ? icon_rolleyes.gif
Back to top
View user's profile Send private message
samitcmathur

New User


Joined: 05 Feb 2006
Posts: 4

PostPosted: Fri Mar 23, 2007 2:00 pm
Reply with quote

the region =4096??
the max region size is 2047000 KB

that could be the reason that you are getting error due to trying to access the memory you don't have the access for
Back to top
View user's profile Send private message
samitcmathur

New User


Joined: 05 Feb 2006
Posts: 4

PostPosted: Fri Mar 23, 2007 2:08 pm
Reply with quote

region = 2047000 KB
that could be the reason that you are getting the error due to accessing storage locations you don't have access to
Back to top
View user's profile Send private message
souryab

New User


Joined: 23 May 2007
Posts: 10
Location: India

PostPosted: Wed May 23, 2007 1:20 am
Reply with quote

I got a similar problem. The options when compiling are DATA = 31 and RMODE = ANY. Will any changes to compilation solve the problem?
Also, REGION=OM is specified in Job.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed May 23, 2007 1:45 am
Reply with quote

Hello,

Quote:
I got a similar problem. The options when compiling are DATA = 31 and RMODE = ANY. Will any changes to compilation solve the problem?
Also, REGION=OM is specified in Job.


Does this fail every time or only in certain situations (like test/prod or daily/weekly, etc)?

As was mentioned earlier, posting the jcl and diagnostic info may help. Also, posting the select/assign/fd (not the entire record), may help.

For anyone who might not realize,
Quote:
My JCL is already coded with the parameter REGION=4096K
is the same as 4M.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
Search our Forums:

Back to Top