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 functionstm_r_di_name
extracts the name for the data-item represented bydi
. The name of the data-item entry is represented by the variabledi_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);