Use linkage type OS in the third argument to CallProg expression to link to an Assembler language program. Assembler language programs can be used on z/OS.
Assembler programs receive a list of parameter addresses in a parameter list pointed to by Register 1. An Assembler program places the return code in register 15.