Hour 23The Call Interface

COBOL programs may execute other COBOL programs or even programs written in a different source language. The COBOL standard defines a simple method for accomplishing this task: the Call statement. In this hour, you learn how to write a program that calls another program and how to write the program that is called. You learn the information necessary to successfully interface and communicate between calling and called programs, such as

• How to Call another program

• Passing data to a called program from a calling program By Reference and By Content

• Coding the Linkage Section and the Procedure Division to allow a program to be called

• Static versus dynamic calls

• The importance of synchronizing the calling parameters ...

Get Sams Teach Yourself COBOL in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.