× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Change the line

frcb.cvtto = cvttolower;

to

frcb.cvtto = cvttoupper;

to return upper case. Better, add a parameter for upper / lower case
support.

Thanks,
Loyd

On Tue, May 29, 2012 at 10:53 AM, Loyd Goodbar <loyd@xxxxxxxxxxxxxx> wrote:

I posted code to http://code.midrange.com/9302347bd1.html to return a
UUID in human-readable form. You may want to change the FRCB in the
getUUIDstring procedure to use upper case if desired; by default it is
lower case.

Thanks,
Loyd

On Tue, May 29, 2012 at 10:37 AM, Jack Tucky <jacktucky@xxxxxxxxx> wrote:

I have a requirement where I need to create file names on the IFS named
like
this:

{7B56C5B9-BA9D-4E24-A77F-5369CE05BA09}.txt

We were told they are named using a guid.

I found some code in the archives to call the GENUUID and return the data
structure.

D UUID_T DS ALIGN
D BytesProv 10U 0 inz(32)
D BytesAvail 10U 0 inz(0)
D Reserved 8 inz(*allx'00')
D UUID 16 inz(*allx'00')

During debug, the UUID value contains different characters. How do I
convert the returned UUID into something readable?
Thanks, Jack



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.