A summary record containing information about the module is written to a VSAM Migration Database. MHtran-2 can also correct many syntax errors in existing programs, which the old compiler failed to detect. This allows them to be compiled successfully with the new, more stringent compiler. The percentage of code that MHtran-2 translates will of course be different for each installation. The remaining program usually has only 1 or 2 lines of code that are flagged for manual attention.
Explanatory messages help the programmer identify and resolve the problem.
The translated program cannot be compiled successfully until all Exception Flags are resolved, eliminating incorrect compilation and execution. For the first few programs, programmers will most likely examine the output reports of translated programs very carefully. Unchanged lines are printed as is. For a quick review of the entire program, a summary of all changed lines is presented in a table format at the end of each listing. After becoming familiar with the translator output report, programmers will generally eliminate the close examination of the report and only search for any Exception Flags in the source code.