HP3000-L Archives

May 2006, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Caplin <[log in to unmask]>
Reply To:
Michael Caplin <[log in to unmask]>
Date:
Tue, 16 May 2006 16:24:27 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
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 *

ATOM RSS1 RSS2