Model Templates : Properties : Properties Segment Section : Generating the Entry Heading

Generating the Entry Heading

Each data-item entry in the properties is marked by a heading that writes the words “DATA-ITEM:” followed by the name of the data-item for which the entry is made. The function stm_r_di_name extracts the name for the data-item represented by di. The name of the data-item entry is represented by the variable di_name.

To produce the entry heading, use a WRITE statement (preceded by a comment):

-- write entry heading
WRITE (’\n\n\n DATA-ITEM: ’, di_name);