HP3000-L Archives

April 2002, Week 4

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:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Tue, 23 Apr 2002 10:05:01 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
If you open the file with the COPY aoption, then you can read all the
records.  There is a four-byte field at the start of each record which
indicates whether or not it is deleted.
This almost works:
file ksamcopy=yourksam,old;copy
fcopy from=*ksamcopy;to=

If you try this, you'll see that FCOPY reads by the original record length
and gets off by four bytes each record.  If you write a program and read by
the larger (by 4) record length, it will work.

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

ATOM RSS1 RSS2