Re: Fujitsu 6.1 CGI/ISAPI CALLS
- From: "Richard" <riplin@xxxxxxxxxxxx>
- Date: 23 Apr 2006 12:44:21 -0700
jh wrote:
The abc.htm record contains
<input type="text" name="FIELD-ID" value="0000000" size="7">
DISPLAY-HTML.
SET COBW3-CNV-MODE-ADD-REP TO TRUE
MOVE "FIELD-ID" TO COBW3-CNV-NAME .
MOVE "abababa" TO COBW3-CNV-VALUE .
CALL "COBW3_CNV_SET" USING COBW3 .
MOVE "ABC.HTM" TO COBW3-HTML-FILENAME.
CALL "COBW3_PUT_HTML" USING COBW3.
DISPLAY-HTML-EXIT.
You don't use the html form field names, you need to have a special tag
so that the routine can know where you want to do a text substitute. In
this case the tag name must be surrounded by //COBOL// markers
<input type="text" name="FIELD-ID" value="//COBOL//ID-VALUE//COBOL//" size="7">
MOVE "ID-VALUE" TO COBW3-CNV-NAME .
MOVE "abababa" TO COBW3-CNV-VALUE .
Note that when the form data is returned to the program the name of
this value will be the field name: FIELD-ID but on output text may be
substituted anywhere, not just in field values and the stuf is just
text with no special meaning to the Cobol except where the tag markers
are.
.
- References:
- Fujitsu 6.1 CGI/ISAPI CALLS
- From: jh
- Fujitsu 6.1 CGI/ISAPI CALLS
- Prev by Date: Re: ROSCOE tutorial needed
- Next by Date: Re: ROSCOE tutorial needed
- Previous by thread: Fujitsu 6.1 CGI/ISAPI CALLS
- Next by thread: Re: Any comments? (Answers to Pete)
- Index(es):