As to Windows NT, AIX, and Sun Solaris, a call to setTracePoint:forEntry: runs the following CICS code:
EXEC CICS ENTER TRACEID(tracePoint) ENTRYNAME(entryName) PERFORM MONITOR;
When this code runs, CICS sends the event monitoring point (EMP) to the EMP user exit function CICS_EMP_EnterAPI(). To process the EMP, your application must, at each event monitoring point, get the required information and return the user monitoring information so that, at the end of the transaction, CICS can append it to the performance monitoring data written to the transient data queue.
As to OS/390, the following code sets a trace point with an entry point name to start an SMF record.
| trace | trace := CICS setTracePoint: 11 forEntry: 'ENTRY3'.
For this trace to be successful, the following entry must be made in the MCT:
DFHMCT TYPE=EMP, CLASS=PERFORM, ID=(ENTRY3,11), CLOCK=(1,CLOCKA), PERFORM=SCLOCK(1)