Writing Lines to the SAS Log or to an Output File |
When you create output using the DATA step,
you can customize that output by using the PUT statement to write text to
the SAS log or to another output file. The PUT statement has the following
form:
PUT<variable<format>><'character-string'>;
|
where
-
variable
-
names the variable that you want to write.
-
format
-
specifies a format to use when you write
variable values.
-
'character-string'
-
specifies a string of text to write. Be
sure to enclose the string in quotation marks.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.