ACCEPT Statement

Takes data keyed at the console or supplied by the operating system and makes it available to the program in a specified data item.

accept-statement

GUID-195508FF-C1B8-4D12-BE95-FCEF9C31F694-low.png
Note: Other formats of this statement are available. See Statements in the COBOL Language Reference.