LOG

Sends a message to the client SAS log.

Syntax

LOG 'message';

Syntax Description

'message'
is a text string that must be enclosed in quotation marks.

Details

The LOG statement specifies a message that is written to the SAS log. You can use this statement to issue informative notes or error messages to the user as the script executes. For example, the sample scripts in SAS use the following LOG statement to inform users that the SIGNOFF completed successfully:
log 'NOTE: SAS/CONNECT conversation terminated.';