The ACTION specifier indicates the allowed I/O operations for the file connection. It takes the following form:
'READ' | Indicates that only READ statements can refer to this connection. |
'WRITE' | Indicates that only WRITE, DELETE, and ENDFILE statements can refer to this connection. |
'READWRITE' | Indicates that READ, WRITE, DELETE, and ENDFILE statements can refer to this connection. |
The default is 'READWRITE'.