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



If I remember correctly in 4.5 you had a web server.
There are nice javascript packages that will build graphics in the browser,
you just need to send the data.

On Mon, Dec 27, 2021 at 11:10 PM John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

On Fri, Dec 24, 2021 at 7:11 AM Patrik Schindler <poc@xxxxxxxxxx> wrote:

I'm open to other suggestions within the artificial restriction to V4R5.
:-)

Well, I am not too familiar with old IBM midrange stuff. I started
paying attention to versions at around V5R2.

But it was while we were at V5R2 that I stumbled upon iSeriesPython
2.3.3. This was definitely quite a hobbyist version of Python! While
it was mostly ported from the official Python 2.3.3 from python.org,
the customizations that had to be made to run on AS/400 were very
visible. The biggest and most fundamental was that the internal
representation of strings was EBCDIC. This caused all kinds of
encoding problems with third-party modules. I spent a long time
figuring out how to port the Excel writing package called xlwt to
iSeriesPython 2.3.3.

Further, not all of the standard library (supposedly included with
every implementation of Python) was ported, so software which claimed
to "run anywhere that Python 2.3 runs" would not necessarily run on
iSeriesPython.

If your hobbyist rules allow the use of iSeriesPython 2.3.3, I can
point you to a version compiled for V4R5. (You have to use the Wayback
Machine!)

Once you have a "mostly working" Python on your machine, that opens up
further possibilities for third-party packages or potentially easier
custom coding.

For making business charts, you could conceivably leverage Excel. The
xlwt package I mentioned earlier doesn't expose the charting
capabilities, as far as I'm aware, so it would be another hobbyist's
challenge to backport XlsxWriter (much better and more modern Excel
file writer) to Python 2.3 (from Python 2.7).

I know, it's all pretty circuitous, but given your constraints, there
might not be any short, straight paths.

John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


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.