Figure 24 shows how to specify the COLHDG keyword for a physical file.
Figure 24. Specifying the COLHDG Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00150A ORDDAT 5 0 COLHDG('Order' 'Date') 00160A NAME 20 COLHDG('Customer''s Name') 00170A CITY 20 COLHDG('Customer' 'City' 'Field') A
Decimal positions or data type must be specified for ORDDAT since Order Date is a numeric field (denoted by NNNNN below).
The following display illustrates how the column headings can appear when running text management, query, DFU, or SDA.
+--------------------------------------------------------------------------------+ |Customer | |Order City | |Date Customer's Name Field | |NNNNN XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX | +--------------------------------------------------------------------------------+
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.