3.11.3 Edit the Translation Table

Using the Translation Tables dialog box, you can:

  • Edit the tables Reflection uses to translate the PC's character set into the character set used by the host and vice versa.

  • Use currently unsupported character sets.

  • Customize Reflection for unique host environments.

Use the translation tables when:

  • You need to edit how characters are translated from the host to the PC, and vice versa. Typically, you'll use the tables to support a host character set that's currently unavailable in Reflection. The characters in the table are hexadecimal.

    - or -

  • You need to edit how EBCDIC characters are translated from the host to the PC, and vice versa for a Unisys T27 host. These translations are done in addition to the normal PC-to-host and host-to-PC translations performed by Reflection. The characters in the table are hexadecimal.

    NOTE:To use the translation tables, theDataStreamTranslation VBA property must be set to true(the default is false). When Reflection is emulating a Unisys T27 host, the DataStreamTranslationproperty is automatically set to true.

To open the Translation Tables dialog box

  1. Launch a Reflection VT session.

  2. From the Tools ribbon, select Visual Basic.

  3. In the VBA editor, right-click on Project Legacy and choose Insertand then Module.

  4. Copy and paste the following VBA code into the code window:

    Sub Translation()
    
         With Session
         .DataStreamTranslation = True
         .ExecuteBuiltInFunction "TranslationTables"
         End With
    
    End Sub
  5. Close the VBA editor.

  6. On the Tools ribbon, click Run Macro.

  7. In the Run Macro dialog box, select Legacy Reflection Macro in This File.

  8. Run the TranslationMacro.

    The Translation Tables editor is displayed.