Chapter Contents

Previous

Next
LOG

LOG



Sends a message to the local host SAS log

All connections


Syntax
Syntax Description

Syntax

LOG 'message';

Syntax Description

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

Details

The LOG statement specifies a message to be written to the SAS log. You can use this statement to issue informative notes or error messages to the user as the script executes.

message is a text string that must be enclosed in quotes. For example, the sample scripts from SAS Institute use the following LOG statement to inform users that the SIGNOFF completed successfully:

log 'NOTE: SAS/CONNECT conversation terminated.';


Chapter Contents

Previous

Next

Top of Page

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