View previous topic :: View next topic
|
Author |
Message |
hiandrew
New User
Joined: 30 Jun 2005 Posts: 5
|
|
|
|
Hi,
Can u anyone please tell me, What could be the reason for the following abend.
READ ERROR
A SEQUENCE ERROR FOR A SEQ. ACCESSED INDEXED FILE.
THE KEY HAS CHANGED BETWEEN THE READ AND REWRITE.
Thanks and regards,
Andrew.J |
|
Back to top |
|
![](templates/skyLineGrey/images/spacer.gif) |
dick scherrer
Moderator Emeritus
![](images/avatars/34671.jpg)
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
A common cause for this type of error is that the program read a record using "thefirstkey", but when it went to update the record, the value was changed in the code to "anupdatedvalue".
If you look thru your code, you may find someplace where the key value is being "moved to" between the read and the re-write. This could be at the field or group level. |
|
Back to top |
|
![](templates/skyLineGrey/images/spacer.gif) |
Bitneuker
CICS Moderator
![](images/avatars/68252859646fa7b891bd25.jpg)
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Also keep in mind that the DISP parameter may be a part in the game ![icon_wink.gif](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/skyLineGrey/images/spacer.gif) |
hiandrew
New User
Joined: 30 Jun 2005 Posts: 5
|
|
|
|
The interesting thing is, the file is opened in Input mode in the program and being read sequentially. There is no write or rewrite for this file. |
|
Back to top |
|
![](templates/skyLineGrey/images/spacer.gif) |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
hiandrew wrote: |
READ ERROR
A SEQUENCE ERROR FOR A SEQ. ACCESSED INDEXED FILE.
THE KEY HAS CHANGED BETWEEN THE READ AND REWRITE. |
Without message numbers, I'd tend to believe that the error is a program generated error and maybe issued in error....
Look for the logic that generated the error text and then look through the program for way to get to the error text logic. maybe there you can find why your program is branching to that logic. |
|
Back to top |
|
![](templates/skyLineGrey/images/spacer.gif) |
|