The following example shows how to set up a record so that when
the DISPLACEMENT field is displayed, a column header of WEIGHT is
used:
06 DISPLACEMENT PIC 99999
QUERY_HEADER IS "WEIGHT"
EDIT_STRING IS ZZ,ZZ9
QUERY_NAME IS DISP.
DEC DATATRIEVE prints the column header as follows:
WEIGHT
The following example shows how to set up a record so that when
the LENGTH_OVER_ALL field is printed, a column header of LENGTH
(IN FEET) is printed on two separate lines:
06 LENGTH_OVER_ALL PIC XXX
QUERY_HEADER IS "LENGTH" /"(IN FEET)".
DEC DATATRIEVE prints the column header as follows:
LENGTH (IN FEET)
The following example shows how to set up a record so that when
the LENGTH_OVER_ALL field is printed, a column header of Length
Over All ("LOA") is printed on two separate lines:
06 LENGTH_OVER_ALL PIC XXX
QUERY_HEADER IS "Length Over All"/"(""LOA"")".
DEC DATATRIEVE prints the column header as follows:
Length Over All
("LOA")
The following example shows how to set up a record so that when
the LENGTH_OVER_ALL field is printed, a 3-line column header is
printed with one letter per line:
06 LENGTH_OVER_ALL PIC XXX
QUERY_HEADER IS "L"/"O"/"A".
DEC DATATRIEVE prints the column header as follows:
L
O
A