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.