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



Well your question is a bit vague.

For instance is the COBOL program going to be returning a web page or are
you just kicking off a batch function?  Even if it is not returning output
as such it still has to return something or the browser will sit there until
it times out.

Either way there are a number of things you need.

First of all your HTTP config has to be set up to allow the program to be
invoked - have you done that?

Second you need to code the required APIs (Are you doing GET or POST because
data retrieval is different in each case).

The code the API calls to write the result back to the browser.

As to the CL part, you can write the CGI interface in CL if you want, but it
would be simpler to front-end the COBOL with COBOL or for that matter just
modify your COBOL program to handle the web interface directly.

E-mail me _off-line_ and I can send you a sample CGI program that handles a
form.

Jon Paris
Partner400




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.