I don't see where you are extracting the names. Shouldn't there be a zhbGetInput(), zhbgetvar(CGIINP01), and zhbgetvar(CGIINP02) statements to retrieve the first name, last name from the query string.
--- Donna Fabianke <[EMAIL PROTECTED]> wrote: > The initial prompt is fine asking for first name and > last name and > the submit button > > The second HTML page looks fine, but there is > nothing after First > Name: or after Last Name: > > > Thanks, > Donna Fabianke > > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] > On Behalf Of Mike Haston ** Data > Sent: Wednesday, November 02, 2005 2:43 PM > To: [email protected] > Subject: RE: [Easy400Group] parameters not passing > > What's the output look like? > > First Name: firstname > Last Name: lastname > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] > On Behalf Of dfabianke > Sent: Wednesday, November 02, 2005 3:38 PM > To: [email protected] > Subject: [Easy400Group] parameters not passing > > I am working on BVS stone on CGIDEV2 book and I have > encountered a > problem. I have an HTML file that asks for first > name an last name then > press a submit button and it should tell you what > you entered. > On the address line of the browser it appears that > it is passing the > names, but they are not displaying in the page. > Below is an example of > what is showing up in the address line: > http://<myas400:8014>/cgi-bin/procinput1? > cgiinp01=firstname&cgiinp02=lastname > > Below is an example of the HTML files and the RPG: > input1.html file: > > <html> > > <body> > > Please enter your first and last name, then press > the > Submit button.<br><br> > > <form action="/CGI-BIN/procinput1"> > > First Name:<input type="text" name="CGIINP01"><br> > > Last Name:<input type="text" name="CGIINP02"><br> > > <input type="Submit"> > > </form> > > </body> > > </html> > > procinput1.html file: > /$all > Content-type: text/html > > <html> > <body> > You entered the following information: > <br> > <br> > Your first name is: <B>/%FIRSTNAME%/</B> > <br> > Your last name is: <B>/%LASTNAME%/</B> > </body> > </html> > > procinput1 - RPGLE program: > ************************************* > H DFTACTGRP(*NO) BNDDIR('SPCGILIB/CGIDEV2BND') > > > ************************************************ > > > * > Prototypes > > > ************************************************ > > > /copy SPCGILIB/QRPGLESRC,PROTOTYPEB > > /copy SPCGILIB/QRPGLESRC,USEC > > > ************************************************ > > > * VARIABLES USED IN CGI PROGRAMS > > > ************************************************ > > > /copy SPCGILIB/qrpglesrc,VARIABLES1 > > > ************************************************ > > > C EXSR $Input > > C callp ClrHtmlBuffer > > C callp > GetHtml('HTMLSRC':'SPCGILIB':'PROCINPUT1' > C callp > updHTMLvar('FIRSTNAME':CGIINP01) > C callp > updHTMLvar('LASTNAME':CGIINP02) > C callp wrtsection('all') > > C callp wrtsection('*fini') > > C SetOn > LR > ************************************************ > > * Read Input from web page > > ************************************************ > > C $input BEGSR > > * > > /copy SPCGILIB/qrpglesrc,PROLOG1 > > * > > C ENDSR > > > > > > > > ------------------------ Yahoo! Groups Sponsor > > > > Yahoo! Groups Links > > > > > > > ###################################################################### > > NOTICE: > The contents of this e-mail and any attachments to > it may contain > privileged and confidential information from Jones > Apparel Group, Inc. > or its affiliates. This information is only for the > viewing or use > of the intended recipient. If you are not the > intended recipient, > you are hereby notified that any disclosure, > copying, distribution or > use of, or the taking of any action in reliance > upon, the information > contained in this e-mail, or any of the attachments > to this e-mail, > is strictly prohibited. If you have received this > e-mail in error, > please immediately notify the sender by replying to > this message and > delete it from your system. > > ###################################################################### > === message truncated === __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/wbFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Easy400Group/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
