GENERATE-UUID
|
DEFINE VARIABLE MyUUID AS RAW NO-UNDO.
DEFINE VARIABLE Base64UUID AS CHARACTER NO-UNDO. ASSIGN MyUUID = GENERATE-UUID Base64UUID = BASE64-ENCODE(MyUUID). |
SUBSTRING(BASE64-ENCODE(GENERATE-UUID), 1, 22)
|