General Syntax Rules for Command Files 

Upper- and Lowercase Characters

A distinction is not made between upper- and lowercase characters. The Replication Manager converts all names to uppercase characters internally, unless you place character strings in double quotation marks.

Comments

Comments in the command file are initiated by a slash at the start of the line. The entire line is then ignored when the command file is processed by the REPM Server.

Keywords

Both the keywords of the Replication Manager and SQL keywords can be used to denote database objects if they are placed in single or double quotation marks.

Delimiters Between Commands

Individual commands in a command file are separated by means of a blank line or comment line.

CREATE TABLE customer
(cno       FIXED(4)
    CONSTRAINT cno BETWEEN 1 AND 9999   KEY,
 title    CHAR(7)
    CONSTRAINT title IN ('Mr', 'Ms', 'Company'),
 first name   CHAR(10),
 surname  CHAR(10)  NOT NULL,
 zip       CHAR (5)  CONSTRAINT
    SUBSTR(plz_dom,1,5) LIKE '(0-9)(0-9)(0-9)(0-9)(0-9)',
 address   CHAR (25)  NOT NULL)
/
FASTLOAD TABLE customer
  cno           1
  surname       2
  zip           3
  city          4
INFILE 'customer.data'
/
CREATE INDEX customer_index ON customer (surname)
/
DATAEXTRACT cno, surname, zip, city from customer
OUTFIELDS
  cno          1
  surname      2
  zip          3
  city         4
OUTFILE 'newcustomer.data'