Functions and CALL Routines |
Category: | Special |
Syntax | |
Arguments | |
Details | |
Length of Returned Variable in a DATA Step | |
The Basics | |
See Also |
Syntax |
UUIDGEN(<max-warnings<,binary-result>>) |
specifies an integer value that represents the maximum number of warnings that this function writes to the log.
Default: | 1 |
specifies an integer value that indicates whether this function should return a binary result. Nonzero indicates a binary result should be returned. Zero indicates that a character result should be returned.
Default: | 0 |
Details |
If the UUIDGEN function returns a value to a variable that has not previously been assigned a length, then that variable is given a length of 200 bytes.
The UUIDGEN function returns a UUID (a unique value) for each cell. The default result is 36 characters long and it looks like:
5ab6fa40-426b-4375-bb22-2d0291f43319
A binary result is 16 bytes long.
See Also |
Universal Unique Identifiers in SAS Language Reference: Concepts
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.