Each OCS window can have a MSGPROC procedure associated with it. There is only one MSGPROC per window and it has the ability to review and process every message sent to its associated OCS window from any source, before the messages are actually delivered to the window for display.
Just as LOGPROC is the only procedure in the system that can review the messages flowing to the activity log, so an OCS window's MSGPROC is the only NCL procedure that can review and process the message traffic flowing to that OCS window.
In this respect a MSGPROC is classified as a system level procedure, even though there can be many MSGPROC procedures active in a region on behalf of many different OCS windows; MSGPROC has access to and control over a specific message flow and has privileges not open to the usual NCL procedures executed by users.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |