OPALE - 10.0 - Usage - Editing a character table

MAPTABLE

De MappingDoc
Révision datée du 6 juin 2019 à 09:54 par Alestoquoi (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Autres langues :
English • ‎français

Use this command if you experience problems printing special characters. (The command was originally created when the Euro "€" symbol was introduced).

Use MAPTABLE to create a new table and edit it according to your needs.

  • TABLE IN NAME: Name of the table to be modified
  • SRC FILE NAME: Name of the source used for modifications (QTBLSRC by default)
  • TABLE IN LIB: Library of the table to be edited
  • TABLE OUT NAME: Name of the new table (9 characters and starting with an S)
  • TABLE OUT LIB: Library of the new table
  • OUTQ FOR TEST: Destination Outq for the table description spooled file
  • OUTQ LIB: Outq library


Procedure

  • Run MAPTABLE a first time on the table you want to edit (the command creates a new table)
  • Press F6 to print the description of the character set table
  • Run MAPTABLE again on the new table and change the settings for the problematic characters (2 then type a new value in the box after the character depending on the result you got)
  • Edit the table in the Mapping environment parameters (Option 1 of the Operations Menu): Sxxxxxxxxx


Example:

Let's say you have a problem printing the € symbol: another character is printed instead. In the printed file, find the € character and its value (hexadecimal).

Then, look for the same character on the screen. The value before the character (3 digits) corresponds to the character number in the list and the value following it (2 characters) corresponds to the hexadecimal code for this character.

Replace this value with the one you have found in the spooled file.