You might also look into Google Charts.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power


From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Kelley <>
Sent: Thursday, October 24, 2019 8:19 AM
To: web400@xxxxxxxxxxxxxxxxxx <web400@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WEB400] Looking for Advice/Suggestions

Thanks to all for your help and input. I've found some interesting
methods for producing a bar graph using HTML5, so time to dig in and try
things out.



On 10/23/2019 2:38 PM, Booth Martin wrote:

My current favorite flow is:

 * write an RPG service program that delivers the current data as a


 * Use the IWS Wizard to deliver those data as properly formatted .json


 * Set up a web server in your IFS, with a landing page that displays a


You already get the data, so step 1 is easy.

I found that using the IWS Wizard is easy and reliable, however I will

say it is not idiot-proof; the learning curve for me was painful and


You already know HTML & css well enough to write your own landing page

on, port 80.  The browser graph will be the stickler but by

the time you get there you will have come across a solution you like.

So, yes, given some time to absorb it all, it should be a great way to

wet your toes.

On 10/23/2019 8:44 AM, Kelley wrote:

    I'm not sure if this is the right list...

    I'm looking for advice/suggestions on how to change an RPG/green

screen application to be accessible from a browser.

    Last week I was at the RPG/DB2 conference in Minneapolis. A great

conference as usual. I was particularly interested in the open source

sessions and I'd like to try some of the techniques I watched being


    The shop I work in has been a single person shop for a couple of

years now (down from three people). All of our software was developed

in-house over a period of many years. The code is mostly RPG400 and

green screens. I write any new code using RPG Free and other newer

techniques, however the applications are pretty stable so I don't

write a lot of new code. My other responsibilities (PC's, networks,

and so on) keep me from doing any refactoring.

     The program I'd like to change is an RPG Free program that uses a

green screen display to show current yield data to the manufacturing

line (it displays a bar chart using control codes for different

colors). It's displayed on a large screen TV that is visible in the

plant. It refreshes every 15 seconds.

    I'd like to update this process and move the display of the data

to a

web browser so it can be visible to those without an IBM i client.

This is not an area I have much experience in. The closest I've come

is using CGIDEV to create a web page that displays sales data.

    My question is, where to start? I've spent some time on the web

looking at various ways to do this, I think there are about a million.

What's the best way to ease into this?

    To help narrow options down a bit, I know RPG, C and SQL. I've done

some simple HTML and CSS. I'm familiar with linux. I built a simple

inventory app a few years ago using a LAMP stack and PHP. I'm

currently learning Python.

    Any and all suggestions are welcome.

    Thanks, Kelley.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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