Table 11–1: Replication 4GL Elements
Element Name
|
Type
|
Description
|
RAW
|
data type
|
Contains the database record to be replicated.
|
RAW–TRANSFER
|
statement
|
Copies a database record buffer to a field whose data type is RAW, or copies a RAW field to a buffer.
|
REPLICATION–CREATE
|
trigger
|
Executes when a record is created.
|
REPLICATION–DELETE
|
trigger
|
Executes when a record is deleted.
|
REPLICATION–WRITE
|
trigger
|
Executes when a record is written to the database.
|
DISABLE TRIGGERS FOR LOAD
|
statement
|
Disables triggers before loading records from one database to another.
|
ALLOW–REPLICATION
|
phrase
|
Option for the DISABLE TRIGGERS FOR LOAD statement. It allows replication to occur.
|
DBTASKID
|
function
|
Takes a logical database name (or alias) and returns a unique identifier for the database identifying a transaction.
|