Illegal or illogical access (ERR=136)
The requested access is impossible because:
o The attempted record operation and the ACCESS clause in the OPEN
statement are incompatible.
o The ACCESS clause is inconsistent with the file organization.
o ACCESS READ or APPEND was specified when the file was created.
Change the ACCESS clause.