IBM Extension
IBM Extension
Format 8 - Session I/O
The ACCEPT statement retrieves information from the ILE common session manager.
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:
- USAGE IS DISPLAY format. The data is not converted.
- USAGE IS DISPLAY-1 format. The shift-out and shift-in characters that surround the data are stripped off.
- USAGE IS NATIONAL format, The data is converted from the code set specified by the job's current CCSID.
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
