Home »
Public Forums »
archive »
Re: Truncating file with OPENU
Re: Truncating file with OPENU [message #42340] |
Sun, 30 January 2005 03:44 |
Wayne Landsman
Messages: 117 Registered: January 1997
|
Senior Member |
|
|
"Wayne Landsman" <landsman@sampa.gsfc.nasa.gov> wrote in message
news:cte9ic$akd$1@skates.gsfc.nasa.gov...
>
> There used to be a VMS keyword TRUNCATE_ON_CLOSE to OPENU that would do
> what I want: truncate the file at the current file pointer position when
> the file was closed. I'd prefer an OS-independent method.
Jim Pendleton points out that there is now an intrinsic IDL procedure to do
exactly what I want:
--the TRUNCATE_LUN procedure was introduced in V5.6.
--Wayne Landsman
|
|
|
Current Time: Wed Oct 08 11:42:38 PDT 2025
Total time taken to generate the page: 0.00490 seconds