The export file stores the structure for each table and field in this format:
#db SALESORD
#generation 0
#null !
#reldata name = "CUSTOMER" number = 4107 flags = 8496 ,
read = 0 write = 0 last_change = 0
#language 0
________________
Customer
________________
#language 1
________________
Kunde
________________
#field_descr name = "CUSTOMER_NUMBER" number = 4108 ,
type = N length = 5 occurs = 1 ,
read = 0 write = 0 format = 0 ,
iotype = N ,
precision = 0 scale = 0 ,
low = "0 " ,
high = "99999 "
#relfield name = "CUSTOMER_NUMBER" number = 4108 ,
key = 1 sequence = 5
The indexes between tables are stored at the end of the export file, in this format:
#pc_record child = "REGION" child_nr = 4104 ,
parent = "INDEX_CUST_NAME" parent_nr = 4127 ,
flags = 3328
#pc_record child = "CUSTOMER" child_nr = 4107 ,
parent = "REGION" parent_nr = 4104 ,
flags = 2309
If you answered 'Yes' to the question 'Include instruction to delete tables not in extract from target', DP4 puts the line #all_tables to the export file. This line specifies that tables on the target database that are not on the source database are to be deleted:
#db SALESORD
#generation 0
#null !
#all_tables