Checks the integrity of the file and generates a report of any
errors in its structure. The report produced by the /CHECK
qualifier includes a list of any errors and a summary of the
file's structure. If you do not specify an output file, the
report is written to the current SYS$OUTPUT device, which is
generally your terminal. You can use wildcards and multiple file
specifications. If you specify /NOOUTPUT, you only get a message
indicating whether the file has errors.
The check function is active by default when you use the ANALYZE
/RMS_FILE command without any qualifiers. The /CHECK qualifier
is not compatible with the /FDL qualifier, the /INTERACTIVE
qualifier, the /STATISTICS qualifier, or the /SUMMARY qualifier.
If /CHECK is used with any of the other qualifiers, /FDL takes
precedence, next is /INTERACTIVE, then /STATISTICS, and lastly
/SUMMARY.