MESSAGE

Specifies whether the interface error message system is enabled or disabled
Operating state: All
Default: ON

Syntax

return-code-variable=GSET('MESSAGE', status);

Required Argument

status
character string enclosed in quotation marks or character variable name; indicates whether messages should be displayed. Valid values are ON and OFF. When ON is used, messages are automatically generated by the DSGI based on the return code from the function. If you set MESSAGE to OFF, no messages are automatically printed. You can do this to print custom messages for your application, or custom error messages.

Return Codes

This function returns:

Details

The GSET('MESSAGE', . . . ) function activates or suppresses automatic error logging.