Previous Page | Next Page

SAS Component Language Dictionary

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.

Previous Page | Next Page | Top of Page