× 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: e-RPG input box
  • From: Keith Flournoy <kflournoy@xxxxxxx>
  • Date: Mon, 14 Aug 2000 14:04:35 -0500

Title: e-RPG input box
Hi Brad,
 
        Thanks for the quick reply. The question that I am asking is for an example of what the code would look like in RPG in order to show the input text box when viewed from an HTML browser. You have included several (an very good) examples of how to convert static text files from HTML to -e_RPG. I am looking for an example of how to do the same with an input box that will read the data from the web page to the e-RPG program. I hope that I am not being too ambiguous in this question and I do appreciate the assistance.
-----Original Message-----
From: Stone, Brad V (TC) [mailto:bvstone@taylorcorp.com]
Sent: Monday, August 14, 2000 1:14 PM
To: 'RPG400-L@midrange.com'
Subject: RE: e-RPG input box

Hi Keith.
 
I don't quite understand your question.  If this HTML is static, you shoudn't need to use RPG to write it out.  But, if you really wanted to, you have at least 3 options...
 
1.  Write out each line in RPG
2.  Store in the IFS and have your RPG program read it and write it out to the browser.
3.  Store in a file (member) and do the same as #2.
 
When you're using e-RPG, Net.Data, or any CGI method, you can still use static pages for these types of things.
 
Let me know if I didn't quite understand your question.
 
Brad
-----Original Message-----
From: Keith Flournoy [mailto:kflournoy@mks.com]
Sent: Monday, August 14, 2000 11:36 AM
To: rpg400-l@midrange.com
Subject: e-RPG input box

I have just purchased Brad Stone's book on e-RPG and I am looking to write a portion of code which will allow me to use a text box as an input field from a web program to an e-RPG program. There are several examples of how to code in HTML but I am looking for an example of how to code the following text in e-RPG:

<HTML>
<HEAD>
<TITLE>Enter User Information
</HEAD>
Please Enter Your Name and your E-Mail address. <BR>
Click <i>Done</i> when you are finished. <BR>
<FORM action="cgi-bin/CGIPGM" method="post">
Name: <input type="text" name="EMAIL" size=50><BR>
<input type="submit" value="Done">
</FORM>
</BODY>
</HTML>

Keith Flournoy
MKS Professional Services
800 633-1235
www.mks.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.