Use COBOL standard linkage in your exit modules to call COBOL programs or library routines. You need to be aware of these conventions in order to trace the call chain correctly.
When a call is made to a program or to a routine, the registers are set up as follows:
Exit modules must have the RMODE attribute of 24 and the AMODE attribute of ANY.
related concepts
Storage and its addressability