If you're an RPG programmer in need of CGI example programs, there are a plethora of examples. COBOL programmers need not despair, though, as there are at least two sources of sample COBOL CGI programs:
Library CGICBLDEV
Written by IBMers and offered free to the iSeries community, this library
offers a COBOL interface to the CGI service program. A COBOL CGI tutorial is
included.
http://www-922.ibm.com/easy400p/framer1.html?url=/cgicbldev [1]
ILE Cobol CGI Example
The following URL offers a number of sample programs written by Eduardo
Murra Farrus.
http://www.iseriesnetwork.com/resources/code/misccode/cobolcode/IleCobolCgiExample.zip [2]
Links:
[1] http://www-922.ibm.com/easy400p/framer1.html?url=/cgicbldev
[2] http://systeminetwork.com/resources/code/misccode/cobolcode/IleCobolCgiExample.zip