SFLMSG Keyword for Display Files

Specify SFLMSG as you would the ERRMSG keyword. The parameters specify a message text and, optionally, a response indicator. The message text is the message to be displayed.

If you specify a response indicator, it should be the same as the option indicator used to condition SFLMSG. On the input operation that follows the display of the error message, the OS/400 program turns off the indicator. If the response and option indicators are the same, they are both turned off. One exception to this rule is if the response indicator is also specified for another keyword such as CHANGE, CAnn, or CFnn. In that case, the on/off setting of the response indicator is based on the results of the function provided by the CHANGE or CFnn keyword.

When a response indicator is specified, the first 50 characters of the message text are also used as indicator text. Separate response indicator text is not valid for SFLMSG.