The symbolic input map
The first part of the structure, under the label QUPMAPI, is new. This is the symbolic input map, the structure required for reading data from a screen formatted with map QUPMAP.
- L
- the length of the input in the map field.
- F
- the flag byte, which indicates whether the operator erased the field and whether the cursor was located there.
- I
- the input data itself.
BMS uses dummy fields to leave space in one part of the structure for subfields that do not occur in the other part. For example, there is always a 2-byte filler in the output map to correspond to the length (L) subfield in the input map, even in output-only maps. If there are output subfields for extended attributes, such as color or highlighting, BMS generates dummy fields in the input map to match them. You can see examples of these fields (FILLERs in COBOL) in both Figure 1 and Figure 4.
The correspondence of fields in the input and output map structures is very convenient for processes in which you use a map for input and then write back in the same format, as you do in data entry transactions or when you get erroneous input and have to request a correction from the operator.