ENDMESSAGE

Use

ENDMESSAGE ( <command interface> ).

This command terminates a MESSAGE…ENDMESSAGE block. See MESSAGE.

The command interface contains all the messages sent by the system during the MESSAGE…ENDMESSAGE block. The most important fields are described below.

Field

Description

MIDX

With the exception of the first row (see below), contains an index number.

Mode

Message handling mode.

MSGTYP

Message type.

MSGID

Message ID.

MGSNR

Message number.

MSGV1

First variable part of a message.

MSGV2

Second variable part of a message.

MSGV3

Third variable part of a message.

MSGV4

Fourth variable part of a message.

The total number of messages collected in a MESSAGE...ENDMESSAGE block can be found in the eCATT standard variable &TFILL. For example, to log the total number of messages, use LOG ( &TFILL ).

Do not use the MIDX field of the first line of the command interface for this purpose (this was the method used in Release 6.20). The first line does not exist when no messages are collected.