|
HTH Vern At 06:27 AM 3/21/2007, you wrote:
Ok, two people mentioned tmpnam(), and they're from different companies therefore it's probably not some custom code internal to that shop. Based on that: 1 - What is tmpnam()? Where is some documentation? 2 - What I am doing is generating a temporary file in the IFS and then sending it off with SNDEMAIL. Would tmpnam() be applicable for that? Keeping in mind that SNDEMAIL isn't necessarily "instantaneous". Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com Scott Klement <midrange-l@xxxxxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 03/20/2007 05:25 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 Hi Rob, If you must use a UUID as an IFS filename, please convert it to hex or base64. Don't try using the binary values as a filename, it'll come back to bite you, no matter what you start the filename with! Like Roger, I wonder why you don't just use tmpnam()? Is there some reason UUID must be used? rob@xxxxxxxxx wrote: > 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.