# INQUIRE: ACCESS Specifier

The ACCESS specifier asks how a file is connected. It takes the following form:

ACCESS = acc

acc | Is a scalar default character variable that is assigned one of the following values:
'SEQUENTIAL' | If the file is connected for sequential access
'STREAM' | If the file is connected for stream access
'DIRECT' | If the file is connected for direct access
'UNDEFINED' | If the file is not connected

Parent topic: INQUIRE Statement Specifiers