ggc.Message
The ggc.Message type defines a record for retrieving
errors and messages.
Syntax
TYPE ggc.Message RECORD
isErrorMessage INTEGER,
message STRING
END RECORD
- isErrorMessage is set to true, if the message describes an error.
- Message contains the details of the message.
Usage
You can use it to retrieve messages or errors in an application testing the
MESSAGE or ERROR instructions. A variable of the type
Message must be defined, for example, calling the action
getMessage():
DEFINE msg ggc.Message
CALL ggc.getMessage() RETURNING msg.*
DISPLAY msg.message