This image shows sample code for a parameter list in a calling program and for the corresponding LINKAGE SECTION in a called program.
The following is the calling program:
WORKING-STORAGE SECTION. 01 PARAM-LIST. 05 PARTCODE PIC A. 05 PARTNO PIC X(4). 05 U-SALES PIC 9(5). ... PROCEDURE DIVISION. ... CALL "CALLED-PROG" USING PARAM-LIST.
The following is the called program:
LINKAGE SECTION. 01 USING-LIST. 10 PART-ID PIC X(5). 10 SALES PIC 9(5). ... PROCEDURE DIVISION USING USING-LIST.
End of image description.