PL/I

For an assembler program to call PL/I, specify OPTIONS(ASM) on the PROC statement of the PL/I routine to be called. For PL/I to call an assembler program, your PL/I program should have an ENTRY declaration for the assembler routine it calls, and OPTIONS(ASM) should usually be specified on the ENTRY declaration.

How the parameters are passed should match. Generally, assembler routines pass and receive parameters using a list of addresses. This corresponds to passing parameters BYADDR in PL/I. For details on how to pass parameters in PL/I, see the IBM Enterprise PL/I for z/OS library.