IBM Extension
IBM Extension

LINKAGE TYPE Phrase

The LINKAGE TYPE phrase is used to specify the type of linkage to be made on the CALL to literal-1.
environment-name-1
The type of linkage the compiler will generate for the CALL. Environment-name-1 can be defined as:
PGM
Linkage to a program object (*PGM) is generated.
PRC
Linkage to an ILE procedure is generated.
PROGRAM
Linkage to a program object (*PGM)
PROCEDURE
Linkage to an ILE procedure

If the LINKAGE TYPE phrase is not specified on the CALL statement, the linkage generated for the CALL can be changed by specifying one of: the LINKAGE TYPE clause of the SPECIAL-NAMES paragraph, or the LINKLIT parameter of the CRTCBLMOD or CRTBNDCBL command.

End of IBM Extension
End of IBM Extension