Terminate tableBASE in Region (XX)

Command title

Terminate tableBASE in Region

Description

This command is intended to be used at the end of tableBASE sessions.

COBOL syntax

MOVE 'XX'                   TO xxxx-COMMAND.
CALL 'TBLBASE' USING        TB-PARM
                            xxxx-COMMAND-AREA.

C syntax

memcpy( tbCommArea.tbCommand, "XX", 2 );
TBLBASE( &tbParm, &tbCommArea );

Parameters

None

Explanation

When this command is invoked the following activities are performed:

Any open tableBASE libraries are closed. Any later references to the library DDname by a command (except ML) will cause the library to reopen; this reopening is completely transparent to the user.

If strobe reporting is on, a final strobe report is written to the strobe report file and the file is closed. No further strobes are written to the dataset even if there are more tableBASE commands processed in the region. There is no way to turn strobe reporting back on.

Return value

None

Notes

None

Exceptions

The XX command is not supported in CICS or DB2 SPAS.

In a multi-tasking batch environment, XX may only be issued by the persistent task, i.e., the task which first calls tableBASE, and which stays active until all tableBASE calls are completed.

See also

None