Specify SFLMSGID as you would the ERRMSGID keyword.
For SFLMSGID, the parameters specify:
The response indicator, if specified, should be the same as the option indicator used to condition the SFLMSGID keyword. On the subsequent input operation, after the display of the error message, the OS/400 program turns off the indicator. However, if the response indicator is also specified on another keyword such as CHANGE, CAnn, or CFnn, the on/off setting of the response indicator is based on the results of the function provided by the CHANGE, CAnn, or CFnn keyword.
The msg-data field, if specified, contains the replacement text for the specified message. The field must exist in the record format, and the field must be defined as a character field (data type A) with usage P. For more information on how replacement text works, see the SNDPGMMSG (Send Program Message) command in the manual.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.