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.

BASUG is hosting free webinars Next up: Jane Eslinger presenting PROC REPORT and the ODS EXCEL destination on Mar 27 at noon ET. Register now at the Boston Area SAS Users Group event page: 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?

BASUG is hosting free webinars Next up: Jane Eslinger presenting PROC REPORT and the ODS EXCEL destination on Mar 27 at noon ET. Register now at the Boston Area SAS Users Group event page: 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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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