LANGUAGE

Use the LANGUAGE option to select the language in which compiler output will be printed. The information that will be printed in the selected language includes diagnostic messages, source listing page and scale headers, FIPS message headers, message summary headers, compilation summary, and headers and notations that result from the selection of certain compiler options (MAP, XREF, VBREF, and FLAGSTD).

LANGUAGE option syntax

Read syntax diagramSkip visual syntax diagramLANGUAGE( name)

Default is: LANGUAGE(ENGLISH)

Abbreviations are: LANG(EN | UE | JA | JP)

name specifies the language for compiler output messages. Possible values for the LANGUAGE option are shown in the table below.

Table 1. Values of the LANGUAGE compiler option
Name Abbreviation1 Output language
ENGLISH EN Mixed-case English (the default)
JAPANESE3 JA, JP Japanese, using the Japanese character set
UENGLISH2, 3 UE Uppercase English
  1. If your installation's system programmer has provided a language other than those described, you must specify at least the first two characters of this other language's name.
  2. To specify a language other than UENGLISH, the appropriate language feature must be installed.
  3. To change to uppercase English or Japanese compiler messages, in addition to using the LANGUAGE compiler option, you must also set the Language Environment® runtime option NATLANG at compile time. We recommend using CEEOPTS DD in the compile JCL.
    For example, to change messages to Japanese, use the LANGUAGE(JA) compiler option and also specify the NATLANG LE runtime option at compile time:
    //CEEOPTS DD * 
              NATLANG(JPN)
    /*

If the LANGUAGE option is changed at compile time (using CBL or PROCESS statements), some initial text will be printed using the language that was in effect at the time the compiler was started.

NATLANG: The NATLANG runtime option allows you to control the national language to be used for the runtime environment, including error messages, month names, and day-of-the-week names. The LANGUAGE compiler option and the NATLANG runtime option act independently of each other. You can use them together with neither taking precedence over the other.