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


Stop Timing a File or Database Request

Many CICS transactions make file or database requests that are not performed using CICS functions.

The stop clock function request does the following:

Pair this stop clock MEI request with the start clock request to start the timing of the request.

Use the following CICS command level program example to code this function:

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

module   DFHEIENT

	MVC   MEIC_Function,=AL4(MEIC_StopClock)	Function

	EXEC CICS LINK PROGRAM('GSVCMEI')			  X
	     COMMAREA(MEIC)					  X
	     LENGTH(=AL2(MEIC_L))

	EXEC CICS RETURN