Mainframe Path Start learning free
AppliedModernization42 min

APIs and REST on z/OS

How mobile apps and websites talk to CICS, IMS and DB2 programs through REST APIs: HTTP and JSON in plain terms, mapping copybooks to JSON, exposing and calling APIs, and keeping them secure.

What you will be able to do

Lessons

  1. REST in plain terms
    A REST API lets one program ask another for something over HTTP, the same protocol web browsers use.
  2. From copybook to JSON
    Mainframe programs exchange fixed-layout records described by copybooks; APIs exchange JSON with named fields.
  3. Exposing CICS and IMS programs as APIs
    You do not rewrite a working CICS or IMS program to give it an API. A gateway on z/OS receives the HTTP request, converts the JSON into the program's input structure, calls the…
  4. Calling external APIs from COBOL
    APIs work in both directions. A COBOL program can call a service elsewhere — a fraud check, an address lookup, a cloud service — by building JSON, sending an HTTP request, and…
  5. Securing and running mainframe APIs
    An API opens the mainframe to callers you have never met. Securing it means encrypting traffic, proving who the caller is, mapping that identity to a RACF user so existing access…

Track your progress and earn a certificate.
Free account, 90 quiz questions for this subject.

Start this subject