UUID

UUID returns a CHARACTER(36) string that is a universally unique identifier.

Read syntax diagramSkip visual syntax diagram
>>-UUID--------------------------------------------------------><

Start of changeThe UUID generated by PL/I is a version 5 UUID per RFC 4122.End of change

Start of changeThe name-space information consists of:
  1. System information:
    • CPU count
    • MVS name
    • storage size
    • model and serial
  2. Runtime 64 bit TOD value.
  3. Job name or, if possible, the PID.
End of change

Start of changeThe UUID is a SHA1 hash of the above.End of change