LOCALE clause
The LOCALE clause is used to define locale mnemonic names and their equivalent locale object name and library.
- locale-name-1
- Specifies a system-specific name that refers to a locale object. For COBOL for Linux®, the only supported locale-name-1 is POSIX.
- literal-4
- literal-4 must be a locale object name. It must be a nonnumeric literal with a maximum length of 10 characters.
- literal-5
- literal-5 is used to specify the name of the operating system library in which the locale object is to be found. It must be an nonnumeric literal with a maximum length of 10 characters. If the LIBRARY phrase is omitted , the job's library list is used to search for the locale object.
- mnemonic-name-5
- mnemonic-name-5 provides a reference to the locale identified by locale-name-1 or the values specified for literal-4 and literal-5. It can only be used in a FORMAT clause, PICTURE clause, format 9 of the SET statement, or in the argument list of some intrinsic functions.