You specified an invalid syntax for the write command.
Check the Ex Commands subsection for a description of the write command and its syntax.