Program Type |
Keyword |
---|---|
Calling or non-calling |
NTRY or PROC. Both keywords generate a PROCEDURE DIVISION statement. |
Called |
PROC with optional USING clause. PROC generates a PROCEDURE DIVISION USING statement; the program receives data items from a calling program CALL statement. |
PROC USING LINKAGE-RECORD
PROCEDURE DIVISION USING LINKAGE-RECORD.