UUID4

UUID4 returns a CHARACTER(36) string that is a version 4 universally unique identifier.

Read syntax diagramSkip visual syntax diagramUUID4

The UUID4 generated by PL/I is a version 4 UUID per RFC 4122. It is meant for generating UUIDs from truly-random or pseudo-random numbers.

If the USAGE(UUID(LOWER)) compiler option is in effect, all alphabetic characters in the returned string will be in lowercase. If the USAGE(UUID(UPPER)) compiler option is in effect, all alphabetic characters in the returned string will be in uppercase.