Welcome to myCobol.net Thursday, 18 July 2019, 17:08 @ CEST

cgi for cobol

cgi interface

  • Contributed by:
  • Views: 646
cgi for cobol

Cobol is mainly used in a business environment where architectures use the IPO principle: Input some data (records in a file), process them and output them (print records). Off course, this is a very simplistic view.  

This IPO principle is still found in most modern system architectures and is sometimes synonimized with client-server architecture.  Fact is that input forms got smart as http-requests, and printed reports went also intelligent in the form of html-pages. From a Cobol perspective these smart entities are a foreign concept since they are in free format. 

CGI configuration

  • Contributed by:
  • Views: 1,164
cgi for cobol

The compiler that accepts the syntax, uses a library that handles the CGI protocol. This cgi library can be tuned for your needs by environment variables, as follows: