Error message in PBO module
I want to display an error message in status bar.
my validation is in PBO and m writing there - message e010 with 'error msg...' but when the respective screen(300) is displayed, its showing an error msg pop up and only option to exit.
I want to be on same screen(300) after error message is displayed. Also the error messge comes in the status bar.
You can display a status message as an error message by using DISPLAY LIKE dtype (press F1 on message to get syntax details).
This will prevent exit from screen but display the message as error message.
You can also try using AT exit command in CHAIN ENDCHAIN.