ISQL and Tools

Figure 4-1: dbload Execution Process

Commands file

dbload

Log file

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data files

Bad file

c-treeSQL Engine

c-tree Plus

Database

4.2PREREQUISITES FOR DBLOAD

Before running dbload, you need:

A valid, readable commands file

INSERT privileges on the tables named in the commands file

4.3DBLOAD COMMAND LINE SYNTAX

The dbload command does not directly specify an input file, but instead names a commands file that in turn specifies data input files. The dbload command accepts the commands file name, the database name, and a list of command options.

Syntax

dbload -f commands_file [options] database_name

Options

-f commands_file

Specifies the file containing dbload commands.

4-2

FairCom Corporation

Page 72
Image 72
HP c-tree-SQL ISQL and Tools Prerequisites for Dbload, Dbload Command Line Syntax, Options, TreeSQL Engine, Commandsfile