I'm trying to suppress the message End-of-data encountered, which is produced by the FETCH statement when the end of the cursor has been reached. I want to do this while leaving the general ERROR MESSAGE setting turned on. By checking the error codes, I have determined that this message is #406, but even when I issue SET ERROR MESSAGE 406 OFF, the message is still printed.
Any suggestions? -- Larry
