DosGetMessage retrieves a message from the specified system message file, and inserts variable information into the body of the message.

DosInsertMessage inserts variable text-string information into the body of the message, but does not retrieve the message.

DosPutMessage sends the message in a buffer, usually to a display screen. DosPutMessage formats the screen buffer to prevent words from being split at the end of a line.

DosQueryMessageCP retrieves the message file list of code pages and language identifiers.

Note: In the example code fragments that follow, error checking was left out to conserve space. Applications should always check the return code that the functions return. Control Program functions return an APIRET value. A return code of 0 indicates success. If a non-zero value is returned, an error occurred.