|
Try the hex() SQL function with VALUES INTO At 06:34 AM 3/21/2007, you wrote:
Good point. Do you have a simple routine to convert a field to it's hex value? Be nice if RPGLE had a MyChar=%hex(%trim(MyUuid)); Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com "Elvis Budimlic" <ebudimlic@xxxxxxxxxxxxxxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 03/20/2007 04:55 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To "'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx> cc Fax to Subject RE: Using a UUID to name an IFS file Or convert them to hex representation... probably safer and easier to understand. Celebrating 10-Years of SQL Performance Excellence -----Original Message----- Subject: Using a UUID to name an IFS file Are the weird hex codes, generated by using a UUID, going to come back to haunt me if I use UUID's to name my IFS files? > EVAL UUID UUID = 'lnõn. Ðä' > EVAL UUID :X 00000 93952803 1D2518CF 954B0004 AC08432B - ln.....õn...Ð.ä. Would prefixing them be "a good idea"? Like prefix them with "UUID" so that I can do a RMVLNK '/tmp/UUID*.txt'? Rob Berendt -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.