× 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.



http://www.rpgpgm.com/2014/04/add-1-to-to-get-b.html

this may be appropriate?

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John
Yeung
Sent: Wednesday, June 17, 2015 5:20 PM
To: Midrange Systems Technical Discussion
Subject: Re: The case of outnumbered numerator

On Wed, Jun 17, 2015 at 3:56 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
I was suggesting that perhaps going all the way to base 36 was overkill
John and that base 16 might provide a satisfactory, and far easier to
implement, alternative.

Well, he did *specifically* mention that he wanted to preserve EBCDIC order,
and standard hex (expressed as digits '0' through 'F') doesn't do that.

It was pretty clear from his description of the problem that the field is
currently being monotonically incremented, and he wants to be able to
continue to do so (that is, not go backwards).

As to "far easier"... well, some folks already mentioned some ideas earlier
in the thread to do exactly what Gad was asking, and they didn't strike me
as too difficult. No more difficult than using system APIs (actually quite a
bit easier in my opinion). Regardless, whatever he comes up with will
presumably be wrapped up in a service program or similarly easy-to-use
package, so any initial "implementation cost"
gets amortized away anyway. (At least, this seems to be one of the standard
arguments for using RPG as an implementation language over more expressive
languages.)

John Y.
--
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 thread ...

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.