DFHAP0705 W date time applid The enable of task related user exit program progname has caused CICS to force TASKDATALOC(BELOW) for all transactions.
Explanation
Task-related user exit program progname has been enabled with options TASKSTART and LINKEDITMODE, and progname has been linkedited AMODE 24. This ensures that it is always invoked in amode 24. An amode 24 task-related user exit program can only be invoked if the calling transaction is defined with TASKDATALOC(BELOW).
By enabling the AMODE 24 task-related user exit for task start, the user has forced CICS to force all subsequent transactions to run with TASKDATALOC(BELOW).
System action
CICS continues, but for the remainder of the CICS run, CICS insists that all transactions run with TASKDATALOC(BELOW).
User response
To avoid all transactions having to run with TASKDATALOC(BELOW), modify the task-related user exit so that it is capable of running AMODE(31) when invoked for task start.
Ideally the task-related user exit should be modified so that it always runs AMODE 31 for whoever is the caller. In this case the exit program can be linkedited with the AMODE 31 attribute, and enabled with the LINKEDITMODE option. This ensures CICS always invokes it in AMODE 31.
Alternatively the task-related user exit could be modified so it is capable of being invoked in either amode. In this case the exit should be enabled without the LINKEDITMODE option. This means the exit will be invoked in the amode of its caller. For CICS calls such as task start, this will always be AMODE 31, but it does allow the exit to be invoked AMODE 24 for calls from an amode 24 application if this is desired.
See the Defining resources. for more information on the TASKDATALOC option.
See the Developing system programs for CICS for programming information on the LINKEDITMODE option when enabling task-related user exits.
Module
XMEOUT parameters/Message inserts
- date
- time
- applid
- progname
Destination
CSMT and Console