Previous Topic: Stop Timing a File or Database RequestNext Topic: Stop Timing an Event


Start Timing an Event

The START_EVENT function starts the recording of elapsed time for any generic event.

Pair the start event MEI request with the request to stop the timing of the event.

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

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

module   DFHEIENT

	GSVCMEI START_EVENT,			Start event       X
		NAME==CL16'eventname',		..event name      X
		TYPE==CL16'eventtype'		..event type

	EXEC CICS RETURN

START_EVENT parameters:

eventname

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

eventtype

Specify a 16-character event type.