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
Example:
MSGMSG0001I: (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.
Options
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.