LINKAGE TYPE Phrase
The LINKAGE TYPE phrase is used to specify the type of program that the
procedure-pointer data item is set to. It could be set to the address of a
separately compiled program object (*PGM) or a procedure within a program.
- environment-name-1
- The type of program that procedure-pointer-data-item-1 will be set to.
Environment-name-1 can be defined as:
- PGM (a program object, or *PGM)
- PRC (a procedure)
- PROGRAM
- Procedure-pointer-data-item-1 is set to a program object (*PGM).
- PROCEDURE
- Procedure-pointer-data-item-1 is set to a procedure.
- NULL(S)
- Sets the receiving field to contain the value of an invalid address.