Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
SOC4 error with AMODE(31) & DATA(31)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: SOC4 error with AMODE(31) & DATA(31)
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    Post subject: More details.
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    Post subject: S0C4 Error
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    Post subject:
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    Post subject:
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    Post subject: Re: SOC4 error
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    Post subject:
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    Post subject: Re: SOC4 error
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    Post subject: Re: SOC4 error
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    Post subject:
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

Site Director


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

PostPosted: Wed May 23, 2007 1:45 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 0 Tue Sep 26, 2017 3:35 am
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm
No new posts Error in SQL-PLIST3 'Above value tru... rikdeb DB2 4 Wed Sep 06, 2017 1:34 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us