A user operating in OCS mode can have a MSGPROC procedure associated with the window.
The MSGPROC procedure is invoked automatically when the user selects OCS mode from the Primary Menu, and is therefore implicitly executed. The MSGPROC procedure has access to all messages that are sent to the OCS window and can intercept, change or delete them as required. Message attributes such as color and highlight options can also be changed.
MSGPROC facilities are available to OCS windows running on real terminals, to background environments, system level procedures, and console environments. Processes that execute in dependent processing environments cannot have MSGPROCs associated with them.
| Copyright © 2010 CA. All rights reserved. |
|