display warning message
I want to display a warning message so that it's yellow and the user has to press enter again in order to proceed with the transaction.
I am able to display an error message using the following code:
MESSAGE s398(00) WITH 'Please enter a Batch number' DISPLAY LIKE 'E'.
I tried changing display like 'E' to 'W', but it doesn't work. I also added an 'exit' at the end of the code. The message is displayed as yellow but I can't get it so that the user has to hit enter twice.