Statements used in manipulating file contents must be appropriate to the mode in which the file was opened. This error has the following causes and solutions:
Put and Get can only refer to files opened for Random or Binary access.
Use a different statement to place data in the file or reopen the file in an appropriate mode.
Use a different statement to place data in the file or reopen the file in Input mode.
Change the read/write status of the file or don't try to write to it.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).