BookmarkSubscribeRSS Feed
Quentin
Super User

Hi All,

Was inspired by Chris H blog post on GUIDS to play with them.

Today noticed on SAS 9.3 Linux 64 bit it throws:

4          %put %sysfunc(uuidgen());
WARNING: UUID is not guaranteed to be unique.

Of course there are no guarantees in life or pseudo-random numbers.  : )

Wondering if this means the chance of a duplicate is much more than the infinitesimal 1 in  2**128 ?

Did see a couple TS notes about the warning, but nothing that actually described what it meant.

Happy Friday,

--Q.

The Boston Area SAS Users Group is hosting free webinars!
Next up: Joe Madden & Joseph Henry present Putting Power into the Hands of the Programmer with SAS Viya Workbench on Wednesday Nov 6.
Register now at https://www.basug.org/events.
3 REPLIES 3
jakarman
Barite | Level 11

The concept is rather generic Universally unique identifier - Wikipedia, the free encyclopedia

The warning on the dependency on the seed is mentioned. The seed (entropy) is sometimes limited an made repeatable.
It often used as a security ticket or other place to get an indentification.

---->-- ja karman --<-----
Quentin
Super User

Thanks Jaap.  My question is really as to the meaning of the WARNING.   It is not thrown on other OSsa / SAS versions.  So curious if there was something different about the implementation on 9.3 Linux that made SAS developers decide that it should throw a warning?

The Boston Area SAS Users Group is hosting free webinars!
Next up: Joe Madden & Joseph Henry present Putting Power into the Hands of the Programmer with SAS Viya Workbench on Wednesday Nov 6.
Register now at https://www.basug.org/events.
jakarman
Barite | Level 11

Quentin there are companions for each OS as there are a lot of differences between them.

I do not wonder why there would be a difference as long a could explain that as being the cause.

On all of those OS systems there  is also a lot of history with SAS every fix-level release level can be different.

Is the difference to be explained by something of that I wonder but not getting curious.

What is left and we should get curious is when we see behavorial differences the between OS systems in SAS without any reason.

OK I got that as : SAS is promoting (sales) SAS should behave the same ("C" Java based) on all OS systems as promoted to use the same code.  By that the promotional point exchanging an OS should be easy exchanging code should be easy. (This is not in your question: release/Os differences)

Altough the "C" code en Java code can be the same the compiler and rum-time libraries of those are not. Some differences can originate from that level.

I agree that there is something weird as this difference is not to be expected.

---->-- ja karman --<-----

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1785 views
  • 1 like
  • 2 in conversation