From: Wim N. <ni...@pb...> - 2002-09-13 08:24:38
|
> Is there a way to use tiny cobol in a cgi-bin with > data from a html form? I have used rm\cobol by > www.liant.com and this options is available. It is > very usefull and if its available please let me know. Yes and No. I am using the ACU cobol compiler with a very nice interface. The cgi-form is declared in working-storage as external, and can be read using the ACCEPT statement. In the same concept one can DISPLAY the form, and point to a html template. The trick here, is that the compile can use the field-names for mapping to the input-fields of the html-form. Which is hard to do in the runtime. RMCobol has a runtime module doing the same on a call-by-call basis (for each field). The RMComponent is known as CGIEX and is commercially available for others compilers as well. My point. Since all this cgi and web thingies are different per compiler, I intend to develop a cgi interface (as described here and above) completely written in Cobol. I"ve done similar things and a basic parser is already available. What I basically need in the cobol-syntax is the statement MOVE A TO B WITH CONVERSION. Let me know your needs, ideas, hints, tricks, etc. Cheers, wim niemans |