Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
SOC7 using Address field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
Author Message
spadma

New User


Joined: 18 Dec 2007
Posts: 9
Location: India

PostPosted: Wed Apr 16, 2008 3:43 pm    Post subject: SOC7 using Address field
Reply with quote

Hi All,

Can anyone suggest me how to resolve SOC7 USING Address not using the offset.
Back to top
View user's profile Send private message
References
PostPosted: Wed Apr 16, 2008 3:43 pm    Post subject: Re: SOC7 using Address field Reply with quote

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1199
Location: At my desk

PostPosted: Wed Apr 16, 2008 7:45 pm    Post subject: Re: SOC7 using Address field
Reply with quote

spadma wrote:
Can anyone suggest me how to resolve SOC7 USING Address not using the offset.
Firstly, that is S0C7....
Secondly, you are going to have to provide a little more information than just "USING Address not using the offset"....
Awaiting your answer......
Back to top
View user's profile Send private message
Anuj D.

Global Moderator


Joined: 22 Apr 2006
Posts: 1951
Location: Phoenix, AZ

PostPosted: Thu Apr 17, 2008 2:15 am    Post subject:
Reply with quote

Hi,

Check this link..there is some good explanation by socker_dad, might help.

http://www.ibmmainframes.com/viewtopic.php?t=10853&highlight=s0c7
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1199
Location: At my desk

PostPosted: Thu Apr 17, 2008 2:27 am    Post subject:
Reply with quote

Thanks Anuj, that helped one possible explaination click.....

Swaraj,
Are you saying that you have the address of the S0C7 but not the displacement into the program where the abend occured?

Do you have the link/bind map?

Do you have a dump of the program storage at the time of the abend with the PSW and register contents?
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 298
Location: Bang,iflex

PostPosted: Thu Apr 17, 2008 11:36 am    Post subject:
Reply with quote

Hi,

I can give you simple hints to rule out SOC7,

(i) Exped the variable contents which is involved in arthmetic operation.

(ii) check whether copy book variables are all intialized to their respective initial value.

(iii) check for the subprogram variables may contain junk values

(iv) work out for CEEDUMP obtained in SPOOL area

(vi) Get the details about PSW in CEEDUMP
Back to top
View user's profile Send private message
spadma

New User


Joined: 18 Dec 2007
Posts: 9
Location: India

PostPosted: Thu Apr 17, 2008 3:36 pm    Post subject: Reply to: SOC7 using Address field
Reply with quote

Hi,

I have only Addrees with me not the offset in the program. let us suppose i am running an Eztrieve and my job got abended with SOC7, then the spool looks as below.

X-GRS1-IN-FI-SCORES-TBL 6 29 32 33 33 34
33 *******A006 PROGRAM INTERRUPT - CODE 7 (DATA EXCP)
INTERRUPT OCCURRED AT 0224 BLOCK 1 FROM EP CA-EASYTRIEVE PLUS 6.4 0311-04/16/0
INSTRUCTION AT 00015234 IS F811169A269A
FIRST OPERAND ADDRESS 00030FF1 CONTENTS 4040
SECOND OPERAND ADDRESS 0003369C CONTENTS 0000
PSW+4 AT INTERRUPT 8001523A
REGISTERS AT INTERRUPT
R0 0003369C R1 00030957 R2 00033002 R3 00023010 R4 0000D000 R5 0000F
R8 00000000 R9 0000D3B8 R10 A3607626 R11 00015010 R12 8DEA7B12 R13 0000A

In this case how to reslove SOC7
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1199
Location: At my desk

PostPosted: Thu Apr 17, 2008 6:09 pm    Post subject:
Reply with quote

Quote:
INSTRUCTION AT 00015234 IS F811169A269A
SECOND OPERAND ADDRESS 0003369C CONTENTS 0000

The F8 is a ZAP"
ZERO AND ADD
The second operand is placed at the first-operand location. The operation is equivalent to an addition to zero. The operand and result are in the packed format.
Only the second operand is checked for valid sign and digit codes.
The second operand is not a valid packed number.
Whatever you are doing, is a move of a two or three digit packed value to a packed area that is currently spaces.
Uninitialized storage?
Bad input data?
Look at the EZT listing, the "INTERRUPT OCCURRED AT 0224 BLOCK 1 FROM EP" might help to point to the move.
And again, displays can help isolate the bad move too.
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 298
Location: Bang,iflex

PostPosted: Fri Apr 18, 2008 9:07 am    Post subject:
Reply with quote

Hi CICS GUY,

Please can you tell us, how to find out the bad data through PSW in CEEDUMP?

I guess PSW is known as Program Status Word

this will helps us surely.
Back to top
View user's profile Send private message
spadma

New User


Joined: 18 Dec 2007
Posts: 9
Location: India

PostPosted: Fri Apr 18, 2008 10:04 am    Post subject: Reply to: SOC7 using Address field
Reply with quote

Hi CICS GUY,

i understood a little bit what you were saying. You are saying that i am trying to move or add to a filed which has spaces or junk data right. But how can i find out which filed it is?

And also can you expalin in deatil about

"The F8 is a ZAP
ZERO AND ADD
The second operand is placed at the first-operand location. The operation is equivalent to an addition to zero. "


And one more doubt is where can i get the listings of this EZT? can i get it in SPOOL? can you please explain me in detail how to locate the field.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1199
Location: At my desk

PostPosted: Fri Apr 18, 2008 7:12 pm    Post subject:
Reply with quote

vasanthkumarhb wrote:
Please can you tell us, how to find out the bad data through PSW in CEEDUMP?
The PSW points to the operand that failed but more usually to the operand after the one that failed.
Figure out which one failed and look at the base/displacement indicated to check the data involved.
The Principles of Operation is your friend.....
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1199
Location: At my desk

PostPosted: Fri Apr 18, 2008 7:18 pm    Post subject: Re: Reply to: SOC7 using Address field
Reply with quote

spadma wrote:
i understood a little bit what you were saying. You are saying that i am trying to move or add to a filed which has spaces or junk data right. But how can i find out which filed it is?
Actually the field you are moving is susposed to be a packed decimal field but only contains low values. It is a two or three digit field, two bytes in length.
Quote:
And also can you expalin in deatil about
"The F8 is a ZAP
ZERO AND ADD
The second operand is placed at the first-operand location. The operation is equivalent to an addition to zero. "
The Principles of Operation is your friend.....
Quote:
And one more doubt is where can i get the listings of this EZT? can i get it in SPOOL?.
Compiled or interpreted, it is/was in the jes queue...
Quote:
can you please explain me in detail how to locate the field
Sorry, no....
Back to top
View user's profile Send private message
manikawnth

New User


Joined: 07 Feb 2007
Posts: 5
Location: Mumbai

PostPosted: Wed May 07, 2008 6:01 am    Post subject:
Reply with quote

F811169A269A
Look this as F8 11 169A 269A
F8 - ZAP instruction
1 - Length of first operand (length is 2 bytes)
1 - Length of second operand (length is 2 bytes)
169A - Base address is in R1 and displacement is 69A
269A - Base address is in R2 and displacement is 69A

First operand is at R1 + 69A = 30957 + 69A = 30FF1
Second operand is at R2 + 69A = 33002 + 69A = 3369C
value at second operand address is 0000 (2 bytes)
This is expected as a valid packed decimal data but not...It should be 000C
Problem with initialization of second operand.
To know the field, check the assembler listing of the program... I can't help that until u have that listing...
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 190
Location: Scotland

PostPosted: Tue May 13, 2008 4:00 pm    Post subject:
Reply with quote

33 *******A006 PROGRAM INTERRUPT - CODE 7 (DATA EXCP)

If you can get a listing - the error likely lies in line 33
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1