Syntax diagram for import data.

import database DBS-NAME 
 [using max_threads INTEGER] 
 data
 {
  from 
   [!local!|server] 
   [!text!|excel|lotus_2|lotus_3|lotus_4] 
   data_file IMP-FILE 
   [using [!local!|server] rules_file IMP-FILE]
  |from data_string STRING
  |connect as SQL-USR identified by SQL-PASS 
   using [!local!|server] rules_file IMP-FILE
 } 
 on error {{write|append}to FILE-NAME|abort}