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 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_StartEvent) Function
MVC MEIC_F006_Name,=CL16'eventname' name
MVC MEIC_F006_Type,=CL16'eventtype' type
EXEC CICS LINK PROGRAM('GSVCMEI') X
COMMAREA(MEIC) X
LENGTH(=AL2(MEIC_L))
EXEC CICS RETURN
START_EVENT parameters:
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.
Specify a 16-character event type.
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |