|
Morning David, Depending on what type of information you are trying to output (i.e. whether it's static or interactive) you could use Net.Data, which would mean that you done need to embed HTML in your RPG program. Michael Hill Centurion Ltd > ---------- > From: David Gibbs[SMTP:david.gibbs@silvon.com] > Sent: Wednesday, 20 May 1998 02:41 > To: midrange-l@midrange.com > Subject: CGI programs in ILE RPG > > Greetings! > > I'm playing around with a CGI program in RPG to display some > information from our application as a web page... I'm curious as to > what approach people are using to build the HTML that the CGI program > generates. > > Currently, I've got the HTML defined as a compile-time array and I'm > just kicking through the array, substituting field data in > placeholders in the array. Kinda like... send lines 1 through 5, > setup line 6, send line 6, setup line 7, send line 7, setup line 8, > etc... > > While it works fine, it's quite tedious... are there better > approaches? > > TIA! > > david > > -- > > David Gibbs > Sr. Software Engineer > Silvon Software > 900 Oakmont Ln, Suite 400 > Westmont, IL 60559 > (630) 655-3313 x6479 > http://www.silvon.com > mailto:david.gibbs@silvon.com > > Opinions expressed are strictly my own and do > not necessarily reflect those of my employer > > You'll only see your obstacles each time you take > your eyes off of your goal! > > -- DMRoth > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.