I have A ksam file with one key (duplicates allowed).
Ex:
Key data-field
A 001
B 002
C 003
C 004
D 005
E 006
I start at key C, read a record and update the data field to X
I read another rec (the next C) and update the data field to Y
I then stop because I only wanted to update the 'C' recs.
At the end, the 2 C recs are as follows:
C YYY
C YYY
The data portions of both are the same.
I've tried NM and CM KSAM.
The code is NM COBOL.
I've tried COBOL start/read/rewrite as well as
the intrinsics (CKSTART/CKREAD/CKREWRITE).
The manuals do indicate some odd things happening with record
pointers but only when changing keys and I'm not doing that.
Has anyone run across this ?
Mike
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *