
  FILESCAN is used to scan a file to determine its file format. Do
  not use this feature unless you understand file systems and file
  formats.

  Only one file may be scanned at a time.

  The file is read in binary mode looking for non-data characters.
  Upon completion of the scan, the results are presented in a dialog
  with the following fields:

  Filespec

     The fully qualified file specification for the file scanned.

  Bytes

     The total number of bytes read including control characters.

  MaxRecLen

     The number of bytes in the longest record. If no LF or CR+LF
     record terminators are found, the number of bytes in the
     longest record will be equal to "Bytes". In this case, the file
     is of undetermined format and is certainly not a conventional
     text file.

  x00 to x1F:

     For each character code from x'00' to x'1F' a count of the
     number of times that character code was found is displayed.

     Some character codes are of special interest:

     x'00' - the "String Terminator" character should not appear in
     text files. It can cause incorrect results in string
     operations.

     x'09' - the "Tab" character will normally be "expanded" to
     position text after it to the next tab stop.

     x'0A' - the "Line Feed" character appears at the end of each
     RECFM=V record. If this count is 0, the file is not a standard
     text file and can only be edited with a File Profile that uses
     RECFM=F.

     x'0C' - the "Form Feed" character may appear in text files
     which are destined to be printed. To make use of the "Form
     Feed" character, see OPTIONS, item PRINT STYLE, field
     "ColOneFormFeed".

     x'0D' - the "Carriage Return" character appears immediately
     before the "Line Feed" character at the end of each record in a
     standard DOS or Windows text file. Unix/Linux text files have
     LF only at the end of each record.

     x'1A' - the "End of File" character may appear in older DOS
     text files to indicate "logical end of file". Normally this
     character is not present; the "end of file" condition is raised
     at the physical end of the file. To specify how the "End of
     File" character should be handled, see OPTIONS item FILE
     PROFILES, fields "EndOfFileCharRead" and "EndOfFileCharWrite".

  Note:  This file scan technique is purposely simple and can not
  infer anything beyond the reported information. If this
  information is ambiguous, it is up to you to determine true file
  format.

  In cases where the file format is still a puzzle after scanning,
  override the file profile in the "File List Open" dialog by
  setting the "Profile" field to "F64". Then Browse the file. File
  profile F64 presents the file as raw 64 byte fixed length records.
  Use HEX ON to examine non-printable character values.

