Validate Language ID (QLGVLID) API


  Required Parameter Group:

1 Language ID to validate Input Char(3)
2 Error code I/O Char(*)

  Default Public Authority: *USE

  Threadsafe: Yes

The Validate Language ID (QLGVLID) API validates a language identifier to ensure it is supported. If the language identifier is valid, no error is returned.


Authorities and Locks

None.


Required Parameter Group

Language ID to validate
INPUT; CHAR(3)

The language identifier to validate. The identifier must be in uppercase.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages

Message ID Error Message Text
CPF1F41 E Severe error occurred while addressing parameter list.
CPF3BCC E Language identifier &1 not valid.
CPF3C90 E Literal value cannot be changed.
CPF3CF1 E Error code parameter not valid.
CPF3CF2 E Error(s) occurred during running of &1 API.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.


API introduced: V2R3

[ Back to top | National Language Support APIs | APIs by category ]