comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 2 questions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 2 questions [message #26315 is a reply to message #26314] Thu, 16 August 2001 05:24 Go to previous messageGo to previous message
Richard French is currently offline  Richard French
Messages: 173
Registered: December 2000
Senior Member
Bob Fugate wrote:

> Question: Is there a better way to handle this? For instance, is there a way
> to extend the time-out period to allow the file to be restored so it can be
> checked and subsequently processed? Is there a way to terminate the
> HDF_ISHDF query before it times out and put this file on a list to process
> in a second batch? Any suggestions greatly appreciated.
>

Another possibility is not to use HDF_ISHDF as the first line of defense
-
I am not familiar with the formats of HDF files, but if there is a
unique
set of bits or bytes at the start of the file that clearly designates
that it is supposed to be an HDF file, then you can write your own very
simple check program to read the start of the file and see if it is in
that format. Reading the file will trigger the restore command from
tape,
as you describe it. Perhaps instead of checking to see if it is an HDF
file,
you can check to see if it is a stub file, either by determining the
size
of the file or, if there is a unique format to the stub file, seeing if
the
contents of the file match that pattern instead of the HDF format.

Dick French
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: mpeg movie problem solved
Next Topic: a newbie question on code efficiency

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:47:51 PDT 2025

Total time taken to generate the page: 0.80125 seconds