Syntax
<condition> ::= <
simple_condition> | (<condition>)Use
This is a
syntax rule for describing tables.The Replication Manager distinguishes between simple conditions and compound conditions. Simple conditions can be negated with
NOT, combined with AND and OR to form compound conditions, or encapsulated as required.Operators in parentheses are evaluated before those that are not in parentheses.
If no operators are in parentheses, the Replication Manager weights them as follows:
Only those records to which the simple or compound condition applies are loaded.
You want to load those data records from the source file
DATALOAD TABLE hotel
IF POS 41-44 REAL < '400,00'
AND
POS 27-36 = 'BERLIN'
hno 01-04 INTEGER
name 09-18
zip 20-25 DECIMAL
place 27-36
price 41-44 REAL
INFILE 'hotel.data' FORMATTED