Previous Topic: Start Timing an EventNext Topic: Set Field Data Value for User ID


Stop Timing an Event

The STOP_EVENT function stops the recording of elapsed time for any generic event.

Pair this STOP_EVENT MEI request with the START_EVENT request to stop the timing of the event.

Use the following assembler GSVCMEI macro STOP_EVENT example to code this function:

....+....1....+....2....+....3....+....4....+....5....+....6||7..
DFHEISTG	    DSECT ,
MEIPL		    GSVCMEI GEN_PARMLIST,DSECT=NO

module  DFHEIENT

	GSVCMEI STOP_EVENT,			Stop event	  X
		NAME==CL16'eventname',		..event name	  X
		TYPE==CL16'eventtype'		..event type

	EXEC CICS RETURN

STOP_EVENT parameters:

eventname

Specify a 16-character event name. The event name must be the same as the event name used in the START_EVENT function call corresponding to the STOP_EVENT function call.

eventtype

Specify a 16-character event type.