Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SOC-4 ( segment translation error ) in Assembler

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
mainframemouli

New User


Joined: 01 Mar 2005
Posts: 52
Location: Mysore

PostPosted: Wed May 17, 2006 9:05 pm    Post subject: SOC-4 ( segment translation error ) in Assembler
Reply with quote

I am getting a soc4 in assembler program.
below is the Fault analyzer details for the abend.

Code:

A program-interruption code 0010 (Segment-Translation Exception) is associated
with this abend and indicates that:                                           

Machine Instruction . . . . : D201B3467004  MVC   838(2,R11),4(R7)         
  At Address. . . . . . . . : 0007FEA6                                     
  AMODE . . . . . . . . . . : 31                                           
  Failing Operand . . . . . : Second operand                               
  First Operand Address . . : 00080436 (961482 bytes of storage addressable)
  First Operand Length. . . : 2                                             
  First Operand Storage . . : 0000  *..*                                   
  Second Operand Address. . : 00791804 (Storage invalid)                   
  Second Operand Length . . : 2                                             
                                                                           
Program Status Word (PSW) . : 078D0000 8007FEA6                             

R0:  00000000 (2048 bytes of storage addressable)         
R1:  00080230 (962000 bytes of storage addressable)       
R2:  00000050 (1968 bytes of storage addressable)         
R3:  000711C0 (Module SYNCSORT + X'71C0')                 
R4:  000097EE (Module NTQPCON1 CSECT NTQPCON1 + X'2356') 
R5:  00005AC6 (Storage invalid)                           
R6:  8007C694 (977260 bytes of storage addressable)       
R7:  00791800 (Storage invalid)                           
R8:  009B00F0 (73488 bytes of storage addressable)       
R9:  0006F254 (Module SYNCSORT + X'5254')                 
R10: 00167DB8 (12872 bytes of storage addressable)       
R11: 000800F0 (962320 bytes of storage addressable)       
R12: 0006F254 (Module SYNCSORT + X'5254')                 
R13: 00071000 (Module SYNCSORT + X'7000')                 
R14: 8007FE8C (962932 bytes of storage addressable)       
R15: 00000000 (2048 bytes of storage addressable)         



Compile listing of the program is not available ..can any one guide me in
how to go about this abend and debug the same.....

R7 register is having a invalid storage what does it mean....[/code]
Back to top
View user's profile Send private message

Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Thu May 18, 2006 12:20 pm    Post subject: Re: SOC-4 ( segment translation error ) in Assembler
Reply with quote

Fine, do you have the source module? If yes, you can compile the source and arrive at the listing. If no, then is this a third party component that you are trying to execute? In that case, you don't have much choice but to contact the vendor.
If you have the source, see what is loaded into R7 before your instruction abends. It may be a problem of incorrect mapping of R7 to any data segment in working storage or input file buffers. Or it can be due to incorrect indexing.
If you have expeditor or trace (any trace utility), you can track down the root cause. Good luck!

Regards,
Bharani.
Back to top
View user's profile Send private message
mainframemouli

New User


Joined: 01 Mar 2005
Posts: 52
Location: Mysore

PostPosted: Thu May 25, 2006 10:52 pm    Post subject:
Reply with quote

The Problem is resolved...
since there is a upgradation in the Region 2 days before that run there is a problem.

The solution is :
Sortin DD statement is the last DD statement in the Job.

Either you can add a SORTOUT DD DUMMY statement after the sortin or

SORTIN statement should not be the Last DD statement....

I arrived to this solution on Trial and Error basis ..can anyone help me why is it so....?????????
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us