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

SOC-4 ( segment translation error ) in Assembler


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Build dataset list with properties us... PL/I & Assembler 4
Search our Forums:

Back to Top