TRANSLATE statement

Use the TRANSLATE statement to define the supported code page to be used to translate data received from the JES spool data set to ASCII for sending mail messages. See the code set conversions supplied in z/OS Support for Unicode: Using Unicode Services for details about the supported code pages.

Tip: The following POSIX variant characters are converted to ASCII using iconv determined by the configured EBCDIC code page. The POSIX variant characters are:

\ [ ] { } ^ ~ ! # | $ @ `

Syntax

Read syntax diagramSkip visual syntax diagram
   .-Translate IBM-1047-------------.   
>>-+--------------------------------+--------------------------><
   '-Translate code_page_identifier-'   

Parameters

Translate
Specifies the code page to be used for translating the spool file records. If you do not specify this statement, the default code page is IBM-1047. See Table 1 for a list of supported code pages.
Results:
  • If an update to the Translate statement is detected during a dynamic refresh, CSSMTP continues to use the old translate value and a warning message is written to the log and the console.
Restrictions: The code page must have the following characteristics:
  • Defined to Unicode System Services
  • An EBCDIC code page
  • A single byte code page (not double byte nor multibyte)
  • A translation to and from IBM-1047
  • A translation to and from ISO-8859-1
  • Translations must be reversible
  • The environment variable _ICONV_TECHNIQUE should be left undefined or have the value of its default LMREC.

See Table 1 for a list of code page identifiers.