Skip to main content

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...
VOC......... F1.............
 
Q            V
QSELECT      V
QUIT         V
 
3 Items listed.
VOC......... Typ
 
Q            V
QSELECT      V
QUIT         V
 
3 Items listed.
FeedbackOpens in a new tab