View previous topic :: View next topic
|
Author |
Message |
ssamineni Warnings : 1 New User
Joined: 10 Mar 2007 Posts: 16 Location: India
|
|
|
|
HI,
I am getting abend while executing ZAP instruction.Both destination & source fields are defined as Packed. For the first record of the file,its going fine,its abneding for second one onwards.The source filed has proper data even for second read...is their any equivalent command for ZAP? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
A S0C7? Then look at the contents of the source field that caused it.
If the field sizes are the same, you could always MVC, but then you would have the garbage in the destination field and the CC would not get set. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If this was true
Quote: |
The source filed has proper data |
there would be no 0c7
Either there is bad data in the suspect field or the field being looked at is not the field causing the abend. It may be that data that was correct when read has been erroneously modified somehow before the ZAP is executed. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
I could also be a protection (store or fetch) or a decimal overflow exception. I doubt the addressing exception applys any longer and I doubt very much that the OP is running on a machine that doesn't have the decimal feature installed (operation exception)......... |
|
Back to top |
|
|
|