A REWRITE statement with the INTO or SET option ran without a preceding READ statement. The ONCODE associated with this message is 1012.
The ERROR condition is raised.
Modify the program so that the REWRITE statement is either preceded by a READ statement or replaced by a WRITE statement.
IBM0PC