Example—Modifying a Model Translation Table

Perform the following steps to modify a model translation table. This method, when implemented, reads the model table and writes it to a new file. It then reads the input data and makes changes to the table created.

  1. Create a file called FourLinesUpperCase.sxlt and add the following lines to the file:
    # Change the lowercase characters to uppercase.
    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
  2. Copy the modified file to cd_dir/ndm/src.
  3. Type the following command to compile this file and create a translation table called fourLineUpperCase.xlt:
    ndmxlt -s../src/FourLineUpperCase.sxlt -oFourLineUpperCase.xlt -mdef_send.xlt
  4. To use this translation table, add the following sysopts parameter to the copy statement:
    copy from file=filename 
         to   file=filename