cobol DISPLAY statement


The DISPLAY statement causes data to be transferred to hardware or software of the operating environment. DISPLAY comes in two forms, UPON device or for display of SCREEN data. Environment variables can also be set with DISPLAY UPON in some implementations of COBOL, along with other extensions for data transfer of graphics or other device specific needs.

DISPLAY statement syntax diagram