Interacting with tablesONLINE/CICS

The primary means of communication between tablesONLINE/CICS and your exit program is through the parameters shown in Figure 111, all of which appear in a copybook (EXITPARM) that is supplied as part of tableBASE.

Figure 111. Exit program communication parameters
Exit program communication parameters

The tablesONLINE/CICS software sets the following parameters prior to calling the exit program:

  • T-TBLX-EXIT-STIF-IND
  • T-TBLX-EXIT-IO-IND
  • T-TBLX-EXIT-BA-IND
  • T-TBLX-ALL-UPD-IND
  • T-TBLX-KEY-UPD-IND
  • T-TBLX-ITEM-UPD-IND
  • T-OPER-PGM-OP-MODE
  • T-TBLX-ITEM-ACTION
  • T-TBLX-DUPSOK-IND.

tablesONLINE/CICS derives the value of these parameters from either the original definition of the View or events triggered by the usage of tablesONLINE/CICS.

The parameter T-TBLX-BYPASS-ACTION-IND is specified when the program is ready to return to tablesONLINE/CICS. In certain circumstances, for example, before returning to tablesONLINE/CICS, you may also change the parameters:

  • T-TBLX-BYPASS-ACTION-IND
  • T-TBLX-ALL-UPD-IND
  • T-TBLX-KEY-UPD-IND
  • T-TBLX-ITEM-UPD-IND