Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

DISPLAY.LIKE clause

Displays DICT entry as column heading.

Synopsis

dict DISPLAY.LIKE dict

Description

The DISPLAY.LIKE and DISPLAYLIKE keywords are synonyms.

The DISPLAY.LIKE clause replaces the default column heading with a synonym defined as the corresponding DICT element in the DICT file. The specified DICT elements are case-sensitive, and are not enclosed in quote characters.

DISPLAY.LIKE displays a defined DICT element as the column heading. DISPLAY.NAME displays a user-specified name as the column heading.

Examples

The following example first shows how the F1 field is returned without DISPLAY.LIKE and then with a DISPLAY.LIKE clause:

LIST VOC F1 WITH @ID LIKE Q...
LIST VOC F1 DISPLAY.LIKE TYPE WITH @ID LIKE Q...
Copy code to clipboard
VOC......... F1.............
 
Q            V
QSELECT      V
QUIT         V
 
3 Items listed.
VOC......... Typ
 
Q            V
QSELECT      V
QUIT         V
 
3 Items listed.