+-------------------------------IBM Extension--------------------------------+
The LINKAGE TYPE clause specifies the type of linkage to be made on a CALL to or a CANCEL of the program specified by literal-7, and to the type of linkage to be made on the SET statement.
LINKAGE TYPE Clause - Format
(1)
>>-LINKAGE-------+------+--+----+--+-environment-name-3-+------->
'-TYPE-' '-IS-' +-PROGRAM------------+
'-PROCEDURE----------'
.---------------------------------------------.
V |
>--FOR----literal-7--+------------------------------+-+--------><
'-USING--| linkage-arguments |-'
linkage-arguments:
.-------------------------------------------------------------------.
V |
|----+-ALL---------------------------------------+--+-----+--DESCRIBED-+--|
| .---------------------------------------. | +-IS--+
| V | | '-ARE-'
'---integer-1--+------------------------+-+-'
'-+-THRU----+--integer-2-'
'-THROUGH-'
Notes:
Related Information:
The USING clause is allowed for a linkage type of procedure and applies only to a CALL statement.
Integer-2 must be greater than integer-1.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.