Update indicators

Before calling the exit program, tablesONLINE/CICS sets three flags to indicate what data the user has changed. The flags affect tablesONLINE/CICS actions in later processing.

Referring to the parameter list under Interacting with tablesONLINE/CICS, the T-TBLX-ALL-UPD-IND parameter is set to Y whenever any row on the table has been changed. This affects whether a new generation is stored when the terminal user leaves the editor.

The parameter T-TBLX-KEY-UPD-IND is set to Y if any key field of the current row has been changed; this affects how an item-area-to-table-data move is done. If the key has not changed, and the multi-user update is not in effect, tablesONLINE/CICS can use a replace-by-count (RC) command. If the key has changed, tablesONLINE/CICS has more to do.

The parameter T-TBLX-ITEM-UPD-IND is set to Y if any field has been changed. The flag affects whether an item-area-to-table move is done at all.

You will not normally change these fields, except in special cases. For example, an exit program which updates a field the terminal user has not touched, such as a Date Last Accessed field, should set T-TBLX-ITEM-UPD-IND to Y.