This standard runtime function displays the error message, if any, that you defined for a panel. It complements the ACCEPT FIELD, EXECUTE EVENT, VALIDATE ALL FIELDS, and VALIDATE FIELD standard runtime functions by allowing the application program to display the existing error message in situations other than those involving user input. (RM/Panels automatically displays error messages during user input.)
SHOW PANEL ERROR displays the message, waits for the operator to press any key, erases the message, and then returns control to the application program.
|The function executed successfully.
|The panel is not in this library
|The library does not exist.
|Error message is not defined.
|A COBOL input/output error was encountered on the panel library during execution of this function. To determine the exact nature of the I/O error, use the C$RERR subprogram.