Previous Topic: Record Non CICS Program UsageNext Topic: Stop Timing a File or Database Request


Start Timing a File or Database Request

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

The start clock function request does the following:

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

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

reqtype - Request Type Keywords
	   Valid values are:
	   NONE
	   ADD
	   BROWSE
	   DELETE
	   READ
	   READUPD
	   UPDATE

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

module   DFHEIENT

	GSVCMEI START_CLOCK,			Start clock	  X
		NAME==CL08'filename'		..filename	  X
		TYPE=reqtype			..request type

	EXEC CICS RETURN