An alternative that became available in 5.5 PP4? is an enhancement to
the LISTFILE command.
:LISTFILE filename;SELEQ=[ACCESS=INUSE]
If the file is opened, no error or warning is returned, otherwise;
No files match SELEQ for "filename". (CIWARN 190)
is returned.
Mike Berkowitz
Guess? Inc.