HP3000-L Archives

December 2002, Week 1

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:
Mark Undrill <[log in to unmask]>
Reply To:
Mark Undrill <[log in to unmask]>
Date:
Tue, 3 Dec 2002 06:01:47 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
"Jeff Kell" <[log in to unmask]> wrote in message
news:3debe663$1@skycache-news.fidnet.com...
> Tracy Pierce wrote:
> >
> > from the Cobol manual page 6-26: use the Cobol DELETE verb to clobber
> > records in an RIO file.  exactly what sort of FWRITE intrinsic call this
> > generates is unclear, but do you really care?
>
> IIRC, you 'delete' a record by setting the first byte (bytes?) to the
> COBOL 'HIGH-VALUES' (all bits set to one).
>
> Jeff
>
As I recall, the first 2 bytes are COBOL 'HIGH-VALUES' or PIC S9(4) COMP
VALUE -1. I came across this some years ago when the data in the first 2
bytes of a record could be -1 and I found I couldn't read these records.
That one took a bit of finding...

Mark

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2