Calling and Sharing Data Between ILE COBOL Programs

Sometimes an application is simple enough to be coded as a single, self-sufficient program. In many cases, however, an application's solution will consist of several, separately compiled programs used together.

The IBM i system provides communication between ILE COBOL programs, and between ILE COBOL and non-ILE COBOL programs.

This chapter describes:
  • Various methods used to call another ILE COBOL program
  • How control is transferred back to the calling program once the called program has finished running
  • How to pass data between the calling program and called program
  • How to cancel an ILE COBOL program.