Problem:
The number of currently active tasks in a CICS region must be evaluated. The administrator may query the number of active or suspended transactions at any time.
Resolution:
MFE CICS is providing the function INQUIRE TASK LIST. The function may be called in a Cobol program. For example you can code embedded CICS like this:
EXEC CICS INQUIRE TASK LIST
LISTSIZE (howmany)
SET (ADDRESS OF tasklist)
END-EXEC.
The counting can be restricted to a status RUNNING, DISPATCHABLE, oder SUSPENDED.
If a list is requested, the program is able to investigate each task in particular.
#EnterpriseDeveloper
#MFDS