The following operations may be performed on a task-related user exit from application programs:
The ENABLE operation is performed in two stages:
An exit is not made available for execution until it has been both enabled and started.
You can use the TASKSTART keyword on the ENABLE command to enable a task-related user exit so that it is invoked at task start for all tasks in the CICS® system.
You can also enable a task-related user exit with the FORMATEDF keyword, which means that the task-related user exit can provide formatted screens for EDF to display, whenever a DFHRMCAL request to the task-related user exit takes place.
The task-related user exit is invoked in the addressing mode of its original caller unless the LINKEDITMODE keyword is specified on the ENABLE command, in which case the exit is invoked in its own link-edit AMODE. LINKEDITMODE is only valid on the first ENABLE command for an exit program.
The task interface element (TIE) control block is created for the task and task-related user exit combination when the task issues its first DFHRMCAL request, unless the TIE has already been created because the task-related user exit was enabled for TASKSTART.
When a DFHRMCAL request is issued, control passes to DFHEIP, to DFHERM (the external resource manager interface program), and then to the task-related user exit. DFHERM manages the TIEs.
ENABLE, DISABLE, and EXTRACT are all EXEC CICS requests. DFHRMCAL is a macro.
A task-related user exit can "express interest" in certain types of events, and be invoked when these events take place. These events are:
By default, it is assumed that task-related user exits are interested in application invocations only.
[[ Contents Previous Page | Next Page Index ]]