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

Note: Other formats of this statement are available. See Statements in the COBOL Language Reference.