Your product can intercept all messages being sent to an OCS screen or background environment.
This facility is supported by a procedure known as MSGPROC. Before this facility can be utilized, a MSGPROC must be defined for each user ID requiring message interception.
To do this, update the user ID definitions (using UAMS, or an external security system) to define the name of the MSGPROC to be invoked.
The name provided in the MSGPROC field of the user ID definition is the name of a procedure in the procedure library. Different user IDs can have different MSGPROCs, while some user IDs might have no MSGPROC at all. You can change or flush the MSGPROC value with the PROFILE command.
Note: MSGPROC is supported for OCS mode and INMC users with ROF sessions, including background user IDs and console user IDs. However, you cannot use MSGPROC in dependent processing environments associated with &INTCMD use.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |