![]() Chapter Contents |
![]() Previous |
![]() Next |
| LOG |
| All connections |
| Syntax | |
| Syntax Description |
Syntax |
| LOG 'message'; |
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.