The syntax of the localdef command is:

where localename specifies the name of the output file for the locale generated. If you do not specify an extension for localename , LOCALDEF assumes an extension of .LCL. If you do not qualify localename with a path, the locale is written to the current directory.
You can use the following options:
| Syntax: | Default: |
| /c | Stop process when error encountered |
| Use /c to generate a
locale object even if LOCALDEF encounters an error during
the locale definition process. By default, LOCALDEF does not generate a locale object if there are errors. |
|
| Syntax: | Default: |
| /f filename | /f IBM-850.cm |
| Use /f to specify the name
of the file that maps character symbols and collating
element symbols to actual character encodings. If you do
not specify an extension for the file name, LOCALDEF
assumes .CM. By default, LOCALDEF uses IBM-850.CM. If you specify the file without including its path, LOCALDEF searches for it in the following places:
|
|
| Syntax: | Default: |
| /i | Standard input (stdin) |
| Use /i to specify the
source file for the locale. If you do not specify an
extension, LOCALDEF assumes the extension .LOC. If you specify the file without including its path, LOCALDEF searches for it in the following places:
|
|
| Syntax: | Default: |
| /W[1|2] | /W2 |
| Use /W to control the type
of message LOCALDEF produces. /W1
Produce sever errors and errors By default, LOCALDEF produces all three kinds of messages |
|
![]()
LOCALDEF Utility
LOCALDEF Return
Codes
LOCALDEF Messages
Portable Character
Set