Previous Topic: MSGPROC Viewed as a System Level Procedure

Next Topic: Message Handling and Processing by System Level Procedures

&INTREAD: Dependent Processing Environment

The last form of privileged access to traffic flow within a region occurs when &INTCMD and &INTREAD statements are used to execute commands or other NCL processes within an NCL dependent processing environment.

When a procedure executes an &INTCMD statement, command results are returned to that procedure. These results are queued and can then be read back by the original procedure through the &INTREAD statement.

&INTREAD therefore provides privileged access to the flow of command result messages produced by the various commands and NCL procedures that execute within the original procedure's dependent processing environment.

&INTREAD is also able to access unsolicited messages, such as monitor messages, for which the independent environment is profiled.