These are 2 other possibilities we are looking at.  The GCI has the drawback 
that it requires C code and we may encounter a customer that doesn't have the C 
compiler on their server.

We may end up doing something like this:
UUID = DTX(CHECKSUM(@LOGNAME)):"-":DTX(ABS(@USERNO)):"-":DTX(CHECKSUM(SYSTEM 
(1302))):"-":DTX(DATE()):"-":DTX(INT(10000*TIME())):"-":DTX(RND(10000000))

Someone at IBM suggested having Universe call an external Webservice to 
generate a UUID but that would be even slower than having a shell call the 
uuidgen program.


----- Original Message ----
From: Rex Gozar <[EMAIL PROTECTED]>
To: u2-users@listserver.u2ug.org
Sent: Tuesday, February 12, 2008 1:22:57 PM
Subject: Re: [U2] [UV] Named commons

Jacques,

How unique do your UUID's need to be?  Do you need them to conform to 
the 32 hex digit format?  If not, you could generate unique identifiers 
based on the port number (@userno) and current date/time.

Alternatively, you could use GCI to integrate the uuidgen function into 
the Universe shell.

rex

Jacques G. wrote:
> I need to generate UUID's Universe doesn't have a function that does this...
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to