PERFORM RMP--CPP-PANELNAME
This standard runtime function redisplays a panel and all its fields/controls using a new palette.
RMP--PALETTE must be set with the number of the palette to be used. You must have previously defined the palette number in the panel library with a value ranging from 1 to 99. A value of 0 causes the panel to display using the default palette for the panel.
Before this standard runtime function can be executed, the panel must be displayed. However, the default panel palette can be overridden at the time the panel is displayed.
Status value | Description |
---|---|
0 | The function executed successfully. |
6 | The library does not exist. |
10 | The panel is not displayed. |
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. |