table_spec 

Syntax

<table_spec> ::= <table_name> <if_condition>

Use

This is a syntax rule for describing tables.

Use this rule in a DATALOAD command to specify the name(s) and contents of the target table(s).

It also applies to loading a table in the FASTLOAD command. However, data can only be loaded to one table with one FASTLOAD command.

You want to load those data records in the address.data source file that begin with the letter 'k'to the target table with the name customer and all those data records that begin with the letter 'p' to the target table with the name partner:

DATALOAD TABLE customer     IF POS 1 = 'k'
  cno         2
  surname     3
  zip         5
  place       6
DATALOAD TABLE partner   IF POS 1 = 'p'
  cno         2
  surname     3
  zip         5
  place       6
INFILE 'address.data'