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


  • Subject: RE: Can we output an HTML form from an e-rpg?
  • From: "JDE Temp 1" <JDETEMP1@xxxxxxxxxxxxx>
  • Date: Wed, 05 Apr 2000 10:16:30 -0700

Hello Stone & Don, Thanks for your info. 

Stone, specifically, this question is from your BVS-Computers List Items sample 
program which is found in your e-rpg book. Where do  you store the images of 
those items like AMD K2 NoteBook , PS2 Keyboard etc.. I know this e-rpg builds 
the html page and it also builds the image map, but where do you put these 
images on AS/400? And What is the Pass directive that I should have to find 
these images while the page is loaded from AS/400? 

Please let me know about this.

Thanks
Nimal     



>>> "Schenck, Don" <Don.Schenck@WL.com> 04/05/00 07:49AM >>>
Uh ... outputting "HTML" is EXACTLY what I recently asked about ...

... although the "HTML" will, in fact, be "XML".

-----Original Message-----
From: Stone, Brad V (TC) [mailto:bvstone@taylorcorp.com] 
Sent: April 05, 2000 9:08 AM
To: 'MIDRANGE-L@midrange.com' 
Subject: RE: Can we output an HTML form from an e-rpg?


Sure, but you'll need to understand how to use one or all of the following
APIs

QtmhGetEnv
QtmhRdStin
QzhbCGIParse

You can build the "HTML subfile" with eRPG.  These fields should be in a
form.  Then, depending on which method you use (ie GET or PUT) you use one
of the above APIs to read the values in the form fields.

I know I didn't include it in my book, but I've found using the QzhbCGIParse
API the easiest of them all.  I have an updated HTTP service program souce
on the www.netshare400.com source samples page (it's labled QZHBCGI) that
has a decent wrapper for this API. 

Brad

> -----Original Message-----
> From: JDE Temp 1 [mailto:JDETEMP1@legacyptr.com] 
> Sent: Tuesday, April 04, 2000 11:30 PM
> To: MIDRANGE-L@midrange.com 
> Subject: CGI: Can we output an HTML form from an e-rpg?
> 
> 
> Hello Brad, I have read your book on e-rpg. Could you kindly 
> let me know if you can output an html form from an e-rpg 
> program to read data back? For example, let's say something 
> similar to a DDS-subfile. Display rows of information and 
> also  have the input capability on those form fields, like 
> check-boxes, and radia buttons, text fields etc.? Then use 
> the Submit button to re-send data back to AS400 CGI. 
> 
> I tried this? I have no way to get the form to update 
> existing data from AS/400. Please help. 
> 
> Your feedback to this would be greatly appreciated.
> 
> Thanks
> Nimal Perera
> 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@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 subscribe to this list send email to MIDRANGE-L-SUB@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 subscribe to this list send email to MIDRANGE-L-SUB@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 subscribe to this list send email to MIDRANGE-L-SUB@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 thread ...


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.