COBOL - Opções de compilação - LANGUAGE


Volta a página anterior

Volta ao Menu Principal


Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com

Opções de compilação - 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

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)
JAPANESE JA, JP Japanese, using the Japanese character set
UENGLISH2 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.

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.


© Copyright IBM Corp.