IBM Extension
IBM Extension

CONSOLE Clause

If CONSOLE IS CRT is specified, any ACCEPT or DISPLAY statement that has no phrases specific to a particular format (such as LOCAL-DATA or PIP-DATA), is treated as an extended ACCEPT or DISPLAY statement.

Similarly, if CONSOLE IS DISPLAY is specified, any ACCEPT or DISPLAY statement that has no phrases specific to a particular format is treated as a request to the dynamic screen manager session services APIs. For information on these APIs, see the CL and APIs section of the Programming category in the IBM® i Information Center at this Web site - http://www.ibm.com/systems/i/infocenter/.

Read syntax diagramSkip visual syntax diagram
CONSOLE Clause - Format

           (1)                        
>>-CONSOLE------+----+--+-CRT-----+----------------------------><
                '-IS-'  '-DISPLAY-'   

Notes:
  1. IBM Extension

If no CONSOLE IS clause is specified, any ACCEPT or DISPLAY statement that has no phrases specific to a particular format is treated as a standard ANSI COBOL ACCEPT or DISPLAY statement.

See the Extended ACCEPT and Extended DISPLAY Considerations and the Format 3 – Extended DISPLAY Statement for descriptions of the conditions which determine whether ACCEPT or DISPLAY statements are extended or standard.

End of IBM Extension
End of IBM Extension