OPALE - 10.0 - Usage - Editing a character table

MAPTABLE

De MappingDoc
Révision datée du 4 juin 2019 à 08:49 par Alestoquoi (discussion | contributions) (Page créée avec « '''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... »)

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 problem characters (2 then type a new value in the box after the character depending on the result you got)
  • Modify the table in the Mapping environment parameters (Option 1 of the Operations Menu) : Sxxxxxxxxx


Exemple :

Vous avez un problème avec le caractère € : un autre caractère s'imprime à sa place. Repérez dans le spool imprimé le caractère € et la valeur (en Hexadécimal) qui lui correspond.Recherchez ensuite ce même caractère à l'écran. La valeur avant le caractère (sur 3 chiffres) correspond au numéro du caractère dans la liste, la valeur après (2 hexa) correspond au code hexadécimal de ce caractère. C'est cette valeur qu'il faut remplacer par celle que vous avez trouvé dans le spool.