OpenTP1 Version 7 Programming Reference COBOL Language

[Contents][Index][Back][Next]

Data format of MCF event that reports discarding of a timer-start message (ERREVT4)

The format of the data passed as the first segment of the event that reports discarding of a timer-start message (ERREVT4) is shown blow. For the format of MCF event information other than ERREVT4, see the applicable OpenTP1 Protocol manual.

MCF event ERREVT4 information

Table 7-1 gives MCF event ERREVT4 information. Table 7-2 gives the reason codes for ERREVT4. Formats 1 and 2 indicate buffer types 1 and 2, respectively.

Table 7-1 MCF event ERREVT4 information

Item Position (byte) Length (bytes) Attribute Explanation
Format 1 Format 2
Reserved (only for format 1) 0 -- 2 -- --
Reserved (only for format 1) 2 -- 2 -- --
Error event code 4 0 3 Alphanumeric ERR is set here.
7 3 3 -- --
10 6 2 Alphanumeric A 4[Figure]' indicating ERREVT4 is set here.
Input source logical terminal name 12 8 8 Alphanumeric Name of the logical terminal from which the message was input. A * is set here in the following cases:
  1. An error occurred in the MHP which was started as an application by the SPP.
  2. In addition to the above error, another error occurred in an MHP which was started as an application by the MHP that was started as an MCF event processing MHP.
Reserved 20 16 20 -- --
Application name 40 36 8 Alphanumeric Name of the timer-started application which encountered the error.
Reserved 48 44 8 -- --
Reserved 56 52 8 -- --
Reserved 64 60 8 -- --
Connection name 72 68 8 Alphanumeric Name of the connection. A * is set here in the following cases:
  1. An error occurred in the MHP which was started as an application by the SPP.
  2. In addition to the above error, another error occurred in an MHP which was started as an application by the MHP that was started as an MCF event processing MHP.
Reserved 80 76 16 -- --
Message input date 96 92 8 External decimal

Date the message was input on the terminal, in the format of yyyymmdd:
yyyy: Year
mm: Month
dd: Day
Message input time 104 100 8 External decimal

Time the message was input on the terminal, in the format of hhmmss00:
hh: Hour
mm: Minute
ss: Second
00: Fixed
Reason code 112 108 4 External decimal Reason code is set here
Reserved 116 112 12 -- --

Legend:
--: Not applicable.
 

Table 7-2 Reason codes for ERREVT4

Reason codes in COBOL language (external decimal) Reason why ERREVT4 is reported
0020 The MHP or SPP could not be activated because of an RPC error or inactive server.
0030 Writing to the input queue failed due to insufficient memory.
0031 Writing to the input queue failed because the queue file became full.
0032 Writing to the input queue stopped because the number of input messages exceeded the specified definition value for the maximum number of input messages to be stored.
0033 An error occurred during writing to the input queue.
0040 An MHP application is in shutdown status.
0041 An MHP application is in secure status.
0042 An MHP service or service group is in shutdown status.
0043 An MHP service group is in secure status.