System Management Utility Functions

Disc Utility

Last Revised: 09/03/09

The Disc Utility performs disc oriented functions such as:  printing a disc directory;  printing a disc analysis;  printing a disc analysis summary; comparing files, etc.

The operator is prompted for the file names to be included. Normal wild card options are permitted. Refer to Filelist Maintenance (SMU) for details on entering file names.

  1. Print Disc Directory
  2. Convert SKY & MKY Files to Highly Recoverable
  3. File Integrity Test
  4. Move & Archive Files
  5. Copy & Replace Files
  6. File Compare
  7. Capitalize File Names
  8. Erase Files
  9. Erase Un-needed Template Files
  10. Convert DIR & SRT Files to SKY
  11. Export Templated Data Files
  12. Compare 2 Directories
Disc Utilty
Print Disc Directory

This option will print a disc directory. The disc directory includes the file name, the file type, a file description if the file is included in a file data dictionary, and for some files, the keysize or key structure, the number of characters per record, the maximum number of records the file may include if limited, the number of records in use, and if the file is has a limited size, the percentage full.

The operator can limit the output to large files based on size or number of records.  The MKY key structure can be optionally included.

Convert SKY & MKY Files to Highly Recoverable

Files that are defined as highly recoverable, can be more easily repaired should there be a hardware failure or loss of power during a disc write operation.  This option will convert files to the highly recoverable format.

File Integrity Test

This option will scan all keyed files in a directory, checking for possible file corruption caused by hardware failure or loss of power during a disc write operation.  For MKY files, each KNUM is processed to insure that the correct number of records can be read.

Run time options include the ability to process sub-directories, skip file names that contain a period, skip files that have not been changed since an entered date and time, and to abort testing a file after a problem is encountered.

Move & Archive Files This option is typically used to move files from a project directory to the live directory.  If the file already exists in the target directory, it will be archived by renaming it with an extension of today's date in YYMMDD format.  If the default archive file name also exists, then an alpha suffix will be appended to the file extension.
Copy & Replace Files This option is similar to the Move & Archive option, but the file is copied and not moved, so the original file being copied remains in place.  The target file is archived in the same manner if it exists.
File Compare This option is used to compare data files in one directory to the file with the same name in another directory.

Run time options include the option to compare 1) Template only, 2) Template and keys, 3) Template, keys, and data.

Capitalize File Names This option is used to rename a file with a lower case letter in its name to uppercase.
Erase Files This option is used to erase files in a directory.  The operator can select the files to be erased using wild cards, and elect to erase or not erase each matching file.
Erase Un-needed Template Files This option is used to scan tpl folders and offer to delete a template file that refers to a data file that no longer exists or one that refers to a program file where template files are not used.
Convert DIR and SRT Files to SKY Traditional DIR and SRT files cannot be dynamic.  This option converts DIR and SRT files to SKY files that can grow without any artificial limit.
Export Templated Data Files This option is used to export all fields in templated data files to the export directory.  Use the Export Data option on the FMS menu to export selected fields on a one-time or scheduled basis in a variety of formats.
Compare 2 Directories This option is used to compare programs and/or files located in two directories.  Options are available to limit the output to files found in one directory but not the other, files newer in one directory or the other, exclude from the list those that are identical, and limit comparison to programs or data files.