Specifying the Program To Be Called

When you call one COBOL program from another, you specify the name of the program to call either in a data-name or as a literal. For example:

CALL progname USING ...  
CALL "progname" USING ...  

where progname (without quotation marks) is a data item that contains a valid program-name, and "progname" (with quotation marks) is a literal string and is the actual name of a valid program.

Calling Programs According to how They Are Linked

The program-name can be:

Naming a Program in its PROGRAM-ID Paragraph

Calling a Program Using an Implicit Program Name

Calling a Program Using an Explicit Program Name

Calling Entry Points in Subprograms

Related Topics: