Chapter Contents

Previous

Next
PUT

PUT



Writes text to the LOG window

Category: Utility
Comparisons: SAS Statement with limitations in SCL


Syntax
Details
Differences in PUT Statement Execution

Syntax

PUT <<'character-string'> <variable-name<=>><object.attribute<=>>> | _ALL_;

character-string
is the literal text to write to the LOG window.

Type: Character

variable-name
lists one or more variables whose name and value are to be written to the LOG window.

Type: Character

_ALL_
specifies that all variables and their values are to be written to the LOG window.

Type: Character


Details

PUT supports dot notation for returning the value of an object. Use the form put object.attribute=;. For more information about dot notation, see Accessing Object Attributes and Methods With Dot Notation.


Differences in PUT Statement Execution

SCL supports only the forms of the PUT statement shown in "Syntax." You can combine these forms. For example:

PUT 'character-string' variable-name=;

For details about the PUT statement in the base SAS language, see SAS Language Reference: Dictionary .


Chapter Contents

Previous

Next

Top of Page

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