Example—Creating a Translation Table

About this task

Perform the following steps to create a sample translation table that changes lowercase characters to uppercase characters:

Procedure

  1. Make a copy of the sample translation table located at cd_dir/ndm/src/def_send.sxlt.
  2. Open the new translation table with a text editor.
  3. Add the following lines to the bottom of the table. It should look like the table in Creating a Translation Tablewhen you have added this information.
    #
    # Change the lowercase characters to uppercase.
    offset=61
    C1 C2 C3 C4 C5 C6 C7 C8 C9 D1 D2 D3 D4 D5 D6 D7
    D8 D9 E2 E3 E4 E5 E6 E7 E8 E9
  4. Copy the modified file to cd_dir/ndm/src and name it UpperCaseEBC.sxlt.
  5. Compile the new translation table using the following syntax:
    ndmxlt -s../src/UpperCaseEBC.sxlt -oUpperCaseEBC.xlt
  6. To use this translation table, add the following sysopts parameter to the copy statement:
    copy from file=filename 
         to   file=filename 
              sysopts=":xlate.tbl=pathname/UpperCaseEBC.xlt:"