Define language for message output
Component: | MIP |
Functional area: | Message processing |
Domain: | MESSAGE-PROCESSING |
Privileges: | STD-PROCESSING |
Function
The MODIFY-MSG-ATTRIBUTES command is used to specify the language in which messages for his task are to be output. The user specifies which message files are to be searched for the message text in the required language. If these message texts are not found in the specified message files (activated system and/or task message files), messages will be output in the language defined in the MSGLPRI system parameter.
SDF output (such as data types and help texts) also takes the language code into account (see the “Introductory Guide to the SDF Dialog Interface” [15]).
The SHOW-MSG-FILE-ASSIGNMENT command displays the names of the activated system and task message files.
Format
MODIFY-MSG-ATTRIBUTES |
TASK-LANGUAGE = *UNCHANGED / *STD / *NO / <name 1..1> |
Operands
TASK-LANGUAGE = *UNCHANGED / *STD / *NO / <name 1..1>
Specifies the language in which the messages are to be output.
TASK-LANGUAGE = *STD
Message output takes place in the language defined in the user entry (see output field DEFAULT-MSG-LANGUAGE, SHOW-USER-ATTRIBUTES command). If the user entry contains no corresponding value, the language defined by the class 2 system parameter MSGLPRI is assumed.
e.g. E = English, D = German.
TASK-LANGUAGE = *NO
Message output takes place in the language defined in the MSGLPRI system parameter.
TASK-LANGUAGE = <name 1..1>
Message output takes place in the language selected by the language code (e.g. TASK-LANGUAGE=E for English).
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | Command executed | |
1 | NHM1174 | Syntax error | |
64 | CMD0216 | Semantic error |