At 08:12 AM 12/16/2016, 'Lawrence Lustig' via RBASE-L wrote:

I'm doing

SET MESSAGE OFF
SET ERROR MESSAGE ON
SET STATICDB ON

CONN MyDatabase

And I see the message Database Schema is Read-Only. This does not
appear to have an error message number associated with it. I've
also tried SET ERROR VARIABLE and spying on that variable in the
debugger, it appears to remain at 0.

How can I suppress the Database Schema is Read-Only message while
have SET ERROR MESSAGE ON for other error messages?


Use the SET ERROR MESSAGE 2495 OFF.

Here's how ...

-- Example

   DISCONNECT
   SET STATICDB ON
   SET FASTLOCK ON
   SET QUALCOLS 2
   SET MESSAGES OFF
   SET ERROR MESSAGES OFF
   SET ERROR MESSAGE 2495 OFF
   CONNECT dbname IDENTIFIED BY ownername
   SET ERROR MESSAGE 2495 ON
   SET MESSAGES ON
   SET ERROR MESSAGES ON

Very Best R:egards,

Razzak


--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to