The Structure of the Program Flows table objects
This section describes the structure of two CICS IA tables that are used only to generate the program flows report in the CICS IA plug-in for the CICS Explorer.
- CIU_CF_TASKFLOW_INDEX
- Index table is CIU_CF_TASKFLOW_INDEX table.
Table 1. CIU_CF_TASKFLOW_INDEX Column Type Description RUN_ID INTEGER Reserved for future use ID INTEGER Record (node) id ID_TASK_ROOT INTEGER ID of root task in this table, equals ID in case it is a root task. ID_TASK_PARENT INTEGER ID of parent task in this table, NULL in case it is a root task. ID_TREE_GROUP INTEGER TREE group number for plug-in GUI (group of identical trees) TASK_LEVEL INTEGER Level of task in task call hierarchy, for root task it is 1 CMDFLOWID CHAR(08) CMDFLOW_ID at this task start APPLID CHAR(08) APPLID of this task SYSID CHAR(04) SYSID of this task TRANID CHAR(04) TRANID of this task TASKID CHAR(08) TASKID of this task TIME_ASSOCIATED TIMESTAMP TIME THAT IS USED TO SYNC REMOTE LINKS IS_REMOTE_SOURCE CHAR(01) Whether this node was called remotely 'T'/'F' REMOTE_SOURCE_CALL_TYPE CHAR(01) Type of remote call that initiated this task (remote (L)ink or tran (S)tart) THIS_NODE_STATUS CHAR(01) Whether we processed all calls for this task ('T' or 'F')
In case of error while processing this node, it will be 'E'rroR. When unexpected error occured, it will be 'U'nknown
In case processing for this node to be skipped, 'S'kip
In case there is no collected data for processing, 'M'issing data
IS_TREE_PROCESSED CHAR(01) Only when this is root task and we created a progflow tree for this task and child tasks.
NODES_TASK INTEGER Total amount of Task Nodes in this task. NODES_PROG INTEGER Total amount of Program Nodes in this task, used to compare trees NODES_TASK_TOTAL INTEGER Total amount of Task Nodes in this tree (in CIU_CF_PROGFLOW) NODES_PROG_TOTAL INTEGER Total amount of Program Nodes in this tree (in CIU_CF_PROGFLOW) - CIU_CF_PROGFLOW
- This table contains all instances of the program flows that have run.
Column Type Description RUN_ID INTEGER Reserved for future use ID INTEGER Record (node) id ID_TASK_ROOT INTEGER References root task’s ID in the index table ID_TASK_CURR INTEGER References current task’s ID in the index table
ID_TASK_REF INTEGER If this is created for a remote task call(reference),
ID of initiated task in the index table
ID_PARENT_NODE INTEGER References calling(parent) node’s ID in this table. NULL if top-level
ID_RETURN_NODE INTEGER References return node’s ID in this table. NULL if top-level
IS_REMOTE_CALL CHAR(01) If source of this is on remote region SOURCE_FUNCTION CHAR(01) How program/task was called - (S)TART, (L)INK, (X)CTL,
COBOL DYNAMIC (C)ALL, (I)nitial program of a task, (U)nknown
TREE_LEVEL INTEGER Level of node in call hierarchy, starting from root program of root task
For root task and root program it is 1
It is set equal for a task and first program of this task
NODE_TYPE CHAR(01) (P)rogram or (T)ask reference node
NODE_NAME CHAR(08) PROGRAM name in case it is Program Node, or can be TRANID if this is task reference node