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.
13 kwi 2023 · You can use the PUT and INPUT functions in SAS to convert variables to different data types. Here is the difference between the two functions: The PUT function takes character or numeric variables as input and always outputs character variables.
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 · When you output text to a file or to the SAS log, you use the PUT statement. For some data, especially dates and times, it is useful to apply a format. The INPUT and PUT functions are the functional equivalents of the INPUT and PUT statements. You can use the functions in conjunction with IF-THEN/ELSE statements or other logical statements.
1 maj 2015 · A PUT() converts character variable to another character variable. B PUT() converts numeric variable to a character variable with numeric value. C PUT() converts character variable with a user defined format 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).