Setting Registration Options: Source Files Tab

If your legacy application executes on a mainframe, Micro Focus recommends that you convert the application source to workstation encoding. If that is not practical, you can have Enterprise Analyzer convert it for you, using the options on the Registration > Source Files tab of the Workspace Options window.

  1. Click Options > Workspace Options. This opens the Workspace Options dialog box.
  2. Click the Registration tab, then the Source Files tab.
  3. In the Legacy Source Encoding group, choose:
    • Workstation if the source is workstation-encoded. For DBCS configurations, if Japanese-language source files were downloaded in workstation (text) mode, specify how DBCS escape control characters were handled.
    • Mainframe if the source is mainframe encoded. When this option is selected, the registration process automatically converts source files to workstation encoding. Only the source files maintained by Enterprise Analyzer are converted.
  4. In the Object System Encoding group box, choose:
    • English - US (ANSI MS-1252) if the original source was U.S. English ANSI-encoded (Unisys 2200 and HP3000 Cobol).
    • English - US (EBCDIC-CCSID-37) if the original source was U.S. English EBCDIC-encoded (IBM Cobol).
    • Japanese (EBCDIC-CCSID-930, 5026) if the original source was Japanese EBCDIC-encoded, CCSID-930, 5026 (DBCS configurations only).
    • Japanese (EBCDIC-CCSID-939, 5035) if the original source was Japanese EBCDIC-encoded, CCSID-939, 5035 (DBCS configurations only).

    During analysis and transformation, hexadecimal literals in COBOL programs and BMS files are translated into character literals using this setting.

    Note: Do not change these settings after source files are registered in a workspace.

    You must specify the SOURCE-ENCODING directive in either project or workspace settings so that it matches the character encoding used. See SOURCE-ENCODING in your Micro Focus product Help for more information on this directive.

  5. Check Strip trailing numeration if you want the system to strip trailing numeration characters (columns 73 through 80) from source lines. Trailing numeration characters are removed only from the source files maintained by EA.
  6. Check Expand tabulation symbols if you want the system to replace tabulation symbols with a corresponding number of spaces. Tabulation symbols are replaced only in the source files maintained by EA. You must select this option if you want to view Interactive Analysis information for C or C++ programs.
  7. Check Do not invalidate dependent files if you do not want the system to invalidate files that are dependent on a file you are refreshing. Typically, the system invalidates all dependent files. Selecting this option shifts the burden of determining which files need to be invalidated (and then verified) to the user. If you select this option and know that a file is affected by a change in the file being refreshed, you must verify the affected file again.