DUMP-TABLE

Function

Dumps table data into an SPF file.

Syntax

DUMP—TABLE
NAME=table_name_var|_lit|_col
[CONTINUATION=continuation_var|_lit|_col]

Arguments

NAME

Name of the table created by CREATE-TABLE.

CONTINUATION

Defines whether the table data is a continuation of a previous DUMP-TABLE command. Valid values are YES and NO. The default is NO.

Description

Use DUMP-TABLE in any section except BEGIN-SETUP, BEGIN-SQL, and BEGIN-DOCUMENT. The data dumped into the SPF file will be in a format that the Enhanced HTML or Generic Driver can use to provide coherent output such as XML, BQD, and CSV.

Example

 dump-table
  name='customers'
  continuation='yes'

See Also

ALTER-TABLE, CREATE-TABLE, DECLARE-TABLE, FILL-TABLE, PRINT-TABLE