Invoking EQQEXIT in SMF exits

EQQEXIT establishes its own addressability in SMF exits. It saves and restores all used registers. To do this, it expects Register 13 to point to a standard z/OS save area.

There are two ways to invoke the EQQEXIT macro in an SMF exit:
  • Invoke EQQEXIT with all registers unchanged since the exit was called (except Register 15).
  • Save all registers on entry to the exit and then invoke EQQEXIT by specifying the address of the initial save area.

In both cases, the EQQEXIT macro must be invoked in Supervisor state, PSW key 0.