Sharing data
If 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
Using data from another program
Sharing data with Java
Passing data
Coding the LINKAGE SECTION
Coding the PROCEDURE DIVISION for passing arguments
Passing return-code information
Sharing data by using the EXTERNAL clause
Sharing files between programs (external files)
Accessing main program parameters under z/OS
Using data from another program
Sharing data with Java
Passing data
Coding the LINKAGE SECTION
Coding the PROCEDURE DIVISION for passing arguments
Passing return-code information
Sharing data by using the EXTERNAL clause
Sharing files between programs (external files)
Accessing main program parameters under z/OS