Installing the exit
The load module implementing the operation-status-change exit must be link-edited into an APF-authorized library in the LNKLST concatenation or defined by the STEPLIB DD statement in the HCL Workload Automation for Z JCL procedure. If the load module performs any input or output operations it must be link-edited with RMODE(24) according to normal z/OS restrictions. Or it can be link-edited with RMODE(ANY).
HCL Workload Automation for Z invokes the exit in AMODE 31; the AMODE parameter specified at link-edit time has no effect.