PERFORM RMP--DP-PANELNAME
This standard run-time function displays a panel on the screen.
RMP--LIBRARY must be set to the name of the panel library which contains the panel.
RMP--BEEP can be set to TRUE to produce a beep when displaying the panel.
RMP--CLEAR can be set to TRUE to erase the entire video screen and set the color of the screen to the background color of the panel.
RMP--PALETTE can be set to select a specific palette other than the default for the panel.
RMP--PANEL-LINE can be set to 999 to center the panel vertically or it can be set to any non-zero value to display the panel on a specific starting line.
RMP--PANEL-POS can be set to 999 to center the panel horizontally or it can be set to any non-zero value to display the panel on a specific starting column position.
RMP--SHOW-FIELDS can be set to TRUE to display all field/control values with the panel.
RMP--WINDOW can be set to TRUE or FALSE to override the default windowing characteristic of the panel.
Status value | Description |
---|---|
0 | The function executed successfully. |
5 | The panel is not in this library |
6 | The library does not exist. |
11 | The palette number is invalid. |
14 | 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. |