Use the FILESTAT service to determine statistics about a file on
the connected workstation. FILESTAT returns information that the file
exists, the longest length record in the file, and the date and time
on the file.
Note: Be aware that when the FILESTAT service is issued for certain
reserved or restricted operating system file names, your workstation
operating system or host system can cease to function, or "hang".
See your workstation operating system documentation to note reserved
or restricted file names.