Cobol Accept

COBOL Accept

>ACCEPT Statement in COBOL
The ACCEPT statement in COBOL can be used for low volume input from a specified device. The ACCEPT statement in COBOL has three general formats.
>COBOL ACCEPT Verb
The COBOL ACCEPT and DISPLAY verbs are used to read from the keyboard and write to the screen. Simple examples using the COBOL ACCEPT and DISPLAY verbs are shown.
>COBOL ACCEPT Statement
The COBOL ACCEPT statement transfers data into the specified identifier. There is no editing or error checking of the incoming data. The COBOL ACCEPT statement has seven formats.
>COBOL ACCEPT Statement
The COBOL ACCEPT statement is described as it is presented in the Compaq COBOL User Manual. The COBOL ACCEPT statement (Formats 3, 4, and 5) are described.