Writing z/OS CGIs in COBOL

Catalog Home IBM Mainframe, Midrange & ISV Products z/OS Systems Programming

CGI stands for Common Gateway Interface, and it is the most widely used programming technology for creating dynamic web pages at the server. Students who complete this course will be able to design and code CGI programs in COBOL to run on z/OS used as a web server. Although the content here applies generally to HTML and XHTML, our focus is on using HTML 5.

Copyright © 2018 by Hunter's Training Associates, LLC

At the very least, the student entering this course should have an understanding of CGI concepts and design issues, such as might be obtained from attending "Introduction to CGIs on z/OS" (PT5646).

2 Days/Lecture & Lab

This course is designed for COBOL programmers, who are experienced with working in an OS/390 or z/OS environment, and who will be designing and coding CGI applications that are to be run on z/OS.

General program structure (COBOL CGI)

  • Using display, printf() and bpx1wrt to emit HTML
  • Deploying a CGI
  • Classic HTTP vs. Apache server
  • Handling GET requests
  • Accessing environment variables
  • Parsing QUERY_STRING
  • Decoding QUERY_STRING
  • Working with data on the server
  • VSAM KSDS access
  • DB2 access
  • Hidden controls and cookies
  • Handling POST requests
  • Handling files sent by POST
  • Working with Unicode
  • Submitting jobs from a CGI

< >

Recently Viewed Courses:

Copyright © 2020 ProTech. All Rights Reserved.

Sign In Create Account


Social Media