IMPORT - obs_id
... MAJOR-ID id1 [MINOR-ID id2] ... .
Outside of classes, you can replace the
ID addition in the
DATABASE statement with these additions when importing database tables. When you specify
id2, the same rules apply as for
The data cluster with
an ID in which the first part matches the value of
id1 is imported. If
MINOR-ID id2 is also specified, the data cluster with an ID in which the second part (in the
positions after the number of characters specified in
id1) is larger or equal
to the value of
id2 is imported. The search ends once the first matching ID is found.
id2, it is important to note that this data object must contain either only digits or only letters, because mixed forms can lead to differing search results (depending on the platform).
The use of
MINOR-IDis obsolete because the specified ID is not unique. The required ID can be generated by a program instead.
If a data cluster was exported with the ID "Sausage", this record is found if "Sau" is specified as
MAJOR-ID. It is also found if you additionally specify "ab" as
MINOR-ID, but is not found if you specify "yz" as