Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Sharing data

When a run unit consists of several separately compiled programs that call each other, the programs must be able to communicate with each other. They also usually need access to common data.

This information describes how you can write programs that share data with other programs. In this information, a subprogram is any program that is called by another program.

related tasks
Passing data
Coding the LINKAGE SECTION
Coding the PROCEDURE DIVISION for passing arguments
Using procedure and function pointers
Coding multiple entry points
Passing return-code information
Specifying CALL . . . RETURNING
Sharing data by using the EXTERNAL clause
Sharing files between programs (external files)
Using command-line arguments
Sharing data with Java


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)