Statement: Transfers input data.
Syntax
The ACCEPT statement is the same as a formatted, sequential READ statement, except that an ACCEPT statement must never be connected to user-specified I/O units. You can override this restriction by using an environment variable.
See Also
Building Applications: Logical Devices
Example
In the following example, character data is read from the implicit unit and binary values are assigned to each of the five elements of array CHARAR:
CHARACTER*10 CHARAR(5)
ACCEPT 200, CHARAR
200 FORMAT (5A10)