Empty the Table (MT)

Command title

Empty the Table

Description

This command removes all of the rows from the copy of the table that is open in the TSR.

COBOL syntax

MOVE 'MT'                   TO xxxx-COMMAND.
CALL 'DK1TCALL' USING        TB-PARM
                            xxxx-COMMAND-AREA.

Parameters

None

Explanation

None

Return value

The table must be open for write in the TSR or VTS-TSR. Multiple error codes can be returned by this command.

Notes

The table remains open, with free space allocated, ready to be re-populated with new data.

Exceptions

For a single batch program using a local TSR, the table can be open for read.

See also

None