IBM Extension

Format 8 - Session I/O

The ACCEPT statement retrieves information from the ILE common session manager.

Read syntax diagramSkip visual syntax diagram
ACCEPT Statement - Format 8 - Session I/O

>>-ACCEPT--identifier-1--+-------------------+------------------>
                         '-FROM----DISPLAY---'   

>--+------------+----------------------------------------------><
   '-END-ACCEPT-'   

If the description of identifier-1 contains a TYPE clause, the type-name referenced in that clause must be elementary.

For this format of the ACCEPT statement the FROM phrase is optional if the CONSOLE IS DISPLAY clause is specified in the SPECIAL-NAMES paragraph.

Format 8 transfers data from the ILE common session manager into identifier-1. The incoming data is received in one of the following formats:

The ILE common session manager is used to manage the ACCEPT statement. For further information on the screen I/O session services, refer to the "Dynamic Screen Manager" section in 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/.

End of IBM Extension