OpenTP1 Version 7 Programming Guide
When messages are exchanged with OpenTP1, TP1/Message Control outputs the message which post various system information items of OpenTP1 to MHP. Such messages are called MCF events. If an error or failure reported during message exchange processing, what occurred in the system is indicated by an MCF event. There are two types of MCF events: error events such as errors and failures, and communication events dependent on the protocol such as establishment and release of a connection. The MHP which handles failures based on MCF events is called the MHP for an MCF event. Creating this MHP enables individual failure recovery processing.
An MCF event is passed to the input queue, and the MHP for an MCF event is started. At this time, the user exit routine that edits input message and determines application name is not used. An MCF event is never started as the result of a failure occurring in an MCF event.
The table below lists MCF events. Some MCF events which are not included in the table are reported as events specific to communication protocol supporting products. For MCF events specific to communication protocol supporting products, see the applicable OpenTP1 Protocol manual.
Table 3-16 MCF events
| MCF event name | MCF event code | Cause of MCF event occurrence | Example of processing by MHP for an MCF event |
|---|---|---|---|
| MCF event that reports detection of an invalid application name | ERREVT1 | The application name of the message was not found in the MCF application definition. | Posts that the application name was not found. For an inquiry message, a response message can be output. |
| MCF event that reports discarding of a message | ERREVT2 | The message in the input queue received with MCF or the message input to the input queue as a result of immediate startup of an application was discarded for any of the following reasons:
|
Posts that the message was discarded. For an inquiry message, a response message can be output. |
| MCF event that reports UAP abnormal termination | ERREVT3 | MHP terminated abnormally or rolled back# after the segment was passed to the function dc_mcf_receive() invoked by MHP. | Reports that the UAP terminated abnormally or rolled back. For an inquiry message, a response message can be sent. |
| MCF event that reports discarding of a timer-start message | ERREVT4 | The message input as a result of startup of the timer start application was discarded. | Posts that the message was discarded. In the case of an inquiry message, a response message can be output. |
| MCF event that reports discarding of an unprocessed send message | ERREVTA | The unprocessed message from a UAP was discarded for any of the following reasons:
|
Posts that the unprocessed message was discarded. The unprocessed send message is saved in a file. |
| MCF event that reports a send error | SERREVT | A communication protocol error occurred during sending of a message. | Posts that the message could not be sent due to a failure in the communication protocol. |
| MCF event that reports send completion | SCMPEVT | A message was sent normally to the remote system. | Posts that the message was sent normally to the remote system. |
| MCF event that reports an error | CERREVT (VERREVT) | A connection failure or logical terminal failure occurred with the communication management program. It does not report when automatic retry is specified. | Posts that a connection failure or logical terminal failure occurred. |
| MCF event that reports an status | COPNEVT (VOPNEVT) | Connection has been established. | Posts that connection has been established. |
| CCLSEVT (VCLSEVT) | Connection has been released normally. | Posts that connection has been released. |
Table 3-17 Relationship between MHPs for an MCF event and application attributes
| Event code of MCF event | Application attribute of MHP for an MCF event |
|---|---|
| ERREVT1 | The attribute is set according to the terminal type of the request source logical terminal.
|
| ERREVT2 | The application attribute of the MHP which caused MCFevent reporting is inherited as is.# |
| ERREVT3 | |
| ERREVT4 | |
| ERREVTA | The nonresponse (noans) type is set. |
| SERREVT | |
| SCMPEVT | |
| CERREVT | |
| VERREVT | |
| COPNEVT | |
| CCLSEVT | |
| VCLSEVT |
Table 3-18 Relationship between communication protocol products and reported MCF events (1/5)
| MCF EVENT | Communication protocol product | ||
|---|---|---|---|
| TP1/NET/User Agent | TP1/NET/OSI-TP | TP1/NET/TCP/IP | |
| ERREVT1 | Y | Y | Y |
| ERREVT2 | Y | Y | Y |
| ERREVT3 | Y | Y | Y |
| ERREVT4 | Y | Y | Y |
| ERREVTA | Y | Y | Y |
| SERREVT | N | N | N |
| SCMPEVT | N | N | Y |
| CERREVT | Y | Y | Y |
| COPNEVT | Y | Y | Y |
| CCLSEVT | Y | Y | Y |
| VERREVT | N | N | N |
| VOPNEVT | N | N | N |
| VCLSEVT | N | N | N |
Table 3-19 Relationship between communication protocol products and reported MCF events (2/5)
| MCF EVENT | Communication protocol product | ||
|---|---|---|---|
| TP1/NET/XMAP3 | TP1/NET/HNA-560/20 | TP1/NET/HNA-560/20 DTS | |
| ERREVT1 | Y | Y | Y |
| ERREVT2 | Y | Y | Y |
| ERREVT3 | Y | Y | Y |
| ERREVT4 | Y | Y | Y |
| ERREVTA | Y | Y | Y |
| SERREVT | Y# | N | N |
| SCMPEVT | Y# | N | N |
| CERREVT | N | Y | Y |
| COPNEVT | N | Y | Y |
| CCLSEVT | N | N | N |
| VERREVT | Y | Y | Y |
| VOPNEVT | Y | Y | Y |
| VCLSEVT | Y | Y | N |
Table 3-20 Relationship between communication protocol products and reported MCF events (3/5)
| MCF EVENT | Communication protocol product | |||
|---|---|---|---|---|
| TP1/NET/OSAS-NIF | TP1/NET/HNA-NIF | TP1/NET/HSC (1) | TP1/NET/HSC (2) | |
| ERREVT1 | Y | Y | Y | Y |
| ERREVT2 | Y | Y | Y | Y |
| ERREVT3 | Y | Y | Y | Y |
| ERREVT4 | N | N | Y | Y |
| ERREVTA | Y | Y | Y | Y |
| SERREVT | N | N | Y | Y# |
| SCMPEVT | N | N | Y | Y# |
| CERREVT | Y | Y | Y | Y |
| COPNEVT | Y | Y | Y | Y |
| CCLSEVT | Y | Y | Y | Y |
| VERREVT | N | N | N | N |
| VOPNEVT | N | N | N | N |
| VCLSEVT | N | N | N | N |
Table 3-21 Relationship between communication protocol products and reported MCF events (4/5)
| MCF EVENT | Communication protocol product | ||
|---|---|---|---|
| TP1/NET/HDLC | TP1/NET/X25 | TP1/NET/X25-Extended | |
| ERREVT1 | Y | Y | Y |
| ERREVT2 | Y | Y | Y |
| ERREVT3 | Y | Y | Y |
| ERREVT4 | Y | Y | Y |
| ERREVTA | Y | Y | Y |
| SERREVT | N | N | N |
| SCMPEVT | Y | N | Y |
| CERREVT | Y | Y | Y |
| COPNEVT | Y | Y | Y |
| CCLSEVT | Y | Y | Y |
| VERREVT | N | N | N |
| VOPNEVT | N | N | N |
| VCLSEVT | N | N | N |
Table 3-22 Relationship between communication protocol products and reported MCF events (5/5)
| MCF EVENT | Communication protocol product | |||
|---|---|---|---|---|
| TP1/NET/SLU-TypeP1 | TP1/NET/SLU-TypeP2 | TP1/NET/NCSB | TP1/NET/UDP | |
| ERREVT1 | Y | Y | Y | Y |
| ERREVT2 | Y | Y | Y | Y |
| ERREVT3 | Y | Y | Y | Y |
| ERREVT4 | Y | Y | Y | Y |
| ERREVTA | Y | Y | Y | Y |
| SERREVT | N | N | N | N |
| SCMPEVT | N | N | N | N |
| CERREVT | Y | Y | Y | Y |
| COPNEVT | Y | Y | Y | Y |
| CCLSEVT | Y | Y | Y | Y |
| VERREVT | N | N | N | N |
| VOPNEVT | N | N | N | N |
| VCLSEVT | N | N | N | N |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.