Previous Topic: OCS Window Traffic Handling

Next Topic: Intercept Solicited and Unsolicited VTAM Messages (PPOPROC Procedures)

Message Profile Concept

System level procedures access the messages flowing on their particular stream by issuing specialized NCL verb read requests that are unique to each type of system level procedure. For example, PPOPROC uses &PPOREAD to obtain the next PPO message.

The processing that each system level procedure undertakes depends on analyzing the messages that are supplied to it. To help analyze the message received and decide the specific processing required, the concept of message profiling is used.

A message that satisfies a system level procedure read request has a profile containing the attributes associated with that message. For example, a MSGPROC message profile includes not just message text but other information about color, highlight options, or message origins that the MSGPROC procedure might want to know or change or base some decision upon.

On completion of the read statement, all applicable message attributes are made available to the system level procedure as a series of reserved system variables known as message profile variables. An examination of the message profile variables is often sufficient to make a decision on whether to perform further analysis of the message, or to show that the message is of no interest to the procedure.

More information:

Message Profile