hcismatconvert

There are two formats for file based SMAT: old and new. This script converts between the file-based SMAT format and database-based SMAT format. This script can only be used as a database export utility.

When a SMAT database file is encrypted, the encryption information is read from $HCISITEDIR/siteInfo environment variable or it can be overridden with the -s option.

Note: The default is a forward conversion that overwrites the input file. If the input file name has the .smatdb extension, then this is a SMAT database export.
hcismatconvert [-b] [-f] input filename [-o output filename] [-s siteInfo path]
  • -b is a backwards conversion, new to old. This does not apply to SMAT database (.smatdb) import/export.
  • -f forces a database update. This is only for a database import.

    If the output file exists, then the database import fails.

    If a force is specified, then the data is imported to the existing database of that name.

  • input filename is the input file named filename .
  • -o output filename outputs to the file named filename instead of overwriting input. If the file name has the .smatdb extension, then this is a SMAT database import.
  • -s siteInfo path is the siteInfo path for the SMAT database import/export.
    Caution: 
    Do not use this option for a file database export.