Top-level control structure for an exit

The typical top-level control structure for a tablesONLINE/CICS user exit program is based on a multi-way branch depending on the indicator bytes in T-TBLX-EXIT-INDICATORS.

Table 82 lists all possible values of T-TBLX-EXIT-INDICATORS. For each combination of level (system, command, table, item, and field) Input/Output, Operation and Timing, the table summarizes the tablesONLINE action.

Table 82. Exit timing and indicator combinations

Indicator combination

Level

Input/output operation

Timing

tablesONLINE/CICS action on normal return

SIB

System

Sign on

Before

TBOLACT Validation

SIA

System

Sign on

After

SOB

System

Sign off

Before

Return to CICS

SOA

System

Sign off

After

SOB Exit

CMB

Cmd Line

Menu

Before

Parse Menu command line

CMA

Cmd Line

Menu

After

Parse Menu Item selection

CIB

Cmd Line

Identify

Before

Parse Identify command line

CSB

Cmd Line

Edit table

Before

Parse Edit Table command line

CSA

Cmd Line

Edit table

After

Parse Edit Table line cmd (pair)

CEB

Cmd Line

Edit row

Before

Parse Edit Row command line

TOB

Table

Open

Before

Open table (OR or OW)

TOA

Table

Open

After

TSB

Table

Store

Before

Store table (ST)

TSA

Table

Store

After

TCB

Table

Close

Before

Close table (CL)

TCA

Table

Close

After

IIB

Item (row)

Input

Before

Fetch item (FC or FK)

IIA

Item (row)

Input

After

IUB

Item (row)

Update

Before

Update item (RC, RK or combinations using DK, DC, IK and IC)

IUA

Item (row)

Update

After

IMB

Item (row)

Move

Before

Move item (combination using DK, DC, IK and IC)

IMA

Item (row)

Move

After

IDB

Item (row)

Delete

Before

Delete item (DK or DC)

IDA

Item (row)

Delete

After

INB

Item (row)

New

Before

Create item (IK or IC)

INA

Item (row)

New

After

IXF

Item (row)

any

Output

See IXF Exit indicator and IQU exit

IQU

Item (row)

abort

Update

FIB

Field

Input

Before

Move data from item to screen

FIA

Field

Input

After

FOB

Field

Output

Before

Move data from screen to item

FOA

Field

Output

After