READ LINE - result
... [LINE VALUE INTO wa]
[FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...].
Specification of target fields for
... LINE VALUE INTO wa
LINE VALUE assigns the formatted content of the complete list row in the list buffer to the data object
... FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...
FIELD VALUE assigns the output areas of single data objects
dobj1 dobj2... that have been output to the list buffer to these data objects,
or -if specified- to the data objects
wa1 wa2 .... For
wa1 wa2 ..., data objects are expected that have a data type covered by
the generic type
The list row or data objects
dobj1 dobj2 ... are treated as if they have data type
c, and trailing blanks are ignored.
With data objects
dobj1 dobj2... of the same name that are output multiple
times to a row, only the first one is read. If a data object
dobj1 dobj2 ... is not found at all, the specification is ignored.
If the output area of a data object that was addressed in the WRITE statement via a field symbol is to be read, and the same data object is no longer assigned to the field symbol, the name of the data object and not the name of the field symbol must be specified.
- No conversion routine is executed when an output area is read.
The content of the row or of single output areas is character-like and formatted according to the rules
WRITE-statement. When the read row or area is assigned to a data object, the conversion rules for a source field of type
capply. This can lead to incompatibilities with the target fields
dobj1 dobj2 ...and
wa1 wa2 ..., especially if these are numeric and the output contains separators. The use of
READ LINEis therefore mainly recommended for analyzing input-ready fields, whereas for other analyses, you can save values type-related with