comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jeffrey.carter@boeing.com>
Subject: Re: Resize / Truncate Direct_IO file
Date: Tue, 12 Mar 2002 22:41:21 GMT
Date: 2002-03-12T22:41:21+00:00	[thread overview]
Message-ID: <3C8E8411.B05385BB@boeing.com> (raw)
In-Reply-To: c7990eda.0203121240.8e3b7fd@posting.google.com

John Cupak wrote:
> 
> So, here goes: Suppose I have an instantiated Direct_IO file with 10
> records.
> I set the index to 5, and realize I don't need records 6-10. How do I
> truncate or resize the file, short of deleting records 6-10? I don't
> see an End_Of_File procedure for Direct_IO. Am I missing something?

No. A Direct_IO file can get bigger, but not smaller. Within the
confines of Direct_IO, all you can do is create a new file with only the
desired data.

-- 
Jeffrey Carter



      reply	other threads:[~2002-03-12 22:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-12 20:40 Resize / Truncate Direct_IO file John Cupak
2002-03-12 22:41 ` Jeffrey Carter [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox