ACCEPT Statement (.NET COBOL)

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

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