description:sddscheck is a simple tool to allow checking a file to see if
it is a valid SDDS file, or if it is corrupted. The primary use is in shell scripts that need
to detect such conditions. sddscheck issues one of four messages: ok, nonexistent, badHeader, or corrupted. (See sddsconvert about recovering
Under UNIX, one could do the following to check a file before plotting it:
if (`sddscheck APS.twi` == "ok") plotTwissParameters APS.twi
where plotTwissParameters is a hypothetical plotting script.
files:filename is the name of a single file to be checked.
-printErrors -- Causes the SDDS error traceback to be printed if the file is not ok.
This may be helpful in determining the problem with the file.