Chapter Contents

Previous

Next
Data Form and Data Table: _setMsg

Data Form and Data Table: _setMsg



Displays a message on the message line or in the log

Delegated to: Data Set Data Model class


Syntax
Details
See Also

Syntax

CALL SEND (object-id, '_setMsg', string);

Argument Type Description
string
C specifies the message to be displayed on the message line or in the log


Details

The message is displayed on the message line of the frame containing the data table or data form unless one or more of the following conditions exist:

In the first case, the message will be displayed in the SAS log. If the message level has been set to prevent that type of message from being displayed (for example, if the message begins with ERROR:, NOTE:, or WARNING:, and that message type is turned off), then the message will not be displayed.

If you want to display custom error messages one at a time on the message line such as in the case where multiple columns are in error, you can have the last message written to the message line in most situations by setting the _MSG_ system variable to your message text instead of making multiple calls to _setMsg.

See Also

_setMsgLevel


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.