ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Create GUID from ESQL code?

Post new topic  Reply to topic
 Create GUID from ESQL code? « View previous topic :: View next topic » 
Author Message
KoGor
PostPosted: Thu Oct 07, 2010 3:13 am    Post subject: Create GUID from ESQL code? Reply with quote

Voyager

Joined: 09 Nov 2005
Posts: 81
Location: Moscow,Russia.

Hi All!

I need to dynamically generate GUID (smth like this 3F2504E0-4F89-11D3-9A0C-0305E82C3301) (http://en.wikipedia.org/wiki/Globally_unique_identifier) inside compute node. I want to use only ESQL for this. But I could not find any information how I can create such GUID. Is it possible at all to generate it with ESQL, or I must use java compute node and create GUID there, using java functions?

Thank you in advance!
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 07, 2010 4:27 am    Post subject: Re: Create GUID from ESQL code? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

KoGor wrote:
I want to use only ESQL for this. But I could not find any information how I can create such GUID.


How do the 2 ESQL UUID functions not meet your need?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
KoGor
PostPosted: Thu Oct 07, 2010 4:40 am    Post subject: Reply with quote

Voyager

Joined: 09 Nov 2005
Posts: 81
Location: Moscow,Russia.

Thank you for your hint! I have found UUIDASCHAR function. Hope this what I need. I have not run into this functions before in ESQL reference
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Oct 07, 2010 8:39 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

KoGor wrote:
Thank you for your hint! I have found UUIDASCHAR function. Hope this what I need. I have not run into this functions before in ESQL reference


They have been there an awfully llllooooooonnnnnnnggggg time.

To be fair, you may well have not needed them in the past. There are a lot of little gems like this in a product of this (and increasing) size & functionality.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Create GUID from ESQL code?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.