Search results
The PUT function returns a value using a specified format. You must use an assignment statement to store the value in a variable. The PUT statement writes a value to an external destination (either the SAS log or a destination you specify).
- PUTN Function
The PUT function is faster than PUTN because PUT lets you...
- PTRLONGADD Function
PTRLONGADD Function Returns the pointer address as a...
- INPUTN Function
The DATA step creates a SAS data set from raw data...
- INPUT Function
The value 122591 is assigned to the CHARDATE variable. INPUT...
- INPUTC Function
If the INPUTC function returns a value to a variable that...
- PUTC Function
The PUT function is faster than PUTC because PUT lets you...
- PUT Statement
For example, the following PUT statement uses a pointer...
- PUTN Function
5 wrz 2024 · Use the PUT function to convert a numeric value to a character value. The PUT function has no effect on which formats are used in PUT statements or which formats are assigned to variables in data sets. You cannot use the PUT function to directly change the type of variable in a data set from numeric to character.
12 cze 2024 · The PUT function returns a value using a specified format. You must use an assignment statement to store the value in a variable. The PUT statement writes a value to an external destination (either the SAS log or a destination, that you specify).
5 dni temu · Examples of the PUT function. Because the PUT function applies a format, it is obvious that the argument to the PUT function can be any data type, but the result will be a character value. Applying a format always results in text! For example, the number 67.8 can be converted to the text string "$67.80" by applying the DOLLAR8. format.
1 maj 2015 · The source variable type for INPUT () must always be character variables. The following examples show how to use these rules to convert from character/numeric or numeric/character: A PUT () converts character variable to another character variable.
The PUT function returns a value using a specified format. You must use an assignment statement to store the value in a variable. The PUT statement writes a value to an external destination (either the SAS log or a destination you specify).
22 paź 2021 · Learn how use the CAT functions in SAS to join values from multiple variables into a single value.