HP3000-L Archives

April 1999, Week 2

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 Wilkinson <[log in to unmask]>
Reply To:
[log in to unmask][log in to unmask]]
Sent: Monday, 12 April, 1999 1:24 PM
To: [log in to unmask]
Subject: DLT7000 vs DLT4000? [...]38_12Apr199913:59:[log in to unmask]
Date:
Wed, 14 Apr 1999 10:48:52 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Have just done a little experiment with this. The results are interesting enough
to share with the list I think. I wrote a program to...

1. Open a temporary file in the /tmp directory with a filename > 16 chars (but
as a temporary file, not permanent)
2. Write a record to it
3. Close the file
4. Open it again for input
5. Read the record
6. Print the record
7. Close the file again

This seems to work fine up to step 4 where I get FSERR 52. I stuck in some
CAUSEBREAKs at key points and discovered the following (with the use of MPEX'
showproc ;format=files)

The temp file is built OK
The record is written OK
The first close purges the file!!

I wonder why the file is not left in the temporary namespace?

Interesting

Mark Wilkinson.

ATOM RSS1 RSS2