### MKMSGF - Options (OS/2)

Text-based messages in different code pages can be created using MKMSGF to display errors, help information, prompt, or provide general information to the application user.

MKMSGF uses the following parameter formats to build message files:

>     MKMSGF infile outfile /Pcodepage
>     MKMSGF infile outfile /Ddbcsrange or country id
>     MKMSGF infile outfile /LlangID,VerId
>     MKMSGF infile outfile /V
>     MKMSGF infile outfile /?
>     MKMSGF @controlfile

- Infile is the ASCII-text source file. Example:

      MSG
      MSG0001I: (mm%4dd%4yy) %2%4%1%4%3
      MSG0002I: (dd%4mm%4yy) %1%4%2%4%3
      MSG0003I: Current date is: %0

  %0 is a special argument that displays a prompt for user input. %1 - %9 are the arguments the user can use to insert text in a message.

- Outfile is the binary output message file.
- @controlfile is the message definition file.

Options

/P | Code-page ID for the input message file. See /P Option
/D | DbcsRange or country ID for the input message file. See /D Option
/L | Language family ID (one word) and language version ID (one word). See /L Option
/V | Verbose display of message file control variables as the message file is being created. See /Verbose Option Output Example
/? | Help display of command syntax for MKMSGF.

Note: Any combination of /P, /D, /L, and /V switches can be used for either the command line or @controlfile execution method. The / switch prefix and the - prefix can be used interchangeably when defining switches to MKMSGF.

MKMSGF - Make Message File
MKMSGF - Syntax
Message Compiler
Message Compiler - Syntax